My X-Theme site keeps crashing!

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 …

Error Details
An error of type E_ERROR was caused in line 86 of the file /var/www/vhosts/ Error message: Uncaught Error: Cannot use object of type WP_Error as array in /var/www/vhosts/
Stack trace:
#0 /var/www/vhosts/ X_Update_API::remote_request(Array)
#1 /var/www/vhosts/ X_Update_API::get_product(‘x-the-theme’)
#2 /var/www/vhosts/ X_Update_API::get_x_theme()
#3 /var/www/vhosts/ X_Theme_Updater->pre_set_site_transient_update_themes(Object(stdClass))
#4 /var/www/vhosts/ WP_Hook->apply_filters(Object(st

My hosts won’t touch it and say its an issue for Theme support so … can you help ?

Hi @Paul33,

Thank you for writing in, you keep X and X - Shortcodes outdated but you updated the Wordpress to the latest version (5.2.2) which might cause the conflict.

I would strongly advise to update the X and install the Cornerstone (replacement of X- Shortcodes plugin) to avoid any potential conflict in the future.

Updating Your Themes and Plugins

Follow the Manual X Update Via FTP method, because the Automatic Updates won’t work on an outdated version.

The best way to do this is to clone your site on a staging site and do the updating there first, more about this here.

You may seek help from a developer should you not feel comfortable making these updating yourself.

Let us know how it goes,

Sounds great but … when I login to my dashboard and go to downloads, X-Theme isn’t there !!!

It may be possible that I have more than one Envato account and I’m logging in with the wrong one but I can’t find any means of finding the right one. Can I gain the right access to this download using the keys/info on my live site ?

Hello Paul,

Thanks for updating the thread. :slight_smile:

I see that on this account you have Pro Theme licence whereas on website you are running X Theme 2.6.0 and X Shortcodes. As you have Pro Theme licence you can’t access X Theme and it’s files in Apex. If you have another account or if you remember the account details of Themeforest account, please login over there and under downloads section you can download latest version of X Theme.


Okay so I’ve found two older Envato accounts and have managed to sign in and go to Themeforest on both where I can find some plugins I have purchased but X-Theme is nowhere to be seen !!!

If I have a Pro theme License, can I not install that on my Staging site and somehow migrate my live site data into that or is that impossible ?

I’m stuck here !!!

Hello @Paul33,

You can download the X theme in your ThemeForest downloads section or right in your dashboard.

I have checked your licenses and I found out that you have X theme license and you upgraded it to Pro theme. You still can use the X theme and the X license code. I also see that you already have set up a staging site which I shared in the secure note below. I would recommend that you install Pro theme in the staging site, validate it using your Pro license. You can get the licenses in your APEX account (

Please let us know how it goes.

Although this one was more than a little self-inflicted, it has proven too complicated to rectify and, to be honest, the X-theme is proving frustratingly complex to work with. I’m now rebuilding my site using Divi which is proving a joy to use !

Thanks for your efforts anyway.

Hello Paul,

We regret to hear that. Since you were using a really outdated version of X and you updated Wordpress to the latest version, it is almost expected to have an incompatibility issue since the core of your site was updated and the theme isn’t. That is why we also provide updates in X which follows the latest Wordpress standards and compatibility.

The latest version of X has a lot of new features compared to X version 2 so it is understandable that it might be overwhelming at first but once you are familiar with the new features, it should be easy to use.

In case you want to read more about the features, you can always check our Knowledge Base and also our changelog to keep track of new updates.

Hope this helps.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.