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-310 dwqa-question type-dwqa-question status-publish hentry dwqa-question_category-technical">

Anybody have any idea what these mean?

Question & AnswersCategory: TechnicalAnybody have any idea what these mean?
Mark Stevens asked 8 years ago

Im new to coding and have just grasped the logical concepts, and Id say this is really basic for someone who knows it but its way over my head.. Activated the free version, worked fine, bought the pro version, uninstalled free, installed pro and I now have these two errors displaying on my site instead of the circular navigation menu:
Warning: array_map() [function.array-map]: Argument #2 should be an array in /var/sites/s/sharkeyforestryltd.co.uk/public_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 /var/sites/s/sharkeyforestryltd.co.uk/public_html/wp-content/plugins/fixed-circular-navigation-menu/public/class-circular-nav.php on line 313
anyone have any idea?
I went to the “class-circular-nav.php” file and copied the code into notepad++ so I could easily find lines 312 & 313, I uploaded a screenshot to¬†http://tinypic.com/r/a3135/8 so you can see it.
Thanks for your help!

1 Answers
quique Staff answered 8 years ago

Hello Mark,
Please, try first to fo to circular navigation administration panel and save options again. It seems at first glance that roles variable is empty.
It is my fault not to highlight better that when upgrading or updating the plugin, it is a neccesary step to go again and simply save options again in the admin panel. This is because there are new variables and options in pro version that do not exist in the free version and they need to be generated.
Tell me if that does the trick…