I can sucessfully install the megamenu module with all dependancies and navigate to the admin dashboard. Then I create a new menu leaving the settings at thier defaults. When I save the menu drupal errors with Call to undefined method stdClass::initialize()
and I can no longer acces the mega menu admin pages, node pages, or the module page... I have to reinstall drupal.
Please help.
Justin
Mega-Menu Version: 7.x-1.1 (Downloaded from account page on 6/1/2013)
Error Trace:
Satus Report:
Update:
Same error on Apache with PHP 5.3.1
Fatal error: Call to undefined method stdClass::initialize() in /drupal/sites/all/modules/md_megamenu/includes/md_megamenu.class.inc on line 154
I'm checking and finding problems, will update soon.
Checking in to see if anyone might know whats wrong or is experincing the same.
I believe the problem might be the braces around the table parameter of db_select, though, Im not sure if it serves some other purpose.
includes/md_megamenu.admin.inc:1509: $respone = db_select('md_megamenus', 'mdm')
includes/md_megamenu.class.inc:99: $results = db_select('{md_megamenus}', 'mmn')
includes/md_megamenu.class.inc:119: $results = db_select('{md_megamenus}', 'mmn')
includes/md_megamenu.class.inc:143: $results = db_select('{md_megamenus}', 'mmn')
includes/md_megamenu.class.inc:405: $results = db_select('{md_megamenu_tabs}', 'mgmt')
includes/md_megamenu.class.inc:429: $results = db_select('{md_megamenu_tabs}', 'mgmt')
includes/md_megamenu.class.inc:451: $result = db_select('{md_megamenu_tabs}', 'mgmt')
Fixed in version 1.12. Please download & update your module