Warning: count(): Parameter must be an array or an object that implements Countable in /homepages/29/d327710490/htdocs/wp_fixed_circular_nav/wp-content/plugins/dw-question-answer/inc/Status.php on line 247
class="post-495 dwqa-question type-dwqa-question status-publish hentry dwqa-question_category-technical dwqa-question_tag-array dwqa-question_tag-error dwqa-question_tag-line dwqa-question_tag-wordpress">

I am recieving an error via array and line code

Question & AnswersCategory: TechnicalI am recieving an error via array and line code
Ray Embry asked 8 years ago

The error looks like this..
Warning: array_map() [function.array-map]: Argument #2 should be an array in /home/content/47/10334847/html/wp-content/plugins/fixed-circular-navigation-menu/public/class-circular-nav.php on line 312

Warning: array_intersect() [function.array-intersect]: Argument #2 is not an array in /home/content/47/10334847/html/wp-content/plugins/fixed-circular-navigation-menu/public/class-circular-nav.php on line 313

1 Answers
quique Staff answered 8 years ago

Hi Ray,

This error usually has to do with allowed user roles settings not being stored correctly. In the full version of the plugin you can set up which user roles are allowed to see or not the circular navigation. Some users have reported that when upgrading to the full version the user roles array is not correctly initialized with some defaults values. Please, can you check in the options panel, under the “display” section, if there are some user roles allowed to view the circular nav?

Our guess is there are no user roles allowed at the moment. Just simply activate the ones you need or all of them and click save changes again. After that the plugin should be working correctly.

If that does not help, we will go on finding out what could be happening.
Best wishes