- This topic has 2 replies, 2 voices, and was last updated 3 weeks, 4 days ago by
thor.
Viewing 2 reply threads
-
AuthorPosts
-
-
January 12, 2022 at 2:30 am #11388
thorMemberI get the following error when visiting a clients WPForms panel in admin:
Fatal error: Uncaught Error: Call to a member function get() on null in /var/www/example.com/public_html/wp-includes/query.php:28 Stack trace: #0 /var/www/example.com/public_html/wp-content/plugins/piklist/includes/class-piklist-wordpress.php(610): get_query_var('taxonomy_relati...') #1 /var/www/example.com/public_html/wp-includes/class-wp-hook.php(305): Piklist_WordPress::relation_taxonomy(' AND wp_p...') #2 /var/www/example.com/public_html/wp-includes/plugin.php(233): WP_Hook->apply_filters(' AND wp_p...', Array) #3 /var/www/example.com/public_html/wp-includes/class-wp- query.php(2568): apply_filters_ref_array('posts_where', Array) #4 /var/www/example.com/public_html/wp-includes/class-wp-query.php(3465): WP_Query- >get_posts() #5 /var/www/example.com/public_html/wp-includes/post.php(2228): WP_Query- >query(Array) #6 /var/www/example.com/public_html/wp- content/plugins/wpforms/includes/class-form.php(225): get_posts(Array) #7 /var/www/example.com/public_html/wp-content/plugins/wpforms/i in /var/www/example.com/public_html/wp-includes/query.php on line 28How can I quikly fix it?
-
January 13, 2022 at 3:33 pm #11390
SteveKeymaster@thor– Try commenting out this line and see if the error goes away: https://github.com/piklist/piklist/blob/develop/includes/class-piklist-wordpress.php#L100
-
January 14, 2022 at 3:31 am #11392
thorMemberHi Steve
Thanks, it is working now :). It is not affecting other parts of the site?
-
-
AuthorPosts
Viewing 2 reply threads
- You must be logged in to reply to this topic.