error in PHP log: WC_Log_Handler_File::get_log_file_path
-
Page looks OK but seeing this in the server log:
[25-Jul-2019 03:33:27 UTC] WC_Log_Handler_File::get_log_file_path was called incorrectly. This method should not be called before plugins_loaded. Backtrace: WooCommerce->log_errors, WC_Logger->critical, WC_Logger->log, WC_Log_Handler_File->handle, WC_Log_Handler_File->add, WC_Log_Handler_File->should_rotate, WC_Log_Handler_File::get_log_file_path, wc_doing_it_wrong. This message was added in version 3.0.
[25-Jul-2019 03:33:27 UTC] WC_Log_Handler_File::get_log_file_path was called incorrectly. This method should not be called before plugins_loaded. Backtrace: WooCommerce->log_errors, WC_Logger->critical, WC_Logger->log, WC_Log_Handler_File->handle, WC_Log_Handler_File->add, WC_Log_Handler_File->open, WC_Log_Handler_File::get_log_file_path, wc_doing_it_wrong. This message was added in version 3.0.
WP 5.2.2
WC 3.6.5
Also running plugin WooCommerce Donation/Tip CheckoutThe page I need help with: [log in to see the link]
The topic ‘error in PHP log: WC_Log_Handler_File::get_log_file_path’ is closed to new replies.