Deprecated Function Error in Cart All In One Plugin on WooCommerce Site
-
Dear Support Team,
I am encountering an issue with the “Cart All In One For WooCommerce” plugin on my website, which seems to be causing a critical error in conjunction with WooCommerce.
Issue Description:
When the debug log is enabled (debug log = true
), the following error message is logged:[30-Dec-2023 14:18:30 UTC] PHP Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in .../public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php on line 447
Troubleshooting Steps Taken:
- Verified that this error is not a known issue from WooCommerce’s end.
- Isolated the problem to the “Cart All In One For WooCommerce” plugin by observing that the error only occurs when this plugin is active.
Suspected Cause:
The error suggests that the deprecated PHPexplode()
function is being used incorrectly, possibly by passing anull
value as the second parameter.Request:
Could you please investigate whether the “Cart All In One For WooCommerce” plugin uses theexplode()
function in a way that might cause this error? If so, is there a patch or an update available that rectifies this deprecated function usage?Your assistance in resolving this issue would be greatly appreciated, as it is impacting the functionality of my online store.
Thank you for your attention to this matter.
Best regards,
Md Jahidul Islam
- The topic ‘Deprecated Function Error in Cart All In One Plugin on WooCommerce Site’ is closed to new replies.