Got notices and warning after submit
-
When wp-config had
define( ‘WP_DEBUG’, true );,
I got 2 Notices and a Warning like this;Notice: Array to string conversion in <path>/wp-content/plugins/wp-time-slots-booking-form/cp-main-class.inc.php on line 1367
Notice: Array to string conversion in <path>/wp-content/plugins/wp-time-slots-booking-form/cp-main-class.inc.php on line 1368
Warning: Cannot modify header information – headers already sent by (output started at <path>/wp-content/plugins/wp-time-slots-booking-form/cp-main-class.inc.php:1367) in <path>/wp-content/plugins/wp-time-slots-booking-form/cp-main-class.inc.php on line 1357
with setting WP_DEBUG to false those warning and notices are gone and sent nicely, but if those warning showed sent only appointment mail. (not sent confirmation mail to the user who submit the form.)
—–
I can set WP_DEBUG to false, but I wanna turn it true while developing page templates.
Is there any solution?Using WordPress 6.0.2
WP Time Slots Booking Form 1.1.74Thanks.
- The topic ‘Got notices and warning after submit’ is closed to new replies.