Maxi Menu crashes when I go to Login Module

Maxi Menu crashes when I go to Login Module was created by mariom

Posted 11 years 10 months ago #3782
Hello,

I have placed a Maxi Menu on my main top horizontal (position-1 in beez5). One of the menu items has subcatagories and displays correctly. However when I go to the Login Module (forget password, register,etc) the maxi menu gives me the following error:


Warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/content/67/9128567/html/modules/mod_maximenuck/helper.php on line 144

Its repeats this warning 13 times, the number of menu elements and sub elements.

Any ideas?
Last Edit:11 years 10 months ago by mariom
Attachments:
Last edit: 11 years 10 months ago by mariom.

Please Log in or Create an account to join the conversation.

Replied by ced1870 on topic Re: Maxi Menu crashes when I go to Login Module

Posted 11 years 10 months ago #3783
Hi
tested by my side, no error. Which version of maximenu do you have? can you give me the line 144 in helper.php ?
Ced

Joomlack Webmaster and Developer

by ced1870

Please Log in or Create an account to join the conversation.

Replied by mariom on topic Re: Maxi Menu crashes when I go to Login Module

Posted 11 years 10 months ago #3785
Hi Ced,

The code on line 144 is:

|| in_array($item->id, $path)) {

And the full error on webpage when i go to login module is:

Warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/content/67/9128567/html/modules/mod_maximenuck/helper.php on line 144

The version is the latest posted on www.joomlack.fr

Thanks for your help in advance,

Mario
by mariom

Please Log in or Create an account to join the conversation.

Replied by ced1870 on topic Re: Maxi Menu crashes when I go to Login Module

Posted 11 years 10 months ago #3786
can you test with
Code:
|| (is_array($path) AND in_array($item->id, $path))) {
Ced

Joomlack Webmaster and Developer

by ced1870

Please Log in or Create an account to join the conversation.

Replied by mariom on topic Re: Maxi Menu crashes when I go to Login Module

Posted 11 years 10 months ago #3796
Solved.

Thank you very much and you have done a great job with this menu.

Mario
by mariom

Please Log in or Create an account to join the conversation.

Time to create page: 0.735 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 531 guests and one member online