Fatal error when activating the plugin on a local machine
-
Hi, I have a LAMP server on my local machine. Works well with other wordpress instances.
I’d like to try the new Zion Builder so I downloaded the plugin, put its files into /wp-content/plugins and it appears in my back office.
When I click on “Activate” this is the result I have :
Fatal error: Uncaught Error: Call to undefined function wp_generate_password() in /home/lomic/websites/Zion/wp-admin/includes/file.php:669 Stack trace: #0 /home/lomic/websites/Zion/wp-admin/includes/class-wp-filesystem-ftpext.php(138): wp_tempnam('/home/lomic/web...') #1 /home/lomic/websites/Zion/wp-content/plugins/zionbuilder/includes/Environment.php(39): WP_Filesystem_FTPext->get_contents('/home/lomic/web...') #2 /home/lomic/websites/Zion/wp-content/plugins/zionbuilder/includes/Environment.php(55): ZionBuilder\Environment::get_config() #3 /home/lomic/websites/Zion/wp-content/plugins/zionbuilder/includes/Scripts.php(46): ZionBuilder\Environment::get_value('outputDir') #4 /home/lomic/websites/Zion/wp-content/plugins/zionbuilder/includes/Scripts.php(36): ZionBuilder\Scripts->setup_environment() #5 /home/lomic/websites/Zion/wp-content/plugins/zionbuilder/includes/Plugin.php(214): ZionBuilder\Scripts->__construct() #6 /home/lomic/websites/Zion/wp-content/plugins/zionbuilder/zionbuilder.php(77): ZionBuilder\Plugin->init() #7 in /home/lomic/websites/Zion/wp-admin/includes/file.php on line 669
Seems that the culprit line is here :
$manager = new Plugin( trailingslashit( dirname( __FILE__ ) ), plugin_dir_url( __FILE__ ), $plugin_data['Version'] ); $manager->init();
If I test the value of __FILE__ on my server it returns a good value : “/var/www/html/test.php” so it doesn’t look like a path issue.
I have to delete or rename its folder to take back control of this wordpress instance.
Any idea ?
Thanks !
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Fatal error when activating the plugin on a local machine’ is closed to new replies.