• Resolved vrpr

    (@vrpr)


    Hello!
    I installed wordpress 4.9 and activate plugin “WP Hotel Booking” (You can use any theme – for example “Twenty Fifteen”). I come to front end and press “Customize” – I can see customizer panel on left side and error text on right:

    Notice: Undefined property: wpdb::$hotel_booking_order_items in C:\xampp\htdocs\wpserver…\wp-includes\wp-db.php on line 625
    WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ‘WHERE order_item_id IS NOT NULL’ at line 1]
    SELECT order_item_id FROM WHERE order_item_id IS NOT NULL

    I did not see this error in wordpress 4.8.3
    I think it is in files thank-you.php and booking-details.php or maybe more.
    Thanks

Viewing 1 replies (of 1 total)
  • Plugin Contributor Lee

    (@leehld)

    Hello @vrpr,

    Thank you for your report. We fixed and updated this issue in the version 1.7.9.6 of WP Hotel Booking plugin. Please update and check it again.

    Best Regards,

    Lee

Viewing 1 replies (of 1 total)
  • The topic ‘error in SQL syntax’ is closed to new replies.