• Resolved dosimo

    (@dosimo)


    Since upgrading to php8 I got the following Error after registration of a new user:

    PHP Fatal error:  Uncaught ValueError: Unknown format specifier "S" in /var/www/myproject/wp-content/plugins/profile-builder/front-end/class-formbuilder.php:362

    After some research, I found out, it is some php8 related problem. Could you fix this soon and update the plugin to be compatible to php8?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Support madalinaruzsa

    (@madalinaruzsa)

    Hi @dosimo,

    This fatal error is caused by a wrong translation. Could you please let me know what language do you use on your website?

    Thread Starter dosimo

    (@dosimo)

    I am using WordPress in German (DE-de)

    Plugin Support madalinaruzsa

    (@madalinaruzsa)

    Hi @dosimo,

    Can you please check if you have modified the following string “The account %1s has been successfully created!” ?

    NOTE: Above you see the following: %1s make sure that in your translation for german, this will be exactly like that (it will stay the same), lowercase, the number existing, and the percent sign ( %1s ).

    Thread Starter dosimo

    (@dosimo)

    I haven’t modified anything. could it solve the problem, by updating the translation-files in wordpress?

    Thread Starter dosimo

    (@dosimo)

    I have deleted the translation files and updated them. but the error persists.

    Plugin Support madalinaruzsa

    (@madalinaruzsa)

    Hi @dosimo,

    To fix this issue, you can use a plugin like Loco Translate to search for the following Profile Builder string: “The account %1s has been successfully created!”. Please search for it and check if the string has %1s in german translation. Let me know how this goes.

    We have checked our files, and the string is write correctly.

    Thread Starter dosimo

    (@dosimo)

    I have checked the translation files and there were %1S instead of %1s

    But after correcting it, the error still persists. Maybe this is not the problem?

    Plugin Support madalinaruzsa

    (@madalinaruzsa)

    Hi @dosimo,

    That’s the issue the %1s needs to be written with lowercase (s). Make sure you are editing the right locale of your language. I remember Deutsch has a formal variant as well, maybe you edited one but use the other? Does the error remain the same after you make this change or perhaps it’s similar but changes a bit?

    Thread Starter dosimo

    (@dosimo)

    Oh, thank for this hint. It worked now.

    But I did not make any changes to the files myself. They were automatically synchronized by WordPress.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Uncaught ValueError: Unknown format specifier’ is closed to new replies.