Could not activate plugin because it generated a fatal error

0

I was trying to activate my plugin and this error appears in the browser on the activation page of the Wordpress plugin, I would like to know where I can see this error with more information on the reason for it.

The operating system I use is Ubuntu;

    
asked by anonymous 29.08.2018 / 15:48

1 answer

2

To see the errors in WordPress, you first need to show them.

in the 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 enable your plugin, it will show the error so you at least know where to debug.

    
05.12.2018 / 15:01