Plugin could not be activated because it triggered a fatal error
-
I download this plugin before, but never experience this kind of issue. whenever I try to activate different version it return this error:
PHP message: PHP Fatal error: Uncaught Error: Undefined constant “NONCE_KEY” in /www/262/public/wp-content/plugins/ip-location-block/classes/class-ip-location-block-logs.php:152
Stack trace:
#0 /www/262/public/wp-content/plugins/ip-location-block/classes/class-ip-location-block-logs.php(1383): IP_Location_Block_Logs::cipher_mode_key()
#1 /www/262/public/wp-content/plugins/ip-location-block/classes/class-ip-location-block-actv.php(36): IP_Location_Block_Logs::delete_cache_entry()
#2 /www/262/public/wp-content/plugins/ip-location-block/classes/class-ip-location-block-actv.php(54): IP_Location_Block_Activate::activate_blog()
#3 /www/262/public/wp-content/plugins/ip-location-block/ip-location-block.php(57): IP_Location_Block_Activate::activate(false)
#4 /www/262/public/wp-includes/class-wp-hook.php(324): ip_location_block_activate(false)
#5 /www/262/public/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array)
#6 /ww” while reading response header from upstream, client: 136.158.11.35, server: domain.com, request: “GET /wp-admin/plugins.php?action=activate&plugin=ip-location-block%2Fip-location-block.php&plugin_status=all&paged=1&s&_wpnonce=db55be6efc HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php8.2-fpm-domain.sock:”, host: “domain.com:58243”, referrer: “https://domain.com/wp-admin/plugins.php”
- The topic ‘Plugin could not be activated because it triggered a fatal error’ is closed to new replies.