• Resolved Md Jahidul Islam

    (@md-jahidul-islam)


    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:

    1. Verified that this error is not a known issue from WooCommerce’s end.
    2. 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 PHP explode() function is being used incorrectly, possibly by passing a null value as the second parameter.

    Request:
    Could you please investigate whether the “Cart All In One For WooCommerce” plugin uses the explode() 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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support angelagrey

    (@angelagrey)

    Hi,

    Thank you for reaching out to us.

    That’s odd. Our plugin doesn’t interfere emails at all, so it should not be from our plugin, I supposed.

    Have you tested for conflict yet? If not, I would recommend running a full conflict test as described here:?https://docs.woocommerce.com/document/woocommerce-self-service-guide/

    It’s very possible that another plugin (or possibly even your theme) is causing the trouble, and this will help you identify the culprit.

    Best regards.

    Thread Starter Md Jahidul Islam

    (@md-jahidul-islam)

    Hi,

    Thank you for your response and the suggestion to conduct a full conflict test. After following your advice and employing the WordPress default troubleshooting method, I discovered that the issue persisted even when all other plugins were disabled, except for WooCommerce and the plugin in question.

    To further investigate, I directly disabled and then re-enabled each plugin individually, bypassing the default troubleshooting method. Interestingly, this approach did not recreate the issue, which led me to delve deeper into the matter.

    Upon further examination, I found that the root of the problem lies with the “Custom Order Statuses for WooCommerce” plugin. This seems to be the source of the conflict affecting email functionality.

    Given these findings, I will reach out to the developer of the “Custom Order Statuses for WooCommerce” plugin for further assistance.

    I appreciate your help and guidance in this matter. It appears that the issue does not originate from your plugin.

    Best regards.

    Plugin Support angelagrey

    (@angelagrey)

    Thanks a lot for the updates. I’m glad to hear you found the root cause. If there’s any problem while using our plugin, don’t hesitate to let me know. I’ll definitely take a look for you.

    Thread Starter Md Jahidul Islam

    (@md-jahidul-islam)

    Hi,

    Thank your for building this amazing plugin & the support! Really appreciate it. I think we can close this ticket now.

    Best Regards
    Md Jahidul Islam

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Deprecated Function Error in Cart All In One Plugin on WooCommerce Site’ is closed to new replies.