Could not activate the plugin because it generated a fatal error

Asked

Viewed 796 times

0

I was trying to activate my plugin and this error appears in the browser on the activation page of the Wordpress plugin (graphical interface of the same), I wonder where I can see this error with more information about the reason of it.

The Operating System I use is Ubuntu;

1 answer

3


To view the errors in Wordpress, first you need to show them.

wp-config.php file will have the options below

define( 'WP_DEBUG', true );

define( 'WP_DEBUG_LOG', true );

define( 'WP_DEBUG_DISPLAY', false );

define( 'FS_METHOD', 'direct' );

Check the WP_DEBUG_DISPLAY option as true, as soon as you activate your plugin, it will show the error for you to at least know where to debug.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.