• Resolved odn808

    (@odn808)


    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.74

    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author codepeople

    (@codepeople)

    Hi,

    Please update to the version 1.1.75

    Thank you for using the plugin!

    Thread Starter odn808

    (@odn808)

    Thanks for re-ply!

    I updated the plugin to 1.1.76 but it still has same warnings and a notice.

    Notice: Array to string conversion in <path>/wp-content/plugins/wp-time-slots-booking-form/cp-main-class.inc.php on line 1372

    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:1372) in <path>/wp-content/plugins/wp-time-slots-booking-form/cp-main-class.inc.php on line 1358

    P.S.
    used under
    PHP 7.4
    mySQL 5.6.23

    Anyway, this is a great plugin!
    Thanks for your keeping upgrades!

    Plugin Author codepeople

    (@codepeople)

    Hi,

    Please update to the version 1.1.77.

    Thank you for using the plugin!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Got notices and warning after submit’ is closed to new replies.