dexter90
Forum Replies Created
-
Alright, got that. Thank you for fixing this bug 🙂
*Edit*
It does return data but the comparison of the two arrays are failing.
in wp-db.php line 2253-2257:$converted_data = $this->strip_invalid_text( $data ); if ( $data !== $converted_data ) { return false; }it ends in “return false”. If commenting it out, it’s possible to make reservations and getting e-mails.
I need help to resolve this, as I don’t understand why this check fails.
- This reply was modified 7 years, 6 months ago by dexter90.
Hey again,
through some debugging, I found that the error seems to be in booking_class.php line 1375 (calling $wpdb->insert()).
in $wpdb->insert() they call _insert_replace_helper()… inside this function in line 2071 of wp-db.php they doing:
$data = $this->process_fields( $table, $data, $format );inside process_fields() they call:
$converted_data = $this->strip_invalid_text( $data );it seems, that this function returns different data than $data has. In my test, this function did not return any data (empty var).
Hope this helps.
- This reply was modified 7 years, 6 months ago by dexter90.