Can't login to dashboard after the site was tranferred from one host to another

Getting an error message when trying to get to the wordpress dashboard:

Warning: Invalid argument supplied for foreach() in /home/customer/www/okecp.org/public_html/wp-content/themes/pro/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/okecp.org/public_html/wp-content/themes/pro/framework/functions/updates/class-x-tgmpa-integration.php:39) in /home/customer/www/okecp.org/public_html/wp-includes/pluggable.php on line 1296

  1. Tried to restore from a backup.
  2. Tried to install the latest version of the theme.
    I found an article from the theme developer: Broken theme after site transfer
    same error message, and it was from the site being migrated from one server to another. their solution was to install the new version of the theme, which I have done.

Let me know if there’s anything else I can do.

Hello @Dreamclinic,

Thanks for writing in! Could you please update to the latest versions?
Our latest versions are:

  • Pro theme 4.1.5
  • WordPress 5.6
  • PHP 7.4

This latest release contains fixes for several issues so be sure to check out the 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
– WP login URL
– WP username
– WP password
– WP Administrator Role
- Confirmation that we can access and make changes to your site

To know how to create a secure note, please check this out: How The Forum Works

Please let us know how it goes.

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