• Resolved keengamer

    (@keengamer)


    Hello,

    I get this error below. We have moved to another server from php 7.4 to 8.2. The problem is with the product reviews. If I disable them, it’s fine. And, there is no %1$S in the php file. So I have no idea where the bug is…

    2024/02/05 20:38:41 [error] 1611988#1611988: *388641 FastCGI sent in stderr: “PHP message: PHP Fatal error:  Uncaught ValueError: Unknown format specifier “S” in ……/wp-content/plugins/woocommerce/templates/single-product-reviews.php:120

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Shameem (woo-hc)

    (@shameemreza)

    Hi @keengamer,

    I tried replicating the error with PHP 8.2, but I couldn’t.

    Can you give it a try by downgrading your PHP to 8.1.27 and see if the error still persists?

    In the meantime, you can run a conflict test to help you identify the cause of the issue. More info: https://woo.com/document/how-to-test-for-conflicts/

    Let us know how that goes for you.

    Thread Starter keengamer

    (@keengamer)

    We can’t easily downgrade, we just migrated to a new server and we have there just 7.4 and 8.2. For 7.4 it worked well so I think there must be some issue with the database, maybe some conflicts. But right now we cannot really test it with all the plugins we have. Right now we just deactivated the reviews…

    Plugin Author Barry

    (@barryhughes-1)

    Hi @keengamer,

    The relevant string is translatable—so it’s possible it has been modified from the original. What language are you using?

    If you are operating with US English (default), it could still be the result of something like a plugin that helps you to customize or modify strings of text.

    Thread Starter keengamer

    (@keengamer)

    Yes, that was it. There was a mistake in the Czech translation. Thanks!

    Plugin Support Shameem (woo-hc)

    (@shameemreza)

    Hi @keengamer,

    That’s great to hear! Thanks for letting us know.

    Should you have further inquiries, kindly create a new topic here.

    Meanwhile, if it isn’t too much to ask for – would you mind leaving us a review here?

    It only takes a couple of minutes but helps us tremendously. It would mean so much to us and would go a really long way.

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.