Home › Forums › WoodMart support forum › Rating summary problems with php 8 or above
Rating summary problems with php 8 or above
- This topic has 7 replies, 2 voices, and was last updated 10 months ago by Luke Nielsen.
-
AuthorPosts
-
December 7, 2023 at 6:26 pm #519547
av_admin_1984ParticipantHello
I have 2 issue
1-woocommerce show zero comment and this is woocommerce bug but I need fix it, do you have any experience?
2-on php 8 or 8.1 when the comment section show Rating summary , I got this error image in private section.
image taken with query monitorthis is it:
Uncaught Error: round(): Argument #1 ($num) must be of type int|float, string given
wp-content/themes/woodmart/inc/integrations/woocommerce/modules/product-reviews/class-rating-summary.php:88
I disabled the Rating summary in them option for now
December 11, 2023 at 10:25 am #520249
Luke NielsenKeymasterHello,
Please accept my apologies for the delay.
1. Try to do troubleshooting from this article: https://kinsta.com/knowledgebase/there-has-been-a-critical-error-on-your-website/
2. On the site that you sent me before, I see that this option is enabled https://take.ms/W9mOa , but I cannot find such an error message, could you please explain how can I replicate it on my side?
Let me know if you have any questions.
Kind Regards
December 11, 2023 at 10:46 am #520273
av_admin_1984ParticipantHello Luke,
Thanks for reaching out
1-Yes I did, but the problem persist and at night I must run some test again and will be in touch.
2-The site you have access to is a subdomain, not the main domain, and in cpanel, I created a separated domain for that, so you have access to cpanel too,
In the main domain, I migrated the site from PHP 7.4 to 8.1 and the issue came up!
I can’t give you access to the main domain right now because that is a live site and has many customersBut we can run it on the subdomain you have access and we can change the PHP version to 8.1 and with query monitor we can see the problem, you can now test it
December 11, 2023 at 6:27 pm #520577
Luke NielsenKeymasterHello,
1. Okay, understood.
2. Checked now, and with the query monitor I do not see that message as you sent on the screenshot.
Please let me know if I missed something.
Kind Regards
December 11, 2023 at 9:12 pm #520616
av_admin_1984ParticipantHello Luke,
1. I will test it and tell you tomorrow
2. Please cheek the private area and you will see that,
2-on php 8 or 8.1 When the comment section shows the Rating summary, I got this error image in the private section.
image taken with query monitorThanks
December 13, 2023 at 6:15 pm #521357
Luke NielsenKeymasterHello,
Sorry for the delay.
For now, I can see only these issues in the Query monitor on the product page: https://monosnap.com/file/BQidlChyhZsXTclNDZ50MU2lm44FuU
Let me know if you have sorted it out or If I missed something.
Kind Regards
- This reply was modified 1 year ago by Luke Nielsen.
February 10, 2024 at 1:27 pm #538672
av_admin_1984ParticipantPlease close this topic
February 12, 2024 at 11:37 am #538970
Luke NielsenKeymasterHello,
If you have any more questions or need further assistance, please let me know. I’m always happy to assist you.
Kind Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register