Breaks after creating first mega menu

justin.nand's picture
justin.nand
Sat, 06/01/2013 - 07:17
#1
Breaks after creating first mega menu


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:

Error Trace


Satus Report:

Status Report

justin.nand's picture
justin.nand
Sat, 06/01/2013 - 14:40

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

Neo's picture
Neo
Mon, 06/03/2013 - 06:43

I'm checking and finding problems, will update soon.

justin.nand's picture
justin.nand
Mon, 06/10/2013 - 19:25

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')

Neo's picture
Neo
Wed, 06/12/2013 - 07:23

Fixed in version 1.12. Please download & update your module

Log in or register to post comments
Have More Idea?

We are here to build your website!

No Universal solution fits all special business requirements. Our experienced team is ready with ideas and state-of-the-art technical solutions to consult the best solution within your budget.