Home Forums WoodMart support forum Rating summary problems with php 8 or above

Rating summary problems with php 8 or above

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #519547

    av_admin_1984
    Participant

    Hello

    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 monitor

    this 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

    #520249

    Luke Nielsen
    Keymaster

    Hello,

    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

    #520273

    av_admin_1984
    Participant

    Hello 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 customers

    But 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

    #520577

    Luke Nielsen
    Keymaster

    Hello,

    1. Okay, understood.

    2. Checked now, and with the query monitor I do not see that message as you sent on the screenshot.

    https://take.ms/7ScMv

    Please let me know if I missed something.

    Kind Regards

    #520616

    av_admin_1984
    Participant

    Hello 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 monitor

    Thanks

    #521357

    Luke Nielsen
    Keymaster

    Hello,

    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

    #538672

    av_admin_1984
    Participant

    Please close this topic

    #538970

    Luke Nielsen
    Keymaster

    Hello,

    If you have any more questions or need further assistance, please let me know. I’m always happy to assist you.

    Kind Regards

Viewing 8 posts - 1 through 8 (of 8 total)