Fatal error: Cannot redeclare class WSecureConfig in …/wp-content/plugins/wsec
-
Hi,
I am getting the same error in two websites after filling out basic configuration in wSecure Lite and saving it. This is the message I get:
Warning: Cannot modify header information – headers already sent by (output started at …/mydomain.com/wp-admin/includes/template.php:1877) in …/mydomain.com/wp-includes/pluggable.php on line 1178
Fatal error: Cannot redeclare class WSecureConfig in …/mydomain.com/wp-content/plugins/wsecure/params.php on line 2
As a result the plugin still works on the computer I was using when activating and configuring the plugin, but it is messed up on my laptop where I get the site to enter the admin key, it then takes me to my WP login page, but when I want to login there I get the wSecure Admin key page again, and therefore can’t login at all.
Permalinks are set and the params.php is writable and all the settings are the same as in one of my other websites where everything works perfectly.
There are no extra spaces in the php code of the problematic file (at least not around 1877 line) that can sometimes cause this problem.
Deactivacting the plugin also didn’t help.Any idea what else could be causing this? Thanks!
- The topic ‘Fatal error: Cannot redeclare class WSecureConfig in …/wp-content/plugins/wsec’ is closed to new replies.