• Having a problem with ithemes:

    Plugin could not be activated because it triggered a fatal error

    Fatal error: Cannot declare class ITSEC_Schema, because the name is already in use in /services/webpages/b/l/blairandsusan.ca/public/wp-content/plugins/better-wp-security/core/lib/schema.php on line 3

    Can anyone tell me how to fix this error?

    Thanks
    Susan

Viewing 4 replies - 1 through 4 (of 4 total)
  • What PHP version are you using ?
    Did you recently upgrade to a newer PHP version ?
    Any other recent changes like WordPress or iTSec plugin upgrade ?

    Also a full stack trace would be helpfull.

    +++++ To prevent any confusion, I’m not iThemes. +++++

    Thread Starter blairandsusan

    (@blairandsusan)

    PHP is 7.4.19

    I have done nothing recently, no upgrades other than wordpress automatically upgrading to 5.7.2

    Sorry, I don’t know what a full stack trace is, I am a novice user. This problem came up because I received an email from wordpress saying my site had a technical issue. I was unable to access my site without going to my hosting site and turning off all the plugins. Once I was able to get to my dashboard I reactivated all my plugins one by one and when I went to reactivate ithemes I got the message that it could not be activated because it triggered a fatal error.

    Should I delete ithemes?

    Thanks
    Susan

    Ok, I see.

    Yes, delete the iTSec plugin. Let’s rule out the possibility that it somehow got corrupted. There are 2 methods for deleting the plugin.

    1. Simply click on the plugin Delete link. This will also delete any plugin data from the database (you will be asked for confirmation). Once deleted, if you wish to reuse the plugin, simply (re)install it. The disadvantage of this option is that after activating the plugin you’ll need to walk through the plugin settings again.

    2. Manually delete the better-wp-security folder. To do this either use an FTP program or simply log into your hosting panel.
    Then download the iTSec plugin zip file and use an FTP program, or simply log into your hosting panel, and upload/unzip the zip file in the plugins folder. Refreshing the Plugins page in the Admin Dashboard will show the plugin is listed again. Because we didn’t delete any plugin data from the database, the plugin will continue using the old (configured) settings. So no need to walk through the plugin settings again.

    No matter what method you choose, let’s hope it activates again without any fatal error. Oh and let’s keep our fingers crossed ??

    Thread Starter blairandsusan

    (@blairandsusan)

    Thanks for these suggestions.

    I tried to delete the ithemes plugin and got another critical error message and it would not delete ??

    I logged into my hosting panel and deleted the folder you suggested and now ithemes has gone from my website.

    I have decided to go with Wordfence instead, can’t be bothered to fiddle around trying to figure out what is wrong with ithemes.

    Thanks for your help telling me what files to delete from my hosting panel.

    Cheers
    Susan

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘plugin not working’ is closed to new replies.