• I created a plugin, which was based on another plugin that I use. When I try to activate it, it fails with this message:

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

    And that’s it. No other information. I added the following to wp-config.php:

    @ini_set(‘log_errors’,’On’);
    @ini_set(‘display_errors’,’Off’);
    @ini_set(‘error_log’,’/logs/php_error.log’);
    define(‘WP_DEBUG’, true);

    But got no relevant information. Is there a way to debug this?

The topic ‘Fatal error on plugin activation – how do I debug?’ is closed to new replies.