Fatal error
-
Hello,
After adding the plugin I change the price and I save the product. That is when I get this fatal error on my website.
Fatal error: Uncaught Exception: DateTime::__construct(): Failed to parse time string (--22/07/2020 18:00:00) at position 0 (-): Unexpected character in C:\xampp\htdocs\mywebsite\wp-content\plugins\change-prices-with-time-for-woocommerce\admin\class-raise-prices-with-time-for-woocommmerce-admin.php:238 Stack trace: #0 C:\xampp\htdocs\mywebsite\wp-content\plugins\change-prices-with-time-for-woocommerce\admin\class-raise-prices-with-time-for-woocommmerce-admin.php(238): DateTime->__construct('--22/07/2020 18...') #1 C:\xampp\htdocs\mywebsite\wp-includes\class-wp-hook.php(287): Raise_Prices_With_Time_For_Woocommmerce_Admin->wc_product_save(1020006739, Object(WP_Post)) #2 C:\xampp\htdocs\mywebsite\wp-includes\class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array) #3 C:\xampp\htdocs\mywebsite\wp-includes\plugin.php(478): WP_Hook->do_action(Array) #4 C:\xampp\htdocs\mywebsite\wp-content\plugins\woocommerce\includes\admin\class-wc-admin-meta-boxes.php(222): do_action('woocommerce_pro...', 1020006739, Object(WP_P in C:\xampp\htdocs\mywebsite\wp-content\plugins\change-prices-with-time-for-woocommerce\admin\class-raise-prices-with-time-for-woocommmerce-admin.php on line 238
Any idea’s on what might be the problem? Thanks in advance
The page I need help with: [log in to see the link]
- The topic ‘Fatal error’ is closed to new replies.