Failed to activate plugin on local XAMPP
-
Hello
Since last version, when installing/activating the plugin on my local site on XAMPP, I got this error message, and the plugin failed to activate. No problem online. Using WP 5.7.1. Any ideas how to resolve this?
Fatal error: Uncaught ValueError: Path cannot be empty in C:\xampp\htdocs\mysite\wp-content\plugins\http-headers\http-headers.php:2749 Stack trace: #0 C:\xampp\htdocs\mysite\wp-content\plugins\http-headers\http-headers.php(2749): file_put_contents('', NULL) #1 C:\xampp\htdocs\mysite\wp-content\plugins\http-headers\http-headers.php(3251): update_auth_credentials() #2 C:\xampp\htdocs\mysite\wp-includes\class-wp-hook.php(292): http_headers_activate('') #3 C:\xampp\htdocs\mysite\wp-includes\class-wp-hook.php(316): WP_Hook->apply_filters('', Array) #4 C:\xampp\htdocs\mysite\wp-includes\plugin.php(484): WP_Hook->do_action(Array) #5 C:\xampp\htdocs\mysite\wp-admin\plugins.php(193): do_action('activate_http-h...') #6 {main} thrown in C:\xampp\htdocs\mysite\wp-content\plugins\http-headers\http-headers.php on line 2749
Thanks
ADS
- The topic ‘Failed to activate plugin on local XAMPP’ is closed to new replies.