Title: PHP error on fallback
Last modified: August 21, 2016

---

# PHP error on fallback

 *  Resolved [joburn](https://wordpress.org/support/users/joburn/)
 * (@joburn)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/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 ticked
 * Any assistance would be greatly appreciated!
 * [http://wordpress.org/plugins/custom-menu-wizard/](http://wordpress.org/plugins/custom-menu-wizard/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [wizzud](https://wordpress.org/support/users/wizzud/)
 * (@wizzud)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/php-error-on-fallback/#post-4045370)
 * Yep, its a problem and I can reproduce it. Investigating, please bear with me…
 *  Plugin Author [wizzud](https://wordpress.org/support/users/wizzud/)
 * (@wizzud)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/php-error-on-fallback/#post-4045394)
 * Fixed in v1.2.2, and released. My sincere apologies.
 *  Thread Starter [joburn](https://wordpress.org/support/users/joburn/)
 * (@joburn)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/php-error-on-fallback/#post-4045493)
 * Terrific, thank you very much!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘PHP error on fallback’ is closed to new replies.

 * ![](https://ps.w.org/custom-menu-wizard/assets/icon-256x256.png?rev=1381901)
 * [Custom Menu Wizard Widget](https://wordpress.org/plugins/custom-menu-wizard/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/custom-menu-wizard/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/custom-menu-wizard/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-menu-wizard/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-menu-wizard/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-menu-wizard/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [joburn](https://wordpress.org/support/users/joburn/)
 * Last activity: [12 years, 9 months ago](https://wordpress.org/support/topic/php-error-on-fallback/#post-4045493)
 * Status: resolved