Undefined property: Joomla\CMS\Menu\MenuItem::$colwidth

More
3 years 3 weeks ago #62505 by ml44230
Hi Cédric
I get this message when installing MaximenuCK 9.1.21 on my website upgraded to Joomla 4.0.4 under Xampp :
Notice: Undefined property: Joomla\CMS\Menu\MenuItem::$colwidth in E:\xampp\htdocs\clos\components\com_maximenuck\helpers\source\menu.php on line 157

Any idea ?
Thanks for help
Best regards
Micchel

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

More
3 years 3 weeks ago #62508 by ced1870
Hi
thank you for reporting the problem
I will check it, until that you can disable the error report int he website configuration >> server >> php report
CEd

Joomlack Webmaster and Developer

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

More
3 years 3 weeks ago #62514 by ml44230
The problem does not exist in relrase 9.1.20
it appears when you upgrade to 9.1.21.
I fixed it by commenting line 157 in the file, but this is not of course the valid solution.
Best regards
Michel

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

More
3 years 3 weeks ago #62517 by ml44230
Hello Cédrik
It seems that the problem occurs when the text of the menu entry is displayed on 2 lines using the "||" to force a newline.
In that case it generates 2 error messages.
In the examle I sent you, there was only 1 entry mennu like this and 2 notice message.
I have another website in test where there are 6 entries text splitted on 2 lines and I receive 12 notice messages.
Hope that could help !
Best regards
Michel

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

More
3 years 3 weeks ago #62522 by ced1870
instead of using || , you shall better use the description field in the Source >> menu >> edition interface
please try that and tell me

Joomlack Webmaster and Developer

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

More
3 years 3 weeks ago #62527 by ml44230
I'm sorry, I could not find the file.
Could you plese give me the full path ?
I use the || separator because you told me to do that 4 years ago by mail, in order to reduce the length of the bar menu of my website
Best regards
Michel

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

Time to create page: 0.228 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 567 guests and no members online