Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
All Events Have Warning Messages! | Event Espresso - Staging Server

Support

Home Forums Event Espresso Premium All Events Have Warning Messages!

All Events Have Warning Messages!

Posted: January 2, 2013 at 1:51 pm

Viewing 4 reply threads


Native Plant Salvage

January 2, 2013 at 1:51 pm

After installing the 3.1.29.1 update, ALL of the events have this warning message-

Warning: Missing argument 2 for wpdb::prepare(), called in /home/nativepl/public_html/wp-content/plugins/event-espresso/templates/registration_page.php on line 81 and defined in /home/nativepl/public_html/wp-includes/wp-db.php on line 990

I have no idea how to resolve this issue-help!

Thanks in advance!


Josh

January 2, 2013 at 1:59 pm

Hi there,

Which method did you use to update the plugin? Can you check to see what it says on line 81 of wp-content/plugins/event-espresso/templates/registration_page.php? It should read:

$data->event = $wpdb->get_row( $wpdb->prepare( $sql, NULL ), OBJECT);


Native Plant Salvage

January 2, 2013 at 2:20 pm

Hello!

This is what it currently reads-

$data->event = $wpdb->get_row( $wpdb->prepare( $sql ), OBJECT);
$num_rows = $wpdb->num_rows;

Perhaps I didn’t install the update correctly? When I try to upload the .zip file it says the upgrade has failed.


Native Plant Salvage

January 2, 2013 at 2:54 pm

I figured out what I did wrong, I didn’t install the update correctly. Everything is running smoothly now! Thanks !


Josh

January 2, 2013 at 2:56 pm

Hi there,

In this case, the update did not run, and the code you posted confirms that you’re still on the older version of Event Espresso.

In order to upload the zip file for the new version, you’ll need to deactivate and delete the old version first. Please see this guide for step by step updating instructions:

http://staging.eventespresso.com/wiki/updating-event-espresso/

and please review this post about updating to Event Espresso 3.1.29:
http://staging.eventespresso.com/2012/12/what-you-need-to-know-about-upgrading-wordpress-and-event-espresso/

Alternatively, you can use the auto update feature as well.

Viewing 4 reply threads

The support post ‘All Events Have Warning Messages!’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso - Staging Server