Posted: December 6, 2012 at 8:39 am
|
I just upgraded to EE 3.1.29 (after upgrading Calendar and Members Addon) and am seeing two issues — one warning and one new item: 1) WARNING: My payment page now displays the following warning message: > Warning: Missing argument 2 for wp_kses(), called in /home/[MY (where [MY DATABASE NAME] is my actual database name). The message displays twice on the page (two identical messages). The confirmation emails are being correctly sent to the registrants. FYI, my uploads/espresso/templates directory is empty, so there is no file there to cause the problem. 2) NEW ITEM: The payment page is now displaying a number below the line that says: > A confirmation email has been sent with additional details of your registration. The number seems to increment with each new registration (and represent a total number rather than a number of registrations for the event itself). I would rather not have it display. Please advise. Thanks. |
Hi Roger, I am sorry for the trouble on these. Do you have wp-debug turned on, or error reporting set to display? We’re aware of the warning about wp_kses and there is a developer working on fixing it, but it shouldn’t display unless the server is configured to display errors on the front end. Errors like these should be logged and not set to display on a production site. The other issue a new bug related to the new add event to calendar option that slipped through the cracks when testing. The number that you’re seeing is the attendee ID. What’s supposed to be there is a little add event to calendar, but somethings not right and we need to fix that. What you can do to remove the number for now is comment out line 57 of the event-espresso/templates/payment_page.php |
|
|
Josh, Thanks for the quick response. I don’t have WP debug on, and I am not aware of having error reporting on. How would I check? |
It’s usually the display_errors setting in the PHP.ini file: http://php.net/manual/en/errorfunc.configuration.php#ini.display-errors |
|
|
I’ve never touched the PHP.ini file, and I think I’ll just leave things as they are and live with the warning display for the time being until the problem is fixed. Thanks, though. |
Hi Roger, Usually error_display is set to ON for a server that is set up for development, with the understanding that when the site goes live, error_display will be disabled. It’s not recommended or secure to display errors on a live site. Otherwise server info will display on public facing pages if any errors get thrown. So it’s recommend to log errors on a live site, not display them. It may be possible to override the error display setting in php.ini by adding this line to the wp-config.php file above any require_once or include commands:
http://codex.wordpress.org/Editing_wp-config.php#Configure_Error_Log We will be releasing a hot fix later this afternoon, but here is the fix if you’d like to apply in now: If you open event-espresso/includes/functions/email.php, you can change line 108 to read:
|
|
|
Josh, 1) The @ini_set line worked to turn off the error display. 2) I went ahead and changed line 108 per your suggestion. Everything seems to be working now. Thanks again. |
The support post ‘Warning message displaying after upgrade to 3.1.29’ 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.