MEC - Return Error When Confirm Booking

Hi There,

I tried use bulk action feature to confirm a booking, then i hit with following errors. The booking is actually confirmed after return to the screen.

Warning: html_entity_decode() expects parameter 2 to be long, string given in /home2/tusitai1/public_html/dhammaearth.org/wp-content/plugins/modern-events-calendar/app/libraries/notifications.php on line 215

Warning: Cannot modify header information - headers already sent by (output started at /home2/tusitai1/public_html/dhammaearth.org/wp-content/plugins/modern-events-calendar/app/libraries/notifications.php:215) in /home2/tusitai1/public_html/dhammaearth.org/wp-includes/pluggable.php on line 1216

Looking forward your reply thanks.

Hi There @dhammaearthit

If the booking is confirmed, you can safely disable WP_DEBUG mode by editing the wp-config.php file which is located in the root of your WordPress installation. This will prevent displaying error messages to your visitors.

Locate the following line:
define('WP_DEBUG', true);
Change it as follows.
define('WP_DEBUG', false);

Then you can install a plugin like this (https://wordpress.org/plugins/wp-serverinfo/), head over to Dashboard -> WP-Serverinfo and find out your PHP version make sure that you’re using PHP v5.6.x or above to avoid any incompatibility issues.

Thanks!

Noted, thanks!

You’re welcome.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.