Black Friday & Cyber Monday Hunting Sales with JoomDonation by using coupon code BLACKFRIDAY2024 to get 20% Off (Until 03 Dec 2024)
Deprecated: Automatic conversion of false to array is deprecated
- Giang Dinh Truong
- Offline
- Administrator
Less
More
1 year 1 month 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: 223
- Thank you received: 3
1 year 1 month 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: 223
- Thank you received: 3
1 year 1 month 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 1 month 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: 223
- Thank you received: 3
1 year 1 month 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 1 week 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: 223
- Thank you received: 3
1 year 6 days 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 days 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
10 months 2 weeks 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
10 months 2 weeks 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 © 2024 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.