• Hi,

    on my site when I go to WooCommerce – setting – email, I get an error saying this website is having technical difficulties; query monitor gives me 2 PHP errors:

    Warning include(emails/class-wc-email-customer-on-hold-order.php): failed to open stream: No such file or directory 1
    +
    wp-content/plugins/woocommerce/includes/class-wc-emails.php:220
    Plugin: woocommerce

    Warning include(): Failed opening ’emails/class-wc-email-customer-on-hold-order.php’ for inclusion (include_path=’.:/usr/share/php’) 1
    +
    wp-content/plugins/woocommerce/includes/class-wc-emails.php:220
    Plugin: woocommerce

    Now I contacted WooCommerce and they said the problem is one of my plugins, after turning them all off and back on, I could narrow it down to the WooCommerce PDF invoices plugin. I went through the ‘read this first’ steps, all seems okay, basic template “simple” as well.

    the woocommerce guy sent me this:

    “I’ve taken a look at this line of code and I see that it is related to your site’s email templates. In this case, it seems that instead of getting the expected email template, it got a boolean value.”

    So if possible, a little help please? I don’t know how to solve this…

    regards
    evi

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Contributor Ewout

    (@pomegranate)

    Hello Evi,
    Our plugin does not make any modifications to the email templates. I think the reason the error goes away when you deactivate the PDF Invoice plugin is probably because you have the “Enable debug output” option on in the Status tab. In that case, deactivating PDF Invoices will hide those errors from your site but not actually fix the errors (they’re just not shown).

    The answer from WooCommerce seems to suggest there’s an issue with the email templates on your woocommerce install. I think the template may simply be missing and would suggest to reinstall WooCommerce to make sure all the files are there.

    Hope that helps!

Viewing 1 replies (of 1 total)
  • The topic ‘PHP error – sth to do with email template WooCommerce’ is closed to new replies.