Home Forums WoodMart support forum Null exception in get_parent_id() in unit-of-measure/class-main.php

Null exception in get_parent_id() in unit-of-measure/class-main.php

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #724208

    tegards
    Participant

    Hello Woodmart team,

    since the latest updates I noticed that I’m getting an error page when filtering on a woocommerce product archive page and the result is 0 products. Then the WordPress “There was a critical error on your site.” error page gets displayed.

    Previously a “no products found” error message was displayed. But now this error message is never shown … only the wp error page.

    Steps to reproduce:
    1. Go to https://devstaging.tegards.com/shop/c/verglasungen-sichtschutz/glasschiebewaende-deluxe/
    2. Input the following filter parameters:
    – Einbaubreite in mm: 1250
    – Farben: default value (alle Farben)
    – Mitnehmer: nothing selected
    – versperrbar: ja
    – Öffnungsvariante: beiseitig symmetrisch
    – Glasvarianten: lagernde Gläser mit Fixmaßen
    3. Press “Produkte anzeigen”
    4. The error page should be displayed.

    In the debug.log file I looked at the error trace and found that this problem probably originated from Woodmart’s unit-of-measure code. The log is in the private section.

    How can I fix this?

    Best regards
    Bernhard

    #724211

    Serg Sokhatskyi
    Keymaster
    Xtemos team

    Hello,

    To troubleshoot this, please deactivate all plugins except the essential ones:
    – WoodMart Core
    – WooCommerce
    – WPBakery Page Builder or Elementor

    If the issue disappears, reactivate the others one by one to find the conflict.

    If it persists with everything else off, please share your admin credentials in the Private content field and confirm we may temporarily deactivate plugins and switch themes for testing (15 to 20 minutes). Please back up your site before granting access.

    Best regards,
    XTemos Studio

    #724216

    tegards
    Participant

    Hello Serg,

    thanks for your quick response. When deactivating all plugin except the ones you mentioned, I still get the error in the log and no products are shown.

    Please take a look at it. It is a staging env, so you can try around as you like 😉

    Beste regards
    Bernhard

    #724245

    Serg Sokhatskyi
    Keymaster
    Xtemos team

    Hello,

    Could you please also provide us with access to your error logs so we can monitor them in real time?

    Kind Regards

    #724257

    tegards
    Participant

    Hello Serg,

    ftp credentials are below. You can delete / modify files as you like.

    Best regards
    Bernhard

    #724260

    Serg Sokhatskyi
    Keymaster
    Xtemos team

    As I can see, most of the plugins are still active. Please deactivate them temporarily so I can troubleshoot this.

    #724261

    tegards
    Participant

    Done … feel free to play around in this env. It is a staging env and will be deleted afterwards 😉

    #724270

    Serg Sokhatskyi
    Keymaster
    Xtemos team

    Hello,

    The filters on that page are custom (likely implemented in your child theme) and are not WoodMart’s built‑in shop filters. Issues caused by custom code fall outside our theme support scope. Please ask your developer to debug that custom filter logic.

    Kind regards,
    XTemos Studio

Viewing 8 posts - 1 through 8 (of 8 total)