Reply To: Shop Order Hours Enabled – Error “The site is experiencing technical”

#21903
listmaker
Participant

Error Details
=============
An error of type E_ERROR was caused in line 29 of the file /home/xxx/public_html/demo/wp-content/plugins/lafka-plugin/incl/order-hours/Lafka_Order_Hours.php. Error message: Uncaught Error: Call to undefined function wp_timezone() in /home/xxx/public_html/demo/wp-content/plugins/lafka-plugin/incl/order-hours/Lafka_Order_Hours.php:29
Stack trace:
#0 /home/xxx/public_html/demo/wp-content/plugins/lafka-plugin/incl/order-hours/Lafka_Order_Hours.php(45): Lafka_Order_Hours::get_timezone()
#1 /home/xxx/public_html/demo/wp-content/plugins/lafka-plugin/incl/order-hours/Lafka_Order_Hours.php(64): Lafka_Order_Hours::get_order_hours_time()
#2 /home/xxx/public_html/demo/wp-content/plugins/lafka-plugin/incl/order-hours/Lafka_Order_Hours.php(159): Lafka_Order_Hours::is_shop_open()
#3 /home/xxx/public_html/demo/wp-content/plugins/lafka-plugin/incl/order-hours/Lafka_Order_Hours.php(35): Lafka_Order_Hours->handle_shop_status()
#4 /home/xxx/public_html/demo/wp-includes/class-wp-hook.php(286): Lafka_Order_Hours->init(”)
#5 /home/xxx/public_html/demo/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#6 /home/xxx/public_html/demo/w