• von Dam

    (@kevindamstra)


    So I ran into the “No block-level parent error”, googled it and found this thread Topic: “No block-level parent…

    Unfortunately, the fix didn’t work for me. Anyone suggestions?
    I’d like to try to fix this without updating WooCommerce, even though I’m working on updating the website, I kinda need a fix right now.

    We don’t get any red flags on the plugin’s status page and switching to the “simple” lay-out doesn’t solve our issues. Currently running version 2.1.3 of the plugin.

    WooCommerce Status;

    WC Versie: 2.1.12
    WC Database Versie: 2.1.12
    WP Versie: 4.1.22
    WP Multisite Ingeschakeld: Nee
    Webserver info: nginx/1.13.6
    PHP Versie: 5.6.32
    MySQL versie: 5.6.35
    WordPress Memory Limit: 128 MB

    Best regards,

    Kevin

    • This topic was modified 7 years, 2 months ago by von Dam.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Ewout

    (@pomegranate)

    Hello Kevin,
    When you say “The fix didn’t work for me”, what did you try precisely? That thread doesn’t apply to the latest version because it has a different version of DomPDF (in which these issues usually do not occur).

    Some things you can do/check:

    • Try with the “Use alternative HTML5 parser to parse HTML” option in the PDF Invoice > Status tab
    • Are you using a custom template? If so, try with the default “Simple” template to see if that resolves the issue
    • Are you using HTML in any of the settings fields (footer, shop address, etc.)? Does it work if you remove this?

    I see that you’re using a very old version of WooCommerce, 2.1. I’m not sure, but this could also be related. Officially we have a minimum requirement of WooCommerce 2.2. If you have a staging copy of this site, you could try if updating WC fixes the issue.

    Failing all of the above, could you enable HTML output, copy the source of the resulting page and paste it in https://pastebin.com/ so we can try to replicate this?

    Let us know what you find!
    Ewout

    Thread Starter von Dam

    (@kevindamstra)

    Hello Ewout,

    Thanks for the reply,

    I know we’re still using an old version of WooCommerce, the problem is though, our last webdeveloper cut some corners and manually set the version number to 9999, preventing us from updating any of the plugins in the past.

    If I try to update any of the WooCommerce related plugins I get all sorts of issues, looks like the custom theme they developed isn’t really a theme but more a hack into the core files.

    To answer your questions;
    – I cannot select “Use alternative HTML5 parser”, it’s just not there.
    – Problem still exists with “Simple template”.
    – We’re not using any custom HTML in the settings field.

    What do you mean by enabling HTML output?

    With best regards,

    Kevin

    Plugin Contributor Ewout

    (@pomegranate)

    Hello Kevin,
    You wrote “Currently running version 2.1.3 of the plugin.”, but also “our last webdeveloper cut some corners and manually set the version number to 9999, preventing us from updating any of the plugins in the past.”. If you’re not seeing the “Use alternative HTML5 parser” option under WooCommerce > PDF Invoices > Status, you’re most likely using an old version of the PDF Invoice plugin. Can you double check this?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Another; “No block-level parent found. Not good” Error’ is closed to new replies.