Title: Server error
Last modified: May 20, 2025

---

# Server error

 *  Resolved [Laura Yeffeth](https://wordpress.org/support/users/lyeffeth/)
 * (@lyeffeth)
 * [10 months, 3 weeks ago](https://wordpress.org/support/topic/server-error-111/)
 * I am seeing the following error repeatedly in my server logs:
 * PHP message: PHP Warning: Attempt to read property “ID” on null in /wp-content/
   plugins/relevanssi/lib/compatibility/woocommerce.php on line 297
 * Can you take a look?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fserver-error-111%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Mikko Saari](https://wordpress.org/support/users/msaari/)
 * (@msaari)
 * [10 months, 3 weeks ago](https://wordpress.org/support/topic/server-error-111/#post-18474932)
 * This is where Relevanssi checks for product variations to see if the user is 
   allowed to see the parent product. For some reason, the parent product of the
   variation does not work. I don’t know WooCommerce well enough to know how you
   can end up with a variation that doesn’t have a proper parent product, but that’s
   the problem. Figuring out the exact details when this happens would help.
 *  Thread Starter [Laura Yeffeth](https://wordpress.org/support/users/lyeffeth/)
 * (@lyeffeth)
 * [10 months, 3 weeks ago](https://wordpress.org/support/topic/server-error-111/#post-18474974)
 * I don’t really see how it is possible to have a variation without a parent, but
   I’ll see what I can find out. In what circumstances does the plugin check this?
 *  Thread Starter [Laura Yeffeth](https://wordpress.org/support/users/lyeffeth/)
 * (@lyeffeth)
 * [10 months, 2 weeks ago](https://wordpress.org/support/topic/server-error-111/#post-18475042)
 * I discovered some empty product variations with no parent. They didn’t have a
   title or price or anything. They had an “Edit” link but it didn’t do anything
   so I couldn’t even see what they might have been. Not exactly sure how that happened,
   but I’ve deleted them. I imagine that was the root of the error. Thanks for responding
   so quickly and pointing me in the right direction.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Server error’ is closed to new replies.

 * ![](https://ps.w.org/relevanssi/assets/icon-256x256.png?rev=2025044)
 * [Relevanssi - A Better Search](https://wordpress.org/plugins/relevanssi/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/relevanssi/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/relevanssi/)
 * [Active Topics](https://wordpress.org/support/plugin/relevanssi/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/relevanssi/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/relevanssi/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Laura Yeffeth](https://wordpress.org/support/users/lyeffeth/)
 * Last activity: [10 months, 2 weeks ago](https://wordpress.org/support/topic/server-error-111/#post-18475042)
 * Status: resolved