Support Offline: Mon - Fri / 08:00am - 05:00pm (GMT +7)
Your Time: Our Time:

exclamation-circle Error after changing to PHP 7.2

More
6 years 2 months ago #21829 by BjarneSoeby
Hi.

I get an error message:

Warning: A non-numeric value encountered in /usr/www/users/altcamp/modules/mod_jux_megamenucss3/helper.php on line 747

when switching to php version 7.2

Please give me some guidance.

/Bjarne

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

More
6 years 2 months ago #21831 by HaiND
Hi BjarneSoeby
Thank you for contacting and choosing our product
About your problem, You can send information login back-end via email: This email address is being protected from spambots. You need JavaScript enabled to view it.
I will check it for you soon
Thanks

Best Regards
--HaiND--

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

More
6 years 2 months ago #21833 by BjarneSoeby
Email set - thanks :)

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

More
6 years 2 months ago #21834 by HaiND
Hi again
I fix it for you, please check again
Thanks

Best Regards
--HaiND--

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

More
6 years 2 months ago #21835 by BjarneSoeby
Hi,

It works... thank you so much.

Regards,
Bjarne

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

More
6 years 2 months ago #21836 by HaiND
Hi again
if still have problem, please contact us, pleased to assist you
Thanks

Best Regards
--HaiND--

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

More
6 years 1 month ago #22783 by Jereme
Can you please share what was changed to correct this? What's the point of an online forum if the solution is not posted?
The following user(s) said Thank You: AGab

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

More
6 years 1 month ago #22784 by Alexey
Warning: A non-numeric value encountered in modules\mod_jux_megamenu\helper.php on line 619 after changing PHP to 7.2
Please help

Best Regards
Alexey

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

More
6 years 1 month ago #22786 by AGab
You need to share your fixes so we won't have to take time sending the same info and waiting for an answer. Share how you fixed things. Its very very frustrating

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

More
6 years 1 month ago #22787 by HaiND
Hi again
I'm sorry but you are sure to have the same problem ?
I see two of you posting in two different lines so it's not the same problem, if it's the same problem I'll post on the forum but I think it's different so I fixed it for each one
1: with problem line 619
you can send information login back-end via email: This email address is being protected from spambots. You need JavaScript enabled to view it.
I will check it for you soon
2: with problem line 747
you can edit from line 737 to line 747

for ($col = 0; $col < $cols; $col++) {
$colw = $this->items[$pid]->megaparams->get('colw' . ($col + 1), 0);
if (!$colw)
$colw = $this->items[$pid]->megaparams->get('colw');
if (is_null($colw) || !is_numeric($colw))
$colw = $this->getParam('megacss3-colwidth', 200);
//$colw = 200;
if (is_null($colw) || !is_numeric($colw))
$colw = 200;
$width += $colw;
}

edit:

for ($col = 0; $col < $cols; $col++) {
$colw = $this->items[$pid]->megaparams->get('colw' . ($col + 1), 0);
if (!$colw){
$colw = $this->items[$pid]->megaparams->get('colw');
}
if (is_null($colw) || !is_numeric($colw)){
$colw = $this->getParam('megacss3-colwidth', 200);
}
//$colw = 200;
if (is_null($colw) || !is_numeric($colw)){
$colw = 200;
}
$width += $colw;
}

Hope it will help you
Thanks

Best Regards
--HaiND--

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

Moderators: Jackie
Time to create page: 0.104 seconds
Powered by Kunena Forum