Unable to connect Local exported site files to hosting server

This is my first time using Local and creating a WordPress site.
After exporting the files and unzipping them from Local (my host doesn’t allow zipped files to be uploaded) I uploaded the files that were inside the Public folder, except the wp-config-sample.php file. Inside of the wp-config.php file I changed my DB_NAME, DP_USER, DP_PASSWORD, DP_HOST, as well as the ‘WP_ENVIRONMENT_TYPE’ to production.

I exported the database with WP Migrate Lite and followed the guide: Import a WordPress Site to Local

I then uploaded this file to my hosting service, but my issue is I get the following error messages:

Fatal error: Uncaught Error: Failed opening required ‘/home/r3992685/public_html/allrightitss.com/wp-content/plugins/wpforms-lite/vendor/woocommerce/action-scheduler/classes/abstracts/ActionScheduler.php’ (include_path=‘.:/opt/alt/php81/usr/share/pear:/opt/alt/php81/usr/share/php:/usr/share/pear:/usr/share/php’) in /home/r3992685/public_html/allrightitss.com/wp-content/plugins/wpforms-lite/vendor/woocommerce/action-scheduler/action-scheduler.php:54 Stack trace: #0 /home/r3992685/public_html/allrightitss.com/wp-content/plugins/wpforms-lite/vendor/woocommerce/action-scheduler/classes/ActionScheduler_Versions.php(59): action_scheduler_initialize_3_dot_4_dot_0() #1 /home/r3992685/public_html/allrightitss.com/wp-includes/class-wp-hook.php(322): ActionScheduler_Versions::initialize_latest_version() #2 /home/r3992685/public_html/allrightitss.com/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #3 /home/r3992685/public_html/allrightitss.com/wp-includes/plugin.php(517): WP_Hook->do_action() #4 /home/r3992685/public_html/allrightitss.com/wp-settings.php(506): do_action() #5 /home/r3992685/public_html/allrightitss.com/wp-config.php(103): require_once(‘/home/r3992685/…’) #6 /home/r3992685/public_html/allrightitss.com/wp-load.php(50): require_once(‘/home/r3992685/…’) #7 /home/r3992685/public_html/allrightitss.com/wp-blog-header.php(13): require_once(‘/home/r3992685/…’) #8 /home/r3992685/public_html/allrightitss.com/index.php(17): require(‘/home/r3992685/…’) #9 {main} thrown in /home/r3992685/public_html/allrightitss.com/wp-content/plugins/wpforms-lite/vendor/woocommerce/action-scheduler/action-scheduler.php on line 54

I have disabled all plugins on my WP dashboard, as well as under wp-content / plugins to plugins.hold to see if I could eliminate the errors. I also updated my site URL and home to my domain listed on my hosting provider. Finally, I deleted the content in my database and replaced it with the local.sql file that is exported from Local.

How can I resolve these errors and get my site to display when I go to my domain? My hosting provider says my DNS, domain, and server are all operating with WP as they should be but can’t provide any WordPress support.

Thank you in advance.

Hi @Undermine1103

Do your WordPress, PHP, and MySQL versions all match with your host and the Local site? That could be one potential issue.

The fatal error is specifically calling out the plugin wpforms-lite - So you could also try reaching out to them for some insight into where the conflict might be.

Thank you for your response.
Upon checking my host PHP version is 8.1, MySQL version is 5.7.27-log and WordPress is 6.4.2

Local PHP version is 8.1.23, MySQL version is 8.0.16 and WordPress is 6.4.2

It seems I need to ask my host server to update my PHP and MySQL versions so they can match my Local versions.

Thank you again for the response.

1 Like

If you have any other questions or concerns don’t hesitate to reach back out @Undermine1103 . We are always happy to help! :green_heart:

1 Like

You must ensure file uploads preserve folder structure. Update file paths in wp-config.php and database. Troubleshoot plugin dependencies; check for any missing or altered files during migration for the specific error.