Are you using the latest version of the plugin (1.7.12)? I ask because I have tested it up to PHP 8.4, and I’m not seeing errors like that with the current version.
Thread Starter
Robert
(@rsterry48)
Many thanks for your prompt reply Janis. 1.7.12 is definitely installed.
After some further searching, it looks like this deprecation notice can show up if incorrect data was written to the database in the past. Potentially, it can happen even if the currently installed version no longer has the bug that originally caused the problem, or if the data was written by another plugin that uses the Freemius SDK.
Cleaning up Freemius data in the DB would probably help, but there’s not a very easy way to do that. The Freemius Fixer plugin can do it, but I hesitate to recommend it since it hasn’t been updated in a while.
If you have a license or you’ve opted in, try this: click “Configure” in the widget, scroll down to the bottom of the config screen, and click “Account”. The “Account Details” panel should have a “Sync” link in the top right. Try clicking that. (If you have a license, you can also try deactivating it and activating it again.) This will only affect ELM, so if you’re using any other plugins that use Freemius, you might need to do something similar in their settings.
Thread Starter
Robert
(@rsterry48)
Many thanks Janis. So I take it that it’s not something to worry about and is not related to the PHP upgrade from 7.4 to 8.2? So we can simply ignore it?
I think it should be harmless, aside from polluting the log with additional messages. It is technically related to the PHP version upgrade since this particular deprecation notice was added in PHP 8.2, but it shouldn’t cause any real problems.
Thread Starter
Robert
(@rsterry48)
Thanks for additional clarification Janis. And we know what to try if we want to get rid of the error message. Your support as always is greatly appreciated.
All the best
Robert