Title: Receiving default empty object error
Last modified: August 24, 2016

---

# Receiving default empty object error

 *  Resolved [cukeving](https://wordpress.org/support/users/cukeving/)
 * (@cukeving)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/receiving-default-empty-object-error/)
 * Warning: Creating default object from empty value in /wp-content/plugins/nextend-
   accordion-menu/library/accordionmenu/treebase.php on line 96
 * Changing the lines of code in treebase.php as recommended on this page
    [http://www.nextendweb.com/wiki/accordion-menu-documentation/troubleshooting/](http://www.nextendweb.com/wiki/accordion-menu-documentation/troubleshooting/)
 * has not worked. Note that the error does not occur while logged in to WordPress.
 * [https://wordpress.org/plugins/nextend-accordion-menu/](https://wordpress.org/plugins/nextend-accordion-menu/)

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

 *  Plugin Author [Gabor](https://wordpress.org/support/users/nextendweb_gabor/)
 * (@nextendweb_gabor)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/receiving-default-empty-object-error/#post-6151289)
 * Hi! This is only a warning, because of higher server error reporting, so you 
   could just make it disappear with a @ sign too, that at line 96.:
    `$this->allItems[
   $s]->active = true;` put the @ sign in front of the code: `@$this->allItems[$
   s]->active = true;`
 *  Thread Starter [cukeving](https://wordpress.org/support/users/cukeving/)
 * (@cukeving)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/receiving-default-empty-object-error/#post-6151336)
 * Just to update everyone – the problem was being caused by the Minify JavaScript
   function of W3 Total Cache. As soon as I turned of minifying of the JS files 
   everything started working properly without changing the code.

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

The topic ‘Receiving default empty object error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/nextend-accordion-menu_ab9186.svg)
 * [Nextend Accordion Menu](https://wordpress.org/plugins/nextend-accordion-menu/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/nextend-accordion-menu/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/nextend-accordion-menu/)
 * [Active Topics](https://wordpress.org/support/plugin/nextend-accordion-menu/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nextend-accordion-menu/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nextend-accordion-menu/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [cukeving](https://wordpress.org/support/users/cukeving/)
 * Last activity: [10 years, 12 months ago](https://wordpress.org/support/topic/receiving-default-empty-object-error/#post-6151336)
 * Status: resolved