Code Snippets Crashes My System
-
Just recently I installed Code Snippets (Zero Snippets), which caused my system to “white screen” crash with the following errors:
Fatal error: Uncaught Error: Call to a member function have_posts() on null in /home/doodledoo/public_html/wp-includes/query.php:767 Stack trace: #0 /home/doodledoo/public_html/wp-content/plugins/code-snippets/php/snippet-ops.php(352) : eval()’d code(1): have_posts() #1 /home/doodledoo/public_html/wp-content/plugins/code-snippets/php/snippet-ops.php(352): eval() #2 /home/doodledoo/public_html/wp-content/plugins/code-snippets/php/snippet-ops.php(425): execute_snippet(‘ if ( have_post…’, 1) #3 /home/doodledoo/public_html/wp-includes/class-wp-hook.php(286): execute_active_snippets(”) #4 /home/doodledoo/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #5 /home/doodledoo/public_html/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #6 /home/doodledoo/public_html/wp-settings.php(327): do_action(‘plugins_loaded’) #7 /home/doodledoo/public_html/wp-config.php(92): require_once(‘/home/doodledoo…’) #8 /home/doodledoo/public_html/wp-load.php(37): require_once(‘/home/doodledoo…’) #9 /home in /home/doodledoo/public_html/wp-includes/query.php on line 767
Line 767 seems to feature prominently and I suspect database errors. Can anyone assist in establishing the root cause and advise on how to fix the problem?
The page I need help with: [log in to see the link]
- The topic ‘Code Snippets Crashes My System’ is closed to new replies.