Fatal error on edit ?

g.montigny.altimate's picture
g.montigny.altimate
Mon, 07/22/2013 - 11:09
#1
Fatal error on edit ?

Hey,

I just installed the Mega menu module and i get this error when i try to create/edit a menu :
Fatal error: Unsupported operand types in /home/drupal7/includes/form.inc on line 1759

Help please,
Gregory

g.montigny.altimate's picture
g.montigny.altimate
Tue, 07/23/2013 - 04:25

So... I haven't solved the problem but i tried to look where the error come from.
So far, the error seems to come from the ligne 1297 in md_megamenu.admin.inc :
$data = drupal_get_form('edit_menu', $mid);

I stop here because i don't know where to find the edit_menu form.

Still need help please,
Gregory

g.montigny.altimate's picture
g.montigny.altimate
Thu, 07/25/2013 - 12:18

Once again, i tried some things ...

It appears that if i change this line :
$data = drupal_get_form('edit_menu', $mid);
to this
$data = drupal_get_form('md_megamenu_edit_links_form', $mid);
the page doesn't bring a fatal error anymore and i see the admin interface.

That is to say that this function doesn't do its job :
/**
* implements hook_forms()
*/
function md_megamenu_forms($form_id, $args)
{
$forms['edit_menu'] = array(
'callback' => 'md_megamenu_edit_links_form',
);

$forms['configure_menu'] = array(
'callback' => 'md_megamenu_configure_form',
);

return $forms;
}

BUT i can't do anything because the regions where i'm supposed to drop things are not accessible.

Do somebody is here to help or will i debug this myself ?
In that case, why is there a support in the first place ?

I'm really close to cancel my buy ...

g.montigny.altimate's picture
g.montigny.altimate
Thu, 07/25/2013 - 12:25

In fact, i can't do anything because all the pop windows appears behind the half-transparent grey background.

g.montigny.altimate's picture
g.montigny.altimate
Fri, 07/26/2013 - 05:14

The last issue was resolved by this post : http://megadrupal.com/forum/module-support/mega-menu/142
By the way, can the mega menu split a drupal menu in two column (or more) automatically ?

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.