Home / Forums / WoodMart support forum / Null exception in get_parent_id() in unit-of-measure/class-main.php
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
- This topic has 7 replies, 2 voices, and was last updated 1 month ago by
Serg Sokhatskyi.
-
AuthorPosts
-
July 23, 2026 at 5:15 pm #724208
tegardsParticipantHello 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
BernhardJuly 23, 2026 at 5:19 pm #724211Hello,
To troubleshoot this, please deactivate all plugins except the essential ones:
– WoodMart Core
– WooCommerce
– WPBakery Page Builder or ElementorIf 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 StudioJuly 23, 2026 at 5:45 pm #724216
tegardsParticipantHello 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
BernhardJuly 24, 2026 at 8:48 am #724245Hello,
Could you please also provide us with access to your error logs so we can monitor them in real time?
Kind Regards
July 24, 2026 at 10:18 am #724257
tegardsParticipantHello Serg,
ftp credentials are below. You can delete / modify files as you like.
Best regards
BernhardJuly 24, 2026 at 10:59 am #724260As I can see, most of the plugins are still active. Please deactivate them temporarily so I can troubleshoot this.
July 24, 2026 at 11:06 am #724261
tegardsParticipantDone … feel free to play around in this env. It is a staging env and will be deleted afterwards 😉
July 24, 2026 at 2:21 pm #724270Hello,
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 -
AuthorPosts
- You must be logged in to create new topics. Login / Register