Because I inherited my business site and it works with minimal need to update it, I have rarely touched what has always been a stable website.
However, I now need to add a new post and all is fine until I hit PREVIEW or POST, after which the site crashes and I get an emailed warning that details issues as follows …
An error of type E_ERROR was caused in line 86 of the file /var/www/vhosts/nenedigitalweddings.co.uk/httpdocs/wp-content/themes/x/framework/functions/global/admin/addons/class-update-api.php. Error message: Uncaught Error: Cannot use object of type WP_Error as array in /var/www/vhosts/nenedigitalweddings.co.uk/httpdocs/wp-content/themes/x/framework/functions/global/admin/addons/class-update-api.php:86
#0 /var/www/vhosts/nenedigitalweddings.co.uk/httpdocs/wp-content/themes/x/framework/functions/global/admin/addons/class-update-api.php(116): X_Update_API::remote_request(Array)
#1 /var/www/vhosts/nenedigitalweddings.co.uk/httpdocs/wp-content/themes/x/framework/functions/global/admin/addons/class-update-api.php(125): X_Update_API::get_product(‘x-the-theme’)
#2 /var/www/vhosts/nenedigitalweddings.co.uk/httpdocs/wp-content/themes/x/framework/functions/global/admin/addons/class-theme-updater.php(49): X_Update_API::get_x_theme()
#3 /var/www/vhosts/nenedigitalweddings.co.uk/httpdocs/wp/wp-includes/class-wp-hook.php(288): X_Theme_Updater->pre_set_site_transient_update_themes(Object(stdClass))
#4 /var/www/vhosts/nenedigitalweddings.co.uk/httpdocs/wp/wp-includes/plugin.php(208): WP_Hook->apply_filters(Object(st
My hosts won’t touch it and say its an issue for Theme support so … can you help ?