Activation hook either not called or causes fatal error
-
Hi,
I’m writing a plugin right now and this is driving me a little insane. I did a search and it looks like I’m having the same problem as this guy, but he never got a response.
Basically I have a line like this in my code —
register_activation_hook(__FILE__, ‘arg_issues_install’);
But each time I tried to activate the plugin I got an error saying that an existing function in the same file can’t be declared twice. Sometimes the error doesn’t appear, but either way, my function is simply not being called (it’s supposed to create a database table).
Is there anything I should be looking at?
Thanks!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Activation hook either not called or causes fatal error’ is closed to new replies.