Fatal error when updating plugins: Undefined constant “WP_SANDBOX_SCRAPING”
-
Hey,
This suddenly showed up today when I tried to update the plugins:
thrown in /var/www/wordpress/wp-content/mu-plugins/eos-deactivate-plugins.php on line 36 Fatal error: Uncaught Error: Undefined constant "WP_SANDBOX_SCRAPING" in /var/www/wordpress/wp-content/mu-plugins/eos-deactivate-plugins.php:36 Stack trace: #0 /var/www/wordpress/wp-settings.php(340): include_once() #1 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1271): require('...') #2 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1192): WP_CLI\Runner->load_wordpress() #3 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LaunchRunner.php(23): WP_CLI\Runner->start() #4 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/bootstrap.php(77): WP_CLI\Bootstrap\LaunchRunner->process() #5 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/wp-cli.php(27): WP_CLI\bootstrap() #6 phar:///usr/local/bin/wp/php/boot-phar.php(11): include('...') #7 /usr/local/bin/wp(4): include('...') #8 {main} thrown in /var/www/wordpress/wp-content/mu-plugins/eos-deactivate-plugins.php on line 36 Error: There has been a critical error on this website.Learn more about troubleshooting WordPress. There has been a critical error on this website.I’m on latest WordPress (5.8.2), and seems to happen with all plugins.
I do see the WP_SANDBOX_SCRAPING constact in wp-admin/includes/plugin.php:
function plugin_sandbox_scrape( $plugin ) {
if ( ! defined( ‘WP_SANDBOX_SCRAPING’ ) ) {
define( ‘WP_SANDBOX_SCRAPING’, true );
}So I’m not sure what happened.
Any assistance much appreciated.
Thank you,
D.
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
The topic ‘Fatal error when updating plugins: Undefined constant “WP_SANDBOX_SCRAPING”’ is closed to new replies.