Deprecated: Automatic conversion of false to array is deprecated
- Giang Dinh Truong
-
- Offline
- Administrator
-
Less
More
1 year 5 months ago #161645
by Giang Dinh Truong
Replied by Giang Dinh Truong on topic Deprecated: Automatic conversion of false to array is deprecated
Dear Wynand,
I am not sure this is issue from EShop or not. Please submit a new ticket to EShop category to send me the super admin account to your site so I can help you to check.
Sincerely, Giang
I am not sure this is issue from EShop or not. Please submit a new ticket to EShop category to send me the super admin account to your site so I can help you to check.
Sincerely, Giang
Please Log in or Create an account to join the conversation.
- Wynand Louw
-
Topic Author
- Offline
- Elite Member
-
Less
More
- Posts: 231
- Thank you received: 3
1 year 5 months ago #161712
by Wynand Louw
Replied by Wynand Louw on topic Deprecated: Automatic conversion of false to array is deprecated
Giang
Looking at the detail error log found the following showing php8.1.24 issue within the following file of Eshop:
PHP Deprecated: round(): Passing null to parameter #1 ($num) of type int | float is deprecated in /home/mysite/public_html/modules/mod_eshop_product/tmpl/default.php on line 179
line 178 to 180 have the following code
<p>
<img src="components/com_eshop/assets/images
/stars-<?php echo round(EshopHelper
::getProductRating($product->id)); ?>.png"
/>
</p>
Looking at the detail error log found the following showing php8.1.24 issue within the following file of Eshop:
PHP Deprecated: round(): Passing null to parameter #1 ($num) of type int | float is deprecated in /home/mysite/public_html/modules/mod_eshop_product/tmpl/default.php on line 179
line 178 to 180 have the following code
<p>
<img src="components/com_eshop/assets/images
/stars-<?php echo round(EshopHelper
::getProductRating($product->id)); ?>.png"
/>
</p>
Please Log in or Create an account to join the conversation.
- Wynand Louw
-
Topic Author
- Offline
- Elite Member
-
Less
More
- Posts: 231
- Thank you received: 3
1 year 5 months ago #161921
by Wynand Louw
Replied by Wynand Louw on topic Deprecated: Automatic conversion of false to array is deprecated
Any suggestions how to fix this?
Please Log in or Create an account to join the conversation.
- Giang Dinh Truong
-
- Offline
- Administrator
-
1 year 5 months ago #161956
by Giang Dinh Truong
Replied by Giang Dinh Truong on topic Deprecated: Automatic conversion of false to array is deprecated
Hello Wynand,
Please re-download the latest package of EShop from our site and update it again to your site, then the problem will be resolved.
I am sorry for this trouble.
Sincerely, Giang
Please re-download the latest package of EShop from our site and update it again to your site, then the problem will be resolved.
I am sorry for this trouble.
Sincerely, Giang
The following user(s) said Thank You: Wynand Louw
Please Log in or Create an account to join the conversation.
- Wynand Louw
-
Topic Author
- Offline
- Elite Member
-
Less
More
- Posts: 231
- Thank you received: 3
1 year 5 months ago #161961
by Wynand Louw
Replied by Wynand Louw on topic Deprecated: Automatic conversion of false to array is deprecated
Hi Giang
Redownloaded 3.8.0 but the issue is still the same error in the log.
Redownloaded 3.8.0 but the issue is still the same error in the log.
Please Log in or Create an account to join the conversation.
- Giang Dinh Truong
-
- Offline
- Administrator
-
1 year 4 months ago #162421
by Giang Dinh Truong
Replied by Giang Dinh Truong on topic Deprecated: Automatic conversion of false to array is deprecated
Dear Wynand,
That's strange. I fixed and updated it. Please contact with me via ticket system so I can help you to check.
Sincerely, Giang
That's strange. I fixed and updated it. Please contact with me via ticket system so I can help you to check.
Sincerely, Giang
The following user(s) said Thank You: Wynand Louw
Please Log in or Create an account to join the conversation.
- Wynand Louw
-
Topic Author
- Offline
- Elite Member
-
Less
More
- Posts: 231
- Thank you received: 3
1 year 4 months ago #162509
by Wynand Louw
Replied by Wynand Louw on topic Deprecated: Automatic conversion of false to array is deprecated
Thank you Giang for sorting it out.
Please Log in or Create an account to join the conversation.
- Giang Dinh Truong
-
- Offline
- Administrator
-
1 year 4 months ago #162555
by Giang Dinh Truong
Replied by Giang Dinh Truong on topic Deprecated: Automatic conversion of false to array is deprecated
OK no problem at all Wynand!
Sincerely, Giang
Sincerely, Giang
Please Log in or Create an account to join the conversation.
- Andrew
- Offline
- Junior Member
-
Less
More
- Posts: 37
- Thank you received: 0
1 year 2 months ago #163561
by Andrew
Replied by Andrew on topic Deprecated: Automatic conversion of false to array is deprecated
I have the same issue with a fresh install of 3.8.0 on PHP 8.1, what was the fix?
Please Log in or Create an account to join the conversation.
- Andrew
- Offline
- Junior Member
-
Less
More
- Posts: 37
- Thank you received: 0
1 year 2 months ago #163563
by Andrew
Replied by Andrew on topic Deprecated: Automatic conversion of false to array is deprecated
I can't try PHP 8.0 as it's a Joomla 5 site
Please Log in or Create an account to join the conversation.
Moderators: Giang Dinh Truong
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.