• Resolved joburn

    (@joburn)


    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 ticked

    Any assistance would be greatly appreciated!

    https://www.ads-software.com/plugins/custom-menu-wizard/

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PHP error on fallback’ is closed to new replies.