PHP error on fallback
-
I’m using v1.21 and WP 3.6. Whenever I open a menu item which has no children, instead of falling-back and displaying the parent menu, I get the following errors on the page:
Warning: array_pop() expects parameter 1 to be array, null given in /home/partnerafricaorg/www/www/wp-content/plugins/custom-menu-wizard/custom-menu-wizard.php on line 255
Warning: Attempt to modify property of non-object in /home/partnerafricaorg/www/www/wp-content/plugins/custom-menu-wizard/custom-menu-wizard.php on line 351
Warning: Attempt to modify property of non-object in /home/partnerafricaorg/www/www/wp-content/plugins/custom-menu-wizard/custom-menu-wizard.php on line 353
Warning: Attempt to modify property of non-object in /home/partnerafricaorg/www/www/wp-content/plugins/custom-menu-wizard/custom-menu-wizard.php on line 351
Warning: Attempt to modify property of non-object in /home/partnerafricaorg/www/www/wp-content/plugins/custom-menu-wizard/custom-menu-wizard.php on line 353
Warning: Attempt to modify property of non-object in /home/partnerafricaorg/www/www/wp-content/plugins/custom-menu-wizard/custom-menu-wizard.php on line 351
Warning: Attempt to modify property of non-object in /home/partnerafricaorg/www/www/wp-content/plugins/custom-menu-wizard/custom-menu-wizard.php on line 353
I have my menu set up as follows:
Children of: Current Item
Starting level: 1
Depth: 1
Fallbacks: all three options ticked
Output: Flat
Include parents, siblings, ancestors tickedAny assistance would be greatly appreciated!
- The topic ‘PHP error on fallback’ is closed to new replies.