Not logged in. · Lost password · Registration disabled
Forum: Overview Bugs / Fehler RSS
Plugin could not be activated because it triggered a fatal error.
can't run
digi (Guest) #1
No profile available.
Link to this post
Subject: Plugin could not be activated because it triggered a fatal error.
This is the error message:
Fatal error: Cannot redeclare post_notification_feheader() (previously declared in /var/data/wordpress/wp-content/plugins/post_notification/post_notification.php:40) in /var/data/wordpress/wp-content/plugins/post_notification/post_notification.php on line 43
Morty (Administrator) #2
User title: Author
Member since Jun 2007 · 928 posts
Group memberships: Administratoren, Mitglieder
Show profile · Link to this post
Which version are you using? *Looking confused* Maybe something went wrong uploading.
chrisp (Guest) #3
No profile available.
Link to this post
Subject: same issue here
i'm running Wordpress 2.2.1

i was using post notification 1.1.6 but sometimes it would send out 5 of the same emails to people and they would get mad when it would occur often.  so i deactivated the plugin. 
i upload post notification 1.2 and when i try to install it is telling me: Plugin could not be activated because it triggered a fatal error.

I tried uploading it twice to the server to make sure the upload was complete.  not sure what the issue is?
Morty (Administrator) #4
User title: Author
Member since Jun 2007 · 928 posts
Group memberships: Administratoren, Mitglieder
Show profile · Link to this post
One of the problems of the WP-Plugininfrastructure is, that it's really hard to find out what's going wrong, because it just tells that something went wrong. :-(

Try deleting:
add_action('activate_post_notification/post_notification.php','post_notification_install_wrap');
in the post_notification.php.

You should then be able to get an error once you visit the Post-Notification Page. (Installation is automatically triggered each time you visit that page,)
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum