Support

Home Forums Event Espresso Premium Warning: Missing argument 2 for wp_kses()

Warning: Missing argument 2 for wp_kses()

Posted: December 7, 2012 at 3:39 am

Viewing 2 reply threads


W.S. Chan

December 7, 2012 at 3:39 am

After I set up Mollie iDeal payments, I can pay by iDeal through Mollie, but once returning to the confirmation page, it shows 4x this line above the confirmation data:

Warning: Missing argument 2 for wp_kses(), called in /home/MY WEBSITE/public_html/wp-content/plugins/event-espresso/includes/functions/email.php on line 108 and defined in /home/MY WEBSITE/public_html/wp-includes/kses.php on line 550

Is there any way to solve this/what is going wrong there? Thanks!


Josh

  • Support Staff

December 7, 2012 at 7:39 am

Hi there,

We were of the warning about wp_kses and Seth fixed it yesterday morning and released a hotfix update yesterday afternoon. The error shouldn’t display unless the server is incorrectly configured to display errors on the front end. Errors like these should be logged and not set to display on a production site.

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:

@ini_set(‘display_errors’,’Off’);

http://codex.wordpress.org/Editing_wp-config.php#Configure_Error_Log

The wp_kses() error was fixed in Event Espresso 3.1.29.1, so you can update to that version as well.


W.S. Chan

December 7, 2012 at 8:15 am

Hello Josh, thanks a lot! This worked and the update solved this issue. Appreciate your fast and detailed answer.

Viewing 2 reply threads

The support post ‘Warning: Missing argument 2 for wp_kses()’ 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