Creating a staging copy of a website caused a fatal error
-
Hi,
I use WP Time Capsule for backups on all of my website, and this has the capability to create a staging copy of the live website.
I did this on one of my websites but when I attempted to load up the staging site it showed a critical site error, with the following being emailed to me:
- Error Level: E_ERROR
- Message:?Uncaught InvalidArgumentException: Container doesn’t have a value stored for the “password.generator” key. in /home/<site>/public_html/staging/wp-content/plugins/passwords-evolved/src/DependencyInjection/Container.php:94
Stack trace:
#0 /home/<site>/public_html/staging/wp-content/plugins/passwords-evolved/src/Plugin.php(79): PasswordsEvolved\DependencyInjection\Container->offsetGet()
#1 /home/<site>/public_html/staging/wp-content/plugins/passwords-evolved/pluggable.php(59): PasswordsEvolved\Plugin->get_password_generator()
#2 /home/<site>/public_html/staging/wp-includes/pluggable.php(2482): wp_generate_password()
#3 /home/<site>/public_html/staging/wp-content/plugins/wp-optimize/includes/class-updraft-smush-manager.php(1212): wp_salt()
#4 /home/<site>/public_html/staging/wp-content/plugins/wp-optimize/includes/class-updraft-smush-manager.php(65): Updraft_Smush_Manager->get_logfile_path()
#5 /home/<site>/public_html/staging/wp-content/plugins/wp-optimize/includes/class-updraft-smush-manager.php(1617): Updraft_Smush_Manager->__construct()
#6 /home/<site>/public_html/staging/wp-content/plugins/wp-optimize/includes/class-updraft-smush-manager.php(1628): Updraft_Smush_Manager::instance()
#7 /home/<site>/public_html/staging/wp-content/plugins/wp-optimize/wp-optimize.php(429): Updraft_Smush_Manager()
#8 /home/<site>/public_html/staging/wp-content/plugins/wp-optimize/wp-optimize.php(540): WP_Optimize->get_task_manager()
#9 /home/<site>/public_html/staging/wp-includes/class-wp-hook.php(310): WP_Optimize->plugins_loaded()
#10 /home/<site>/public_html/staging/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#11 /home/<site>/public_html/staging/wp-includes/plugin.php(517): WP_Hook->do_action()
#12 /home/<site>/public_html/staging/wp-settings.php(495): do_action()
#13 /home/<site>/public_html/staging/wp-config.php(96): require_once(‘/home/<site>…’)
#14 /home/<site>/public_html/staging/wp-load.php(50): require_once(‘/home/<site>…’)
#15 /home/<site>/public_html/staging/wp-blog-header.php(13): require_once(‘/home/<site>…’)
#16 /home/<site>/public_html/staging/index.php(17): require(‘/home/<site>…’)
#17 {main}
thrown - File: /home/<site>/public_html/staging/wp-content/plugins/passwords-evolved/src/DependencyInjection/Container.php
- Line: 94
- Request: /staging/
- Referrer: unknown
To get access to the staging site I FTP’d into the server and renamed your plugin’s directory; this allowed the site to load normally. But, I couldn’t log into the admin dashboard, and each time I attempted to reset my password it didn’t work – very strange.
Thanks
Darren
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Creating a staging copy of a website caused a fatal error’ is closed to new replies.