Moving WordPress Site to localhost

Hi guys,
I would like to move my live site from wordpress to my local computer (localhost) and make changes. For this I have made all the necessary requirements and downloaded and installed both filezilla to get my current files and xampp to run it on the localhost. Also, I have exported my current database from phpmyAdmin and copied it to xampp.
However now when i want to run the site on localhost i get the following error message:

Warning: require_once(C:\xampp\htdocs\nomadry\wp-content\plugins\hivepress/includes/class-core.php): Failed to open stream: No such file or directory in C:\xampphtdocs\nomadry\wp-content\plugins\hivepress\hivepress.php on line 24

Fatal error: Uncaught Error: Failed opening required 'C:\xampp\htdocs\nomadry\wp-content\plugins\hivepress/includes/class-core.php' (include_path='C:\xampp\php\PEAR') in C:\xampp\htdocs\nomadry\wp-content\plugins\hivepress\hivepress.php:24 Stack trace: #0 C:\xampphtocs\nomadry\wp-settings.php(453): include_once() #1 C:\xampphtocs\nomadry\wp-config. php(81): require_once('C:\xampp\\htdocs...') #2 C:\xampp\htdocs\nomadry\wp-load.php(50): require_once('C:\xampp\htdocs... ') #3 C:\xampp\htdocs\nomadry\wp-blog-header.php(13): require_once('C:\xampp\htdocs...') #4 C:\xampp\htdocs\nomadry\index. php(17): require('C:\xampp\htdocs...') #5 {main} thrown in C:\xampp\htdocs\nomadry\wp-content\plugins\hivepress\hivepress.php on line 24

Here is the code in this C:\xampphtdocs\nomadry\wp-content\plugins\hivepress\hivepress.php file:

 * Plugin Name: HivePress
 * Plugin URI:
 * Description: Multipurpose directory, listing & classifieds plugin.
 * Version: 1.7.1
 * Author: HivePress
 * Author URI:
 * Text Domain: hivepress
 * Domain Path: /languages/
 * @package HivePress

// Exit if accessed directly.
defined( 'ABSPATH' ) || exit;

// Define the core file.
if ( ! defined( 'HP_FILE' ) ) {
define( 'HP_FILE', __FILE__ );

// Include the core class.
 require_once __DIR__ . '/includes/class-core.php';

 * Returns HivePress core instance.
 * @return HivePress\Core
function hivepress() {
return HivePress\Core::instance();
// Initialize HivePress.

Did anybody else got this problem? Or how did u guys move your website to localhost? Also with filezilla (copy current wp-content and wp-config.php) and xampp (adding wordpress folder from wordpress download and changing wp-content and wp-config-php)?
Thank u very much guys!! :slight_smile:


We have already replied to you by email.

But we’ll publish it again; maybe it will be useful for other users.

This maintenance and development issue is not specific to HP functionality.

I recommend reading this tutorial and check this plugin:

Or consider hiring someone for custom work

Why don’t you use Akeeba backup and akeeba kickstart for wordpress ? For me, it is really the best extension : akeeba backup to backup your online website, then akeeba kickstart to restore it anywhere (download the akeeba kickstart files in the localhost / wamp directory, download also your backup file there (.jpa), then access to you yourlocalhostwebsiteurl/kickstart.php and let’s do the magic !)

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