Broken theme after site transfer

Hi,

I tried to transfer my single page website from GoDaddy to a new provider today. The transfer appeared to have gone OK, until I tried to log in to the admin area. This produced the following error message:

Warning: Invalid argument supplied for foreach() in /home/customer/www/1579762760-e898d1da023aa23d.wp-transfer.sgvps.net/public_html/wp-content/themes/x/framework/functions/updates/class-x-tgmpa-integration.php on line 39

Warning: Cannot modify header information - headers already sent by (output started at /home/customer/www/1579762760-e898d1da023aa23d.wp-transfer.sgvps.net/public_html/wp-content/themes/x/framework/functions/updates/class-x-tgmpa-integration.php:39) in /home/customer/www/1579762760-e898d1da023aa23d.wp-transfer.sgvps.net/public_html/wp-includes/pluggable.php on line 1265

The new hosting provider suggested that I try to switch to another theme (by changing the X theme’s folder name to something else via FTP), which I did, but this simply produced a different error:

Fatal error: Uncaught Error: Call to undefined function x_get_option() in /home/customer/www/1579762760-e898d1da023aa23d.wp-transfer.sgvps.net/public_html/wp-content/plugins/cornerstone/includes/extend/portfolio.php:31 Stack trace: #0 /home/customer/www/1579762760-e898d1da023aa23d.wp-transfer.sgvps.net/public_html/wp-includes/class-wp-hook.php(288): cs_portfolio_init(’’) #1 /home/customer/www/1579762760-e898d1da023aa23d.wp-transfer.sgvps.net/public_html/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(NULL, Array) #2 /home/customer/www/1579762760-e898d1da023aa23d.wp-transfer.sgvps.net/public_html/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #3 /home/customer/www/1579762760-e898d1da023aa23d.wp-transfer.sgvps.net/public_html/wp-settings.php(523): do_action(‘init’) #4 /home/customer/www/1579762760-e898d1da023aa23d.wp-transfer.sgvps.net/public_html/wp-config.php(78): require_once(’/home/customer/…’) #5 /home/customer/www/1579762760-e898d1da023aa23d.wp-transfer.sgvps.net/public_html/wp-load.php(37): require_once(’/home/customer/…’) #6 /home/customer/www/1579762760-e898d1da023aa23d.wp-transfer.sgvps.net/public_html/wp-admin/admin.php(34): require_once(’/home/customer/…’) #7 /home/customer/www/1579762760-e898d1da023aa23d.wp-transfer.sgvps.net/public_html/wp-admin/index.php(10): require_once(’/h in /home/customer/www/1579762760-e898d1da023aa23d.wp-transfer.sgvps.net/public_html/wp-content/plugins/cornerstone/includes/extend/portfolio.php on line 31

There has been a critical error on your website. Please check your site admin email inbox for instructions.

Any suggestions on how to get the site working with the new provider would be appreciated.

Hello @adriaanvw,

Thanks for writing in!

Please make sure that you have updated to the latest version of the theme.
Our latest versions are:

  • X theme 7.1.2
  • Cornerstone 4.1.2

This latest release contains fixes for several issues so be sure to check out the changelog (http://theme.co/changelog/).

After doing the updates, always remember to clear all caches (if you are using WP Rocket, WP SuperCache or W3 Total Cache) when updating so that the code from the latest release is always in use. This will help you to avoid any potential errors.

If nothing is helping, provide us access to your site so that we can check your settings. Please create a secure note with the following info:
– Link to your site
– WordPress Admin username / password

To know how to create a secure note, please check this out: https://theme.co/apex/forum/t/how-to-get-support/288

Please let us know how it goes.

Hi @RueNel,

Thanks for the advice. Is there a way I can manually re-download the latest versions of X and Cornerstone?

Hi @adriaanvw,

Yes, you can download it from your dashboard here.

Our new documentation are now available too. Please check it out here.

Thanks @Lely, all sorted now. Issue was actually caused by a GoDaddy Quick Setup plugin.

You’re welcome!
It’s good to know that the issue has been resolved already.

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