Undefined property: Joomla\CMS\Menu\MenuItem::$colwidth
2 years 11 months ago #62505
by ml44230
Undefined property: Joomla\CMS\Menu\MenuItem::$colwidth was created 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
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.
2 years 11 months ago #62508
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Undefined property: Joomla\CMS\Menu\MenuItem::$colwidth
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
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.
2 years 11 months ago #62514
by ml44230
Replied by ml44230 on topic Undefined property: Joomla\CMS\Menu\MenuItem::$colwidth
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
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.
2 years 11 months ago #62517
by ml44230
Replied by ml44230 on topic Undefined property: Joomla\CMS\Menu\MenuItem::$colwidth
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
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.
2 years 11 months ago #62522
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Undefined property: Joomla\CMS\Menu\MenuItem::$colwidth
instead of using || , you shall better use the description field in the Source >> menu >> edition interface
please try that and tell me
please try that and tell me
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
2 years 11 months ago #62527
by ml44230
Replied by ml44230 on topic Undefined property: Joomla\CMS\Menu\MenuItem::$colwidth
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
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.214 seconds