• Hi,

    I am seeing the fatal error below after updating the plugin.

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

    I debugged the plugin and found that the updated version is not compatible with sumo reward point. I need to use both of the plugins. Before this everything was fine.

    I can supply information/plugin to reproduce the error via private email.

    Please advise.

    Thank you.

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

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

    (@pomegranate)

    Hi! What’s the error you’re seeing?
    The getAttribute() error is an indication of faulty html output, which could also be a PHP error somewhere. (in a table, but outside the table cells for example). If this is a Sumo Reward Points error there’s not much I can do about it…
    Let me know and I’ll see if I can help though!

    I also recommend contacting he SRP developers, since it’s a plugin you paid for!

    Ewout

    Thread Starter ahyatemat

    (@ahyatemat)

    Thank you for your reply. The error I get:

    Fatal error: Call to undefined method DOMText::getAttribute() in wp-content\plugins\woocommerce-pdf-invoices-packing-slips\lib\dompdf\include\cellmap.cls.php on line 437

    With ‘Output to HTML’ checkbox ticked, I can see the HTML invoice is indeed created.

    Any idea what’s wrong?

    Plugin Contributor Ewout

    (@pomegranate)

    Hi! I was actually referring to errors in the HTML output itself, not the PF error. If you’re not seeing any PHP errors or notifications in the HTML output, you will need to check the HTML source – this is not properly formatted (browsers are usually a lot more forgiving than the PDF engine). I recommend checking the portion that outputs something related to the SRP plugin specifically. You could also try using an HTML validator and paste the HTML output there.

    Let me know what you find!
    Ewout

    Thread Starter ahyatemat

    (@ahyatemat)

    I think I found the error. Checked with HTML validator, and here’s the result:

    Misplaced non-space characters inside a table.
    <tbody>
    Pt17900 <tr class=”2070″>

    How can I fix this?

    Plugin Contributor Ewout

    (@pomegranate)

    Hi! Contact the Sumo Reward Points developers and tell them to fix the output of the reward points. They’re probably hooking a filter the wrong way!

    Good luck and let me know if you need anything from my end!

    Ewout

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Fatal error with other plugin’ is closed to new replies.