alexmustin / woocustomemails

Repo for the WC Custom Emails Per Product plugin
https://wordpress.org/plugins/woo-custom-emails-per-product/
GNU General Public License v2.0
21 stars 5 forks source link

ERROR: Cannot redeclare log_message() #1

Closed alexmustin closed 4 years ago

alexmustin commented 4 years ago

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:

  1. Update the plugin to version 2.2.3
  2. Edit a WooCommerce product
  3. See error

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/