PHP 7.2 Throws Warning Message in maximenuckmobile
- jimbrooking
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 23
- Thank you received: 1
7 years 1 month ago #46035
by jimbrooking
PHP 7.2 Throws Warning Message in maximenuckmobile was created by jimbrooking
I tried to set my PHP version to PHP 7.2 and the following warning message appears at the top of pages using MaxiMenuCK:
Thanks.
(DOCTYPE included to show message placement.)
<br />
<b>Warning</b>: count(): Parameter must be an array or an object that implements Countable in <b>/home/fearrin1/public_html/dev/plugins/system/maximenuckmobile/maximenuckmobile.php</b> on line <b>97</b><br />
<!DOCTYPE html>
Thanks.
Please Log in or Create an account to join the conversation.
7 years 1 month ago #46042
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic PHP 7.2 Throws Warning Message in maximenuckmobile
Hi
could you confirm the version of the maximenu mobile plugin that you have ?
CEd
could you confirm the version of the maximenu mobile plugin that you have ?
CEd
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
- jimbrooking
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 23
- Thank you received: 1
7 years 1 month ago #46061
by jimbrooking
Replied by jimbrooking on topic PHP 7.2 Throws Warning Message in maximenuckmobile
Hi
It's 2.0.17.
I see that 2.0.21 is available. Would that correct the problem?
Thanks.
It's 2.0.17.
I see that 2.0.21 is available. Would that correct the problem?
Thanks.
Please Log in or Create an account to join the conversation.
7 years 1 month ago #46063
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic PHP 7.2 Throws Warning Message in maximenuckmobile
I have checked, the code is similar but not on the same line.
please try to edit the file and replace
with
and tell me
please try to edit the file and replace
Code:
if (count($gfont_urls)) {
Code:
if ($gfont_urls && count($gfont_urls)) {
and tell me
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
- jimbrooking
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 23
- Thank you received: 1
7 years 1 month ago #46064
by jimbrooking
Replied by jimbrooking on topic PHP 7.2 Throws Warning Message in maximenuckmobile
Yes, that corrected the problem. If you incorporate that change, please let me know so I can update the plugin on my site.
Thanks!
Jim
Thanks!
Jim
Please Log in or Create an account to join the conversation.
7 years 1 month ago #46071
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic PHP 7.2 Throws Warning Message in maximenuckmobile
it is ok now, the 2.0.22 version fixes this
Joomlack Webmaster and Developer
The following user(s) said Thank You: jimbrooking
Please Log in or Create an account to join the conversation.
Time to create page: 0.215 seconds