Oxygen builder / PHP Struggling to create dynamic property
Oxygen builder / PHP Struggling to create dynamic property
When debugging my site to figure out why I'm occasionally (and seemingly, quite randomly) not able to save any edits I'm making to my site I came across this.
Well, there are actually 37 similar errors to this:
Example
PHP Deprecated Creation of dynamic property EDD_SL_Plugin_Updater_Oxygen
Using the latest PHP and the latest version of Oxygen.
The error occurred since updating oxygen so naturally I tried restoring and using an older version.
I´ve also done the usual, signing all short codes, clearing all caches etc.
I'm just about to go in with a new staging copy to try it out with all my existing templates and components on a 'new' site.
It is PHP 8.2 https://php.watch/versions/8.2/dynamic-properties-deprecated
You may:
Downgrade to PHP 8.1
Exclude E_DEPRECATED from error level: error_reporting(E_ALL);
Or just wait for the plugin update
Also you can add #[AllowDynamicProperties] before class in EDD_SL_Plugin_Updater_Oxygen.php, but it will disappear after an update
January 12, 2024
Turbo Multi-language Translator
Make the better internet purchasing globaly
Turbosify SEO Speed Booster
5.0 (7)•Free plan available
Get better conversions by improving store loading speed
Installed
Turbo Multi-language Chat - AI Customer service in one hand
January 12, 2024