fbpx
Want To Add Extra Images Per Product Variation For Free? Download Now

PHP message: PHP Fatal error: Uncaught Error: Call to a member function get_id() on null in /wp-content/plugins/woo-variation-gallery/templates/product-images.php:22

Hello,
We got the below error. Please review it and share the solution for the same.

“PHP message: PHP Fatal error: Uncaught Error: Call to a member function get_id() on null in /wp-content/plugins/woo-variation-gallery/templates/product-images.php:22”

We have the latest version of the free and pro plugins which is 1.3.25.

Site Info:
PHP version 8.1.29 (Supports 64bit values)
WordPress: 6.6.2.

Hakik Zaman

Hi Accounts,

Thank you for reaching out to us. Please kindly do a plugin compatibility check by doing these steps to identify the error :

=> Deactivate all of your additional plugins except WooCommerce and Additional Variation Images Gallery Plugin.

=> See if the problem persists.

=> If the issue is resolved, you will understand which plugin might be the culprit of this error by activating your additional plugins one by one.

If the plugin conflict check doesn’t help, please record me reproducing your issue using a tool like this- https://www.useloom.com
It helps me to figure out the issue quickly.

And don’t forget to add your site login details in the site login details area. I’ll check what’s happening there.

You can add new users by going to Users > Add New set the user and password for us, set the role to admin, and set the info here.

Add your site URL, login username, and password in the site login area. Follow this guideline: https://www.useloom.com/share/27c1f2ac633c4060b2da883d946107d7

Hope to hear from you soon!

Thank you

Hakik Zaman

Hi Accounts,

The error you have mentioned in your video is not related to our plugin. The first error you have mentioned is missing in your video.

Could you disable our Gallery plugin and check if is it working without our plugin or not?

Thank you