You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code on line 337 of /core/menu/megamenu.php needs to be changed from $width += $colw; to $width = $colw; (remove the +).
This code is part of a if-statement that first of all tests for !$width. The error is thrown because in PHP7.1, it seems that you can no longer do mathematical operations (addition, in this case via the +=) on a null variable. The + should not have been used in the code at all because the if-statement already has established that $width is undefined or 0.
The code on line 337 of /core/menu/megamenu.php needs to be changed from
$width += $colw;
to$width = $colw;
(remove the +).This code is part of a if-statement that first of all tests for
!$width
. The error is thrown because in PHP7.1, it seems that you can no longer do mathematical operations (addition, in this case via the +=) on a null variable. The + should not have been used in the code at all because the if-statement already has established that $width is undefined or 0.Linked Conversation
Conversation Subject:
Message:
No additional details provided
View Conversation
Linked Conversation
Conversation Subject: R: Problem with quix 5.2.2 on joomla 3
Message:
No additional details provided
View Conversation
The text was updated successfully, but these errors were encountered: