-
-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
When I try to install plugin using:
wp plugin install --activate simple-consent-mode
I got this:
Activating 'simple-consent-mode'...
PHP Fatal error: Uncaught Error: Undefined constant "options" in /var/www/[..]/wp-content/plugins/simple-consent-mode/includes/iworks/class-simple-consent-mode.php:403
Stack trace:
#0 /var/www/[..]/wp-includes/class-wp-hook.php(324): iworks_simple_consent_mode->register_activation_hook()
#1 /var/www/[..]/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /var/www/[..]/wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /var/www/[..]/wp-admin/includes/plugin.php(703): do_action()
#4 phar:///[..]/bin/wp-cli.phar/vendor/wp-cli/extension-command/src/Plugin_Command.php(382): activate_plugin()
#5 phar:///[..]/bin/wp-cli.phar/vendor/wp-cli/extension-command/src/WP_CLI/CommandWithUpgrade.php(284): Plugin_Command->activate()
#6 phar:///[..]/bin/wp-cli.phar/vendor/wp-cli/extension-command/src/Plugin_Command.php(971): WP_CLI\CommandWithUpgrade->install()
#7 [internal function]: Plugin_Command->install()
#8 phar:///[..]/bin/wp-cli.phar/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/CommandFactory.php(100): call_user_func()
#9 [internal function]: WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure}()
#10 phar:///[..]/bin/wp-cli.phar/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/Subcommand.php(497): call_user_func()
#11 phar:///[..]/bin/wp-cli.phar/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(441): WP_CLI\Dispatcher\Subcommand->invoke()
#12 phar:///[..]/bin/wp-cli.phar/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(464): WP_CLI\Runner->run_command()
#13 phar:///[..]/bin/wp-cli.phar/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1296): WP_CLI\Runner->run_command_and_exit()
#14 phar:///[..]/bin/wp-cli.phar/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LaunchRunner.php(28): WP_CLI\Runner->start()
#15 phar:///[..]/bin/wp-cli.phar/vendor/wp-cli/wp-cli/php/bootstrap.php(83): WP_CLI\Bootstrap\LaunchRunner->process()
#16 phar:///[..]/bin/wp-cli.phar/vendor/wp-cli/wp-cli/php/wp-cli.php(32): WP_CLI\bootstrap()
#17 phar:///[..]/bin/wp-cli.phar/php/boot-phar.php(20): include('...')
#18 /[..]/bin/wp-cli.phar(4): include('...')
#19 {main}
thrown in /var/www/[..]/wp-content/plugins/simple-consent-mode/includes/iworks/class-simple-consent-mode.php on line 403
Fatal error: Uncaught Error: Undefined constant "options" in /var/www/[..]/wp-content/plugins/simple-consent-mode/includes/iworks/class-simple-consent-mode.php:403
Stack trace:
#0 /var/www/[..]/wp-includes/class-wp-hook.php(324): iworks_simple_consent_mode->register_activation_hook()
#1 /var/www/[..]/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /var/www/[..]/wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /var/www/[..]/wp-admin/includes/plugin.php(703): do_action()
#4 phar:///[..]/bin/wp-cli.phar/vendor/wp-cli/extension-command/src/Plugin_Command.php(382): activate_plugin()
#5 phar:///[..]/bin/wp-cli.phar/vendor/wp-cli/extension-command/src/WP_CLI/CommandWithUpgrade.php(284): Plugin_Command->activate()
#6 phar:///[..]/bin/wp-cli.phar/vendor/wp-cli/extension-command/src/Plugin_Command.php(971): WP_CLI\CommandWithUpgrade->install()
#7 [internal function]: Plugin_Command->install()
#8 phar:///[..]/bin/wp-cli.phar/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/CommandFactory.php(100): call_user_func()
#9 [internal function]: WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure}()
#10 phar:///[..]/bin/wp-cli.phar/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/Subcommand.php(497): call_user_func()
#11 phar:///[..]/bin/wp-cli.phar/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(441): WP_CLI\Dispatcher\Subcommand->invoke()
#12 phar:///[..]/bin/wp-cli.phar/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(464): WP_CLI\Runner->run_command()
#13 phar:///[..]/bin/wp-cli.phar/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1296): WP_CLI\Runner->run_command_and_exit()
#14 phar:///[..]/bin/wp-cli.phar/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LaunchRunner.php(28): WP_CLI\Runner->start()
#15 phar:///[..]/bin/wp-cli.phar/vendor/wp-cli/wp-cli/php/bootstrap.php(83): WP_CLI\Bootstrap\LaunchRunner->process()
#16 phar:///[..]/bin/wp-cli.phar/vendor/wp-cli/wp-cli/php/wp-cli.php(32): WP_CLI\bootstrap()
#17 phar:///[..]/bin/wp-cli.phar/php/boot-phar.php(20): include('...')
#18 /[..]/bin/wp-cli.phar(4): include('...')
#19 {main}
thrown in /var/www/[..]/wp-content/plugins/simple-consent-mode/includes/iworks/class-simple-consent-mode.php on line 403
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working