Home / Forums / WoodMart support forum / PHP Fatal error: Uncaught Error: Call to a member function get_gallery_image_id
Home › Forums › WoodMart support forum › PHP Fatal error: Uncaught Error: Call to a member function get_gallery_image_id
PHP Fatal error: Uncaught Error: Call to a member function get_gallery_image_id
- This topic has 8 replies, 2 voices, and was last updated 8 months, 4 weeks ago by
Milos Spasic.
-
AuthorPosts
-
January 31, 2025 at 5:04 pm #634509
Milos SpasicParticipantHello,
We have a problem with a Woodmart theme, this PHP Fatal error occurs:
[31-Jan-2025 13:06:42 UTC] PHP Fatal error: Uncaught Error: Call to a member function get_gallery_image_ids() on null in /home/example_com/web/example.com/public_html/wp-content/themes/woodmart/woocommerce/single-product/product-image.php:27How can we solve this issue?
Best regards
January 31, 2025 at 5:30 pm #634526
Artem TemosKeymasterHello,
Please disable any plugins not directly related to our theme and provide us with your admin access details. We will log in to your dashboard and investigate the issue. Please ensure that you only keep the following plugins that are necessary for our theme to work correctly:
– WoodMart core
– WooCommerce
– Elementor/WPBakery Page BuilderThank you in advance.
January 31, 2025 at 6:12 pm #634548
Milos SpasicParticipantHello,
It’s a live e-commerce site, so it’s not possible to do any of suggested.
Do you have any other suggestions?Regards
January 31, 2025 at 6:14 pm #634550
Artem TemosKeymasterIn this case, you need to create a staging development copy of your website. There, you will be able to do such kind of experiments without any harm to your production website.
Kind Regards
January 31, 2025 at 6:33 pm #634558
Milos SpasicParticipantWe have a dev site, but that error does not occur on dev.
The difference is that we do not use the following plugins on the dev site:
- Advanced Order Export For WooCommerce (Pro)
- Akismet Anti-spam: Spam Protection
- Metorik Helper
- Onsite Messaging by PushAlert
- PushAlert – Web Push Notifications
- PixelYourSite PRO
- PixelYourSite Super Pack
- ShortPixel Image Optimizer
- WP Rocket
We cannot use the mentioned plugins on the dev site, due to licenses.
Regards
January 31, 2025 at 6:35 pm #634560
Artem TemosKeymasterOK please keep plugins active and send us your admin access so we can do a quick check.
January 31, 2025 at 6:46 pm #634567
Milos SpasicParticipantThe admin access is below ⬇️
January 31, 2025 at 7:27 pm #634575
Artem TemosKeymasterPlease use the code from the previous topic to fix this https://xtemos.com/forums/topic/mobile-bottom-navbar-not-showing/#post-631797
January 31, 2025 at 8:31 pm #634598
Milos SpasicParticipantWe have added the mentioned code to the functions.php of the child theme on the production site.
We’ll keep an eye on the PHP error log, so we’ll let you know if the error pops up again.
-
AuthorPosts
Tagged: error, Fatal error, php
- You must be logged in to create new topics. Login / Register