In ProgressShop Order Hours Enabled – Error “The site is experiencing technical”
Tagged: Order Hours
- This topic has 3 replies, 2 voices, and was last updated 3 years, 6 months ago by
Alex.
- AuthorPosts
- March 27, 2020 at 2:34 am #21902
listmaker
ParticipantUsing Lafka Fast Food Theme (Pizza Template).
Appearance –> Theme Options –> Shop
I enable Order Hours then click save settings which immediately shuts down admin portal wit the following message:
“The site is experiencing technical difficulties. Please check your site admin email inbox for instructions.”
Have only added the plugins that came with the template.
March 27, 2020 at 2:36 am #21903listmaker
ParticipantError 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/wMarch 29, 2020 at 10:51 am #21914Alex
KeymasterHello listmaker,
We are checking now. Will let you know for the outcome.
Regards,
AlexMarch 29, 2020 at 3:47 pm #21915Alex
KeymasterHello listmaker,
This error is really strange, because wp_timezone() is core WordPress function, and if it can’t be found, this means your WordPress instance is broken somehow.
We’ve tested and couldn’t reproduce same behavior.Please test on clean WordPress installation.
Regards,
Alex - AuthorPosts
You must be logged in and have valid license to reply to this topic.