• Resolved sandras21

    (@sandras21)


    I downloaded plugin and it seems to be only plugin which actually is helping to create real invoice with VAT amounts, thank you a lot for that!
    However I have troubles to get it work and based on errors seems that problem is in date format..Anyway I have set date format to: d-m-Y
    I have tried to enter also other formats but all those gives an similar error.
    I would like to display date as 19.02.2016, is d-m-y correct in that case?

    Now, when I try to create pdf from Dashboard – Orders, I get an error:

    Fatal error: Call to undefined method DateTime::createFromFormat() in …htdocs/store/wp-content/plugins/woocommerce-pdf-invoices/includes/abstracts/abstract-bewpi-invoice.php on line 162.
    Warning: Wrong parameter count for round() in /store/wp-content/plugins/woocommerce-pdf-invoices/includes/abstracts/abstract-bewpi-invoice.php on line 455
    Warning: Wrong parameter count for round() in /store/wp-content/plugins/woocommerce-pdf-invoices/includes/abstracts/abstract-bewpi-invoice.php on line 456

    What shall I do to be able to create invoice?

    https://wordpress.org/plugins/woocommerce-pdf-invoices/

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

    (@baaaaas)

    To get date format like 19.02.2016 use: d.m.Y
    Let me know if you got it to work. 🙂

Viewing 1 replies (of 1 total)
  • The topic ‘Fatal error when trying to open invoice’ is closed to new replies.