Fatal error with no additional information thrown upon plugin activation
-
Hello everyone
I’m building a plugin at the moment. In the “index”-page (the one with the information about the plugin) I use
require_once. When I want to activate the plugin, a fatal error is thrown:
Plugin could not be activated because it triggered a fatal error.
No more information is shown.I commented all the lines except
require_once plugins_url('/php/hooks.php', __FILE__);out and checked the path. Still triggering a fatal error. The problem has to be therequire_oncecommand but I don’t know what to do about it. I have used this command in the exact same context, file and version of WordPress before and it worked back then.
The topic ‘Fatal error with no additional information thrown upon plugin activation’ is closed to new replies.