Title: Error on page 404
Last modified: February 15, 2018

---

# Error on page 404

 *  Resolved [vrpr](https://wordpress.org/support/users/vrpr/)
 * (@vrpr)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/error-on-page-404/)
 * Hello
 * I do not know what happend, but yesterday I got error when I tested page 404 (
   on local host). It happend for all themes if plugin “WP Hotel Booking” is active.
 * It happened when in file “wp-config.php” there is:define(‘WP_DEBUG’, true);
    
   404 page is openning all is right, but I have got error: “Notice: Trying to get
   property of non-object in C:\xampp\htdocs\wpserver\home\localhost\www\bfrhotelnew\
   wp-content\plugins\wp-hotel-booking\includes\wphb-template-functions.php on line
   447 class=”error404 hfeed”>”
 * If :define(‘WP_DEBUG’, false); – I did not got any error.
 * I always have “WP_DEBUG” – “true”, but I see this error only now. I tested page
   404 before and I did not see this error before.
 * Best regards
    vrpr

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Contributor [Lee](https://wordpress.org/support/users/leehld/)
 * (@leehld)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/error-on-page-404/#post-9989104)
 * Dear [@vrpr](https://wordpress.org/support/users/vrpr/),
 * We checked and resolved this issue. Please update WP Hotel Booking plugin version
   1.8.8 and check it again. Thank you for your report.
 * Best Regards,
 * Lee
 *  Thread Starter [vrpr](https://wordpress.org/support/users/vrpr/)
 * (@vrpr)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/error-on-page-404/#post-9989602)
 * Hello Lee,
    I updated WP Hotel Booking plugin, but I get error again:
 * Notice: Trying to get property of non-object in C:\xampp\htdocs\wpserver\home\
   localhost\www\bfrhotelnew\wp-content\plugins\wp-hotel-booking\includes\wphb-template-
   functions.php on line 445
    class=”error404 hfeed”>
 * Best regards
    vrpr
 *  Plugin Contributor [Lee](https://wordpress.org/support/users/leehld/)
 * (@leehld)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/error-on-page-404/#post-9993090)
 * Hello [@vrpr](https://wordpress.org/support/users/vrpr/),
 * Please deactivate and activate WP Hotel Booking version 1.8.8 again. The issue
   has been resolved.
 * Best Regards,
 * Lee
 *  Thread Starter [vrpr](https://wordpress.org/support/users/vrpr/)
 * (@vrpr)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/error-on-page-404/#post-9993299)
 * Hello Lee
 * I deleted plugin and installed it again. After that all is working right!
 * Thanks!
 * Best regards
    vrpr

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Error on page 404’ is closed to new replies.

 * ![](https://ps.w.org/wp-hotel-booking/assets/icon-256x256.png?rev=2442679)
 * [WP Hotel Booking](https://wordpress.org/plugins/wp-hotel-booking/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-hotel-booking/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-hotel-booking/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-hotel-booking/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-hotel-booking/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-hotel-booking/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [vrpr](https://wordpress.org/support/users/vrpr/)
 * Last activity: [8 years, 2 months ago](https://wordpress.org/support/topic/error-on-page-404/#post-9993299)
 * Status: resolved