My error when writing a plugin for uploads
and yes, I can debug. But it just jumps directly from this line to destruct
the end of my wp-config.php
EDIT:
// Enable WP_DEBUG mode
define('WP_DEBUG', true);
// Enable Debug logging to the /wp-content/debug.log file
define('WP_DEBUG_LOG', true);
/** Sets up WordPress vars and included files. */
require_once(ABSPATH . 'wp-settings.php');
(yes i did restart)
My webcontent folder
So now what?
How do I find out what is the problem?
EDIT it’s not file permission as I can do
error_log("errrorrrr ", 3 , "..../debug.log")
In my plugin I wrote the line
throw new \Exception("foo");
I want to get to see the error in my debug.log file