Error with woocommerce membership plugin
-
Fatal php error when used with woocommerce membership plug in. Here is info from author of we membership
hank you for contacting us about our Memberships plugin. I’m happy to help!
Thanks so much for the stack trace, from what I can see when Memberships is making a query to the database for the posts, the Directorist plugin is intercepting the query using the standard WordPress hooks. It then appears to be making some modification to the global $wp_query, as when WordPress tries to run the query, it appears as null, which causes the error you’re seeing.
I noticed that there seems to be a function adjusting the query: ATBDP_Listing->modify_search_query(Object(WP_Query)) though I don’t know what this code might be doing or how it’s doing it from the stack trace.
As the code to adjust the query, rather than the call to get_posts, appears to be coming from the Directorist plugin, I would recommend reaching out to their developers to see if they can assist. If they have any questions that we can help with though, please do let me know and I’ll be more than happy to look into it!
The topic ‘Error with woocommerce membership plugin’ is closed to new replies.