• Paul

    (@pawelszroeder)


    Hi! I’ve created own snippet, but it has the wrong code (with error). When I’ve clicked saved then my whole website has crushed.

    I see the error:

    Fatal error: Uncaught Error: Call to a member function have_posts() on null in /home/users/www/public_html/wp-includes/query.php:895 Stack trace: #0 
    /home/users/www/public_html/wp-content/plugins/insert-
    php/includes/class.execute.snippet.php(454) : eval()'d code(1): have_posts() #1 
    /home/users/www/public_html/wp-content/plugins/insert-
    php/includes/class.execute.snippet.php(454): eval() #2 /home/users/www/public_html/wp-
    content/plugins/insert-php/includes/class.execute.snippet.php(343): WINP_Execute_Snippet-
    >executeSnippet(' if(have_posts(...', 997, false) #3 /home/users/www/public_html/wp-
    content/plugins/insert-php/includes/class.execute.snippet.php(52): WINP_Execute_Snippet-
    >executeActiveSnippets('evrywhere') #4 /home/users/www/public_html/wp-includes/class-wp-
    hook.php(286): WINP_Execute_Snippet->executeEverywhereSnippets('') #5 
    /home/users/www/public_html/wp-includes/class-wp-hook.php(310): WP_Hook-
    >apply_filters(NULL, Array) #6 /home/users/www/public_html/wp-includes/plugin.php(465): 
    WP_Hook->do in /home/users/www/public_html/wp-includes/query.php on line 895
    
    The site is experiencing technical difficulties. Please check your site admin email inbox for instructions.

    It disappears when I deactivate the plugin. I removed the plugin and install, but an error has appeared again. I would like to completely deactivate the plugin with all data (I see some data in MySQL).

    How to achieve that?

    • This topic was modified 6 years, 9 months ago by Paul.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Remove data from mysql’ is closed to new replies.