Hi guys,
I would like to move my live site from wordpress nomadry.com 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:
<?php
/**
* Plugin Name: HivePress
* Plugin URI: https://hivepress.io/
* Description: Multipurpose directory, listing & classifieds plugin.
* Version: 1.7.1
* Author: HivePress
* Author URI: https://hivepress.io/
* 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.
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!!