• Resolved normaldenker

    (@normaldenker)


    With PHP 8.0 or greater active I got a critical error on the dashboard of WordPress 6.7.1. After downgrading server to 7.4 all works fine. Version 5.3.7 of AIOS is installed.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support hjogiupdraftplus

    (@hjogiupdraftplus)

    Hi @normaldenker,

    AIOS 6.7.1 works fine with PHP 8.0+ versions,

    Can you please enable the debug log and provide me the which error is logged in the error log file?

    https://learn.wordpress.org/tutorial/debugging-in-wordpress/

    Regards

    Plugin Support hjogiupdraftplus

    (@hjogiupdraftplus)

    Hi

    If you have German language and issue is of the

    Fatal error: Uncaught ValueError: Unknown format specifier “m” in

    wp-content/plugins/all-in-one-wp-security-and-firewall/classes/wp-security-notices.php:218

    there is the translation issue posted by translator @toxicum I have contacted on wordpress slack to approve the suggestion

    The similar issue reported below

    https://wordpress.org/support/topic/fatal-error-4795/

    Thread Starter normaldenker

    (@normaldenker)

    Yes it is german version. Let me check and then give you an update. I am busy with the site that has to go online soon.

    janinh141

    (@janinh141)

    Hi everyone,

    For those encountering the fatal error caused by the German translation of the AIOS plugin, here’s a practical workaround that worked for me after troubleshooting for nearly 45 minutes:

    1. Deactivate the plugin via FTP:
    • Access your server through FTP.
    • Navigate to /wp-content/plugins/ and rename the folder all-in-one-wp-security-and-firewall to something like all-in-one-wp-security-and-firewall-deactivated.
    This will deactivate the plugin and give you access to your WordPress dashboard again.

    2. Install Loco Translate (if you haven’t already):
    • Go to the WordPress plugin repository and install Loco Translate. It’s a handy tool for managing translations.

    3. Fix the German translation manually:
    • Open Loco Translate and locate the AIOS plugin translations.
    • Search for the problematic strings related to “Save 20%% off with code %s” (or similar).
    • In the German version, ensure that the double percentage symbol %% is correctly written, as a single % is invalid in sprintf.
    • Correct the translation to: “Spare 20%% mit dem Code %s.”

    1. Re-enable the plugin:
      • Rename the plugin folder back to all-in-one-wp-security-and-firewall via FTP.
      • Reactivate it from the WordPress dashboard.

    This will fix the issue caused by the faulty German translation and allow the plugin to run smoothly. I hope this helps others who are facing the same frustration!

    Best regards,
    Janin

    phillipsburgh

    (@phillipsburgh)

    Thanks Janin for the fix! Works perfectly!

    Thread Starter normaldenker

    (@normaldenker)

    The Plugin was updated. Thanks for that.!

    toxicum

    (@toxicum)

    Translation in German is fixed as well. Please update your translations.

    Plugin Support hjogiupdraftplus

    (@hjogiupdraftplus)

    Hi @normaldenker @janinh141 @phillipsburgh

    The translator fixed the translation issue. We have also made sure that in the future if such an issue occurs by any other translator, it does not throw a fatal error. AIOS 5.3.8 was released for it.

    Regards

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Critical error on Dashboard with PHP 8.0 and greater’ is closed to new replies.