• Resolved maureenrocheyellow

    (@maureenrocheyellow)


    Hi !
    Since I updated my client website, I can neither create or update PDF.
    I get the following error :

    Fatal error: Uncaught Error: Call to undefined function BEWPI() in /var/www/admin/web/y-dev01.yellow-internet.com/public_html/domaine-de-barbe/wp-content/uploads/woocommerce-pdf-invoices/templates/invoice/simple/ddb/body.php:34 Stack trace: #0 /var/www/admin/web/y-dev01.yellow-internet.com/public_html/domaine-de-barbe/wp-content/plugins/woocommerce-pdf-invoices/includes/abstracts/abstract-document.php(223): require() #1 /var/www/admin/web/y-dev01.yellow-internet.com/public_html/domaine-de-barbe/wp-content/plugins/woocommerce-pdf-invoices/includes/abstracts/abstract-document.php(243): BEWPI_Abstract_Document->buffer(‘/var/www/admin/…’) #2 /var/www/admin/web/y-dev01.yellow-internet.com/public_html/domaine-de-barbe/wp-content/plugins/woocommerce-pdf-invoices/includes/abstracts/abstract-document.php(178): BEWPI_Abstract_Document->get_html() #3 /var/www/admin/web/y-dev01.yellow-internet.com/public_html/domaine-de-barbe/wp-content/plugins/woocommerce-pdf-invoices/includes/abstracts/abstract-invoice.php(319): BEWPI_Abstract_Do in /var/www/admin/web/y-dev01.yellow-internet.com/public_html/domaine-de-barbe/wp-content/uploads/woocommerce-pdf-invoices/templates/invoice/simple/ddb/body.php on line 34.

    My wordpress version is 5.3.2. I use a custom theme but it doesn’t interact with the plugin.
    I’ve tested 2 version of Woocommerce version : 4.0.0 and 3.6.0.

    The error occurs every time I click on “create” or “edit” button

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Bas Elbers

    (@baaaaas)

    Change BEWPI() to WPI() and you should be good to go.
    Always make sure to update the custom template if you update the plugin.

    Thread Starter maureenrocheyellow

    (@maureenrocheyellow)

    Thank you ! It works and you were right, the customs templates were not up to date.

    PS: Just for info, I had to downgrade woocommerce because the plugin is not working with the lastest version. I guess it will be with the next update.

    Regards,

    Maureen

    Plugin Author Bas Elbers

    (@baaaaas)

    Great to hear that you’ve solved it.

    In what way our plugin is not working? I am trying to reproduce on my end, but can’t seem to find any issues.

    Thread Starter maureenrocheyellow

    (@maureenrocheyellow)

    Hello !

    Sorry for the delay, I was working on an other project.

    I’v reinstalled Woocommerce last version (4.0.1) and now it seems to work fine. I don’t know what happened last week, maybe the fatal error I had was caused by another plugin or the database not well updated …

    Anyway, it works now, so thanks for your time !

    Plugin Author Bas Elbers

    (@baaaaas)

    Thanks for letting me know. My pleasure.
    Would you be so kind to rate our plugin? That would be great! ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Fatal error: Uncaught Error: Call to undefined function BEWPI()’ is closed to new replies.