WordPress.org

Ready to get started?Download WordPress

Forums

Triggers fatal error (9 posts)

  1. murky
    Member
    Posted 7 years ago #

    The subject says it all....

  2. MichaelH
    Member
    Posted 7 years ago #

    But where are you getting the error?

    Is it a plugin? If so link to the plugin, please.

  3. richschmidt
    Member
    Posted 7 years ago #

    I got here from the Pre-Publish Reminders List plug-in page. So I'm guessing he's talking about that. (See the tag above, too...)

  4. richschmidt
    Member
    Posted 7 years ago #

    2.2.1 isn't letting me install it, giving me the "triggers fatal error" error message.

    I'm guessing it's conflicting with another plugin, but I haven't gone to the trouble yet of deactivating them all one-by-one to find out which it is...

  5. chromaphobia
    Member
    Posted 7 years ago #

    I'm having a different error for the same plugin. The plugin was extracted and dropped into the plugin folder under wp-content. See error message below.

    WordPress database error: [Table 'chroacom_blog.wp_pre_publish_reminders' doesn't exist]
    SELECT Reminder_ID, Reminder_Text, Reminder_Background_Color, Reminder_Text_Color, Reminder_Order, Is_Bold, Is_Italic FROM wp_pre_publish_reminders ORDER BY Reminder_Order

    Are the fields listed in the SELECT statement the only fields needed in this table? If so, what are their sizes and datatypes? Please advise.

  6. krauth
    Member
    Posted 7 years ago #

    I tried to install this plugin today and keep getting the following error:

    WordPress database error: [Table 'xxxxxxxxxxxx.wp_pre_publish_reminders' doesn't exist]
    SELECT * FROM wp_pre_publish_reminders ORDER BY Reminder_Order ASC

    I am not a php programmer but it appears that the plug in install is not doing the following code:

    function install() {
    		global $wpdb;
    		if( self::$version != get_option( 'nfoppr_ver' ) ) {
    			if( $wpdb->get_var( "show tables like '" . $wpdb->prefix . 'pre_publish_reminders' . "'" ) != $wpdb->prefix . 'pre_publish_reminders' ) {
    				$query = "CREATE TABLE " . $wpdb->prefix . 'pre_publish_reminders' . " (
    					Reminder_ID INT(9) NOT NULL AUTO_INCREMENT,
    					Reminder_Text VARCHAR(255) NOT NULL,
    					Reminder_Background_Color VARCHAR(6) DEFAULT 'FFFFFF' NOT NULL,
    					Reminder_Text_Color VARCHAR(6) DEFAULT '000000' NOT NULL,
    					Reminder_Order INT(9) NOT NULL,
    					Is_Bold BOOL NOT NULL,
    					Is_Italic BOOL NOT NULL,
    					PRIMARY KEY (Reminder_ID));";
    				require_once(ABSPATH . 'wp-admin/upgrade-functions.php');
    				dbDelta($query);
    				update_option( 'nfoppr_ver', self::$version, 'The version number of the Pre-Publish Reminder List Plugin' );
    			}
    		}
    	}

    Any ideas on how to fix this?

  7. krauth
    Member
    Posted 7 years ago #

    Don't know how to fix the plugin but I got it working by making up a sql statement with the table data using phpMyAdmin manually created the required table. The information is as follows:

    CREATE TABLE wp_pre_publish_reminders (
    Reminder_ID INT(9) NOT NULL AUTO_INCREMENT,
    Reminder_Text VARCHAR(255) NOT NULL,
    Reminder_Background_Color VARCHAR(6) DEFAULT 'FFFFFF' NOT NULL,
    Reminder_Text_Color VARCHAR(6) DEFAULT '000000' NOT NULL,
    Reminder_Order INT(9) NOT NULL,
    Is_Bold BOOL NOT NULL,
    Is_Italic BOOL NOT NULL,
    PRIMARY KEY (Reminder_ID));

    Hope this helps someone.

  8. la6ata
    Member
    Posted 6 years ago #

    I installed Flickr-Tag plugin and activated it ok, but I try to post messages using it and get this:

    Fatal error: Call to undefined function: file_put_contents() in /home/la6ataco/public_html/circo/wp-content/plugins/flickr-tag/flickr-tag-common.php on line 104

    Can any one help me???

  9. nickohrn
    Member
    Posted 6 years ago #

    I'm releasing a new version of the Pre-Publish Reminders plugin soon, so this error should be fixed up.

Topic Closed

This topic has been closed to new replies.

About this Topic