envato-wordpress-toolkit icon indicating copy to clipboard operation
envato-wordpress-toolkit copied to clipboard

Error after upgrading to php 7.2

Open HermanMonteiro opened this issue 5 years ago • 1 comments

After upgrading to php 7.2 started to appear in the control panel the following errors.

Has anyone been through this?

Wordpress Version: 5.3.2 PHP Version: 7.2

Errors:

Warning: Illegal string offset 'http_code' in /my_directory/public_html/wp-content/themes/mytheme/framework/addons/auto-updates/class-envato-protected-api.php on line 307

Warning: Illegal string offset 'api_error' in /my_directory/public_html/wp-content/themes/mytheme/framework/addons/auto-updates/class-envato-protected-api.php on line 307

HermanMonteiro avatar Jan 17 '20 12:01 HermanMonteiro

This plugin was deprecated 2 years ago. You should be using this instead: https://github.com/envato/wp-envato-market

This plugin won't work much longer anyway as we'll soon be turning off the old API, so you really do need to move to the new one.

Stephen-Cronin avatar Jan 17 '20 12:01 Stephen-Cronin