Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Ewout

    (@pomegranate)

    Hi Ralf,
    Can you try the steps from this topic? Read this first!

    Let me know what you find

    Thread Starter Rallemann

    (@rallemann)

    Hi Ewout,

    i’m not really an expert…but i tried.

    With the html filter i will get an html invoice.

    Debug says:

    Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method DDWPinfo_Admin_Pages::admin_pages() should not be called statically in /homepages/21/d119666768/htdocs/wordpress/wp-includes/plugin.php on line 429

    Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method DDWPinfo_Admin_Pages::dashboard_styles() should not be called statically in /homepages/21/d119666768/htdocs/wordpress/wp-includes/plugin.php on line 429

    Strict Standards: Non-static method DDWPinfo_Admin_Pages::script_suffix() should not be called statically in /homepages/21/d119666768/htdocs/wordpress/wp-content/plugins/woocommerce-de/includes/ddwpinfo/ddwpinfo.php on line 326

    Strict Standards: Non-static method DDWPinfo_Admin_Pages::script_version() should not be called statically in /homepages/21/d119666768/htdocs/wordpress/wp-content/plugins/woocommerce-de/includes/ddwpinfo/ddwpinfo.php on line 328

    Don’t know what it means ??

    Memory is 128mb.

    Permissions are ok.

    I’m using a custom template but i don’t like do deactivate it…

    Greets

    Ralf

    Plugin Contributor Ewout

    (@pomegranate)

    Hi Ralf,
    Those errors do not come from the PDF Invoices plugin but from another plugin.
    The template I am talking about is not your WordPress Theme but the PDF template.

    By the way, if this is on a live site I recommend turning off WP_DEBUG again, as this might also give you errors on the front page.

    If you send me a link to your site at [email protected] I’ll try to help further.

    Ewout

    Thread Starter Rallemann

    (@rallemann)

    Done – thanx!

    The Template is the standard “Simple” one…

    Plugin Contributor Ewout

    (@pomegranate)

    The issue appears to be a filter applied in the theme that created invalid HTML.
    With WP_DEBUG, it displayed the following error:

    Fatal error: Call to undefined method DOMText::getAttribute()

    For anyone else getting this error, this is a sign that your HTML is bad.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Can't print the invoice.’ is closed to new replies.