PHP error

PHP error was created by ClaudioRomeo

Posted 5 years 7 months ago #49431
I've updated one website of mine, both Maximenu CK and PHP (7.2.9).
Now, on top of each page an double error message appears:
Notice: A non well formed numeric value encountered in /var/www/vhosts/unitapastoralemalo.it/httpdocs/modules/mod_maximenuck/helper.php on line 274
The same configuration works well on other sites, so I can't figure out what is the problem.
Can someone help me?
The website is unitapastoralemalo.it/

Counselor for better people in a better company

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

Replied by ced1870 on topic PHP error

Posted 5 years 7 months ago #49441
Hi
it seems that the problem here is related to the calculation of the submenu width, if you have created some columns
try to unpublish the parent items that have a submenu, the errors shall go away
if yes, then publish one by one, and see if all parent items are impacted, or just one or two and tell me
also check the values that you have set for the columns
CEd

Joomlack Webmaster and Developer

by ced1870

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

Replied by ClaudioRomeo on topic PHP error

Posted 5 years 7 months ago #49447
I checked my menu.
The Archivio item caused the problem.
Deeperly, the two errors messages were caused by the Avvisi settimanali and Libri subitems.
As you can see in the Maximenu Params CK attached image, these two subitems were the ones whose width field contained the px unit.
I changed from 145px to 145 and from 45px to 45 and everything went right. No errors any longer.
I thank you a lot: your guidelines were precise and clear.

Counselor for better people in a better company

Attachments:

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

Replied by ced1870 on topic PHP error

Posted 5 years 7 months ago #49448
great, thank you for the infos, I will use it to find a fix :)

Joomlack Webmaster and Developer

by ced1870

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

Time to create page: 0.630 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 1282 guests and one member online