Error after upgrading to php 7.2
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
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.