An error of type E_ERROR was caused in line 127 of the file .../wp-content/plugins/woo-custom-emails-per-product/includes/class-woo-custom-emails-output.php.
Error message: Cannot redeclare log_message() (previously declared in /home/{user}/public_html/wp-content/plugins/woo-custom-emails-per-product/includes/class-woo-custom-emails-output.php:127)
To Reproduce
Steps to reproduce the behavior:
Update the plugin to version 2.2.3
Edit a WooCommerce product
See error
Expected behavior
Users should not see this error message.
Screenshots
N/A
Desktop (please complete the following information):
N/A
Smartphone (please complete the following information):
Describe the bug Users are receiving an error:
Error Details
An error of type E_ERROR was caused in line 127 of the file .../wp-content/plugins/woo-custom-emails-per-product/includes/class-woo-custom-emails-output.php. Error message: Cannot redeclare log_message() (previously declared in /home/{user}/public_html/wp-content/plugins/woo-custom-emails-per-product/includes/class-woo-custom-emails-output.php:127)
To Reproduce Steps to reproduce the behavior:
Expected behavior Users should not see this error message.
Screenshots N/A
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context Support Forum link: https://wordpress.org/support/topic/help-with-redeclare-log_message-error-message/