Fatal Error After Moving a Website
-
Hello,
after moving my website from server A to B, I wanted to install the Ninja Firewall again. It gets installed but I get this error upon activating it:
Plugin could not be activated because it triggered a?fatal error.
I checked the PHP log files and I see these errors:
[28-Sep-2024 11:09:00 UTC] PHP Fatal error: Uncaught Error: Undefined constant "NFW_RULES" in /var/www/website/public_html/wp-content/plugins/ninjafirewall/lib/install_default.php:171
Stack trace: 0 /var/www/website/public_html/wp-content/plugins/ninjafirewall/ninjafirewall.php(161): nfw_load_default_conf() 1 /var/www/website/public_html/wp-includes/class-wp-hook.php(324): nfw_activate(false) 2 /var/www/website/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array) 3 /var/www/website/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 4 /var/www/website/public_html/wp-admin/includes/plugin.php(703): do_action('activate_ninjaf…', false) 5 /var/www/website/public_html/wp-admin/plugins.php(60): activate_plugin('ninjafirewall/n…', 'https://ivansal…', false) 6 {main}
thrown in /var/www/website/public_html/wp-content/plugins/ninjafirewall/lib/install_default.php on line 171What is the problem?
- You must be logged in to reply to this topic.