• Resolved deanjansen1

    (@deanjansen1)


    Ive developed my own WordPress plugin and it works great on any local machine, When i upload it to servers it wont activate.
    Ive tried reinstalling WordPress. Using the default themes, Disabling all plugins.
    All themes and plugins work except mine

    I get the below error.

    Plugin could not be activated because it triggered a fatal error.

    Already Installed
    You appear to have already installed WordPress. To reinstall please clear your old database tables first.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator t-p

    (@t-p)

    Here are couple of useful articles on plugin development. See if you missed anything: Plugin Handbook
    https://developer.www.ads-software.com/plugins/wordpress-org/plugin-developer-faq/

    Moderator bcworkz

    (@bcworkz)

    You get a plugin fatal error message with all plugins deactivated??

    As crazy as that sounds, it is possible if the /wp-content/mu-plugins/ folder contains erroneous code. Rename the folder to deactivate must-use plugins.

    Thread Starter deanjansen1

    (@deanjansen1)

    I found what the problem was, I have a file i run when the plugin is activated, The file was called install.php which was causing the issue. Changed the file to wp_installer.php and its working now.

    Hope this helps anyone else who has the same problem since i couldn’t find anything myself.

    Moderator t-p

    (@t-p)

    Glad its sorted ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Plugin could not be activated because it triggered a fatal error’ is closed to new replies.