Viewing 11 replies - 1 through 11 (of 11 total)
  • same here, error when tried to activate the plugins.
    It said: “Plugin could not be activated because it triggered a fatal error.”

    Any luck?

    Plugin Author Vladimir Garagulya

    (@shinephp)

    Show PHP fatal error message please.
    Set WP_DEBUG to true at wp-config.php to see more details if needed.

    Thread Starter Gunu

    (@grafcom)

    Set WP_DEBUG to true but where can I find this information?

    There is no debug.log file in the wp-content directory with WP_DEBUG_LOG = true.

    PHP fatal error message deatails are not in the box, only “Plugin could not be activated because it triggered a fatal error.”

    Thanks

    Plugin Author Vladimir Garagulya

    (@shinephp)

    You will see debug info at the browser after trying to activate plugin.

    Thread Starter Gunu

    (@grafcom)

    You mean this?

    https://xxxxxxxxx.com/xxxx/wp-admin/plugins.php?error=true&plugin=plugins-garbage-collector%2Fplugins-garbage-collector.php&_error_nonce=ec1fcaf5b8

    The window on top (under Plugins – ad new) after activate shows only:
    Plugin could not be activated because it triggered a fatal error.

    Plugin Author Vladimir Garagulya

    (@shinephp)

    Did you set

    define('WP_DEBUG', true);

    at wp-config.php?

    Thread Starter Gunu

    (@grafcom)

    Yes I did

    Plugin Author Vladimir Garagulya

    (@shinephp)

    Thank you.
    I reproduced this error myself. I can search the reason myself now.

    Plugin Author Vladimir Garagulya

    (@shinephp)

    Please try fixed version 0.9.15

    Thread Starter Gunu

    (@grafcom)

    Hi Vladimir,

    FIXED! On this site it works now! Great, THANK YOU!

    what was the problem?

    Five stars!

    Plugin Author Vladimir Garagulya

    (@shinephp)

    Earlier version checked if WPLANG constant was defined in order to prevent direct call of PHP file beyond WordPress and silently stopped execution, if constant did not exist. Starting with WP 4.0 WPLANG was not included into wp-config.php anymore.
    Unfortunately my test site contained wp-config.php from the previous version of WordPress with WPLANG defined. So plugin worked fine under WP 4.0 and I did not discover this error myself.
    Thanks again for the help.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘activate gives a fatal error’ is closed to new replies.