• Resolved edat

    (@edat)


    Hi Guys

    Just wondering if this plugin is compatible with php8.2?

    I tried upgrading my wordpress site to php8.2 and was getting this error.

    PHP Fatal error: Namespace declaration statement has to be the very first statement or after any declare call in the script in /files/wp-content/plugins/wp-smushit/core/class-core.php on line 9

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Saurabh – WPMU DEV Support

    (@wpmudev-support7)

    Hi @edat

    Hope you are doing fine!

    You can rest assure, our Smush plugin is compatible with PHP 8.2 (The team has also made recent tests to verify). It is possible the error is caused by a conflict or an incomplete installation after an update.

    Could you please test the following and share the results ( preferably, perform these steps in a staging site and create a backup in case you need to revert any changes)?

    1. Perform a quick plugin conflict test. Basically, you’ll need to deactivate all plugins, except Smush and switch to a basic theme. Then verify if the issue persists. If it doesn’t, then start activating the plugins/theme one by one until you identify the one causing the issue.
    2. Re-install the plugin by download and uploading the installer from the plugin page: https://ww.wp.xz.cn/plugins/wp-smushit/. Check if the error is not showing after completing this step.

    Please, share the results of the suggested actions to provide further help.

    Kind regards

    Luis

    Plugin Support Nithin – WPMU DEV Support

    (@wpmudevsupport11)

    Hi @edat,

    Since we haven’t heard from you for a while. I’ll mark this thread as resolved for now. Please feel free to re-open the thread if you need further assistance.

    Regards
    Nithin

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Is this Plugin Compatible with php8.2?’ is closed to new replies.