• hotspur

    (@hotspur)


    Hello,

    I installed Code Snippets on our staging server and have run into a problem. Whenever I try to access the Plugins page, I now receive this error:

    Fatal error: Uncaught Error: Call to undefined function tribe() in /home/test/www/www/content/plugins/code-snippets/php/snippet-ops.php(505) : eval()’d code:3 Stack trace: #0 /home/test/www/stage/wp-includes/class-wp-hook.php(308): {closure}(”) #1 /home/test/www/stage/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #2 /home/test/www/stage/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #3 /home/test/www/stage/wp-settings.php(617): do_action(‘init’) #4 /home/test/www/stage/wp-config.php(99): require_once(‘/home/test…’) #5 /home/test/www/stage/wp-load.php(50): require_once(‘/home/test…’) #6 /home/test/www/stage/wp-admin/admin.php(34): require_once(‘/home/test…’) #7 /home/test/www/stage/wp-admin/plugins.php(10): require_once(‘/home/test…’) #8 {main} thrown in /home/test/www/www/content/plugins/code-snippets/php/snippet-ops.php(505) : eval()’d code on line 33

    I’m able to access the plugins page if I use the ?snippets-safe-mode=true append. But adding define('CODE_SNIPPETS_SAFE_MODE', true); to wp-config.php does not prevent the fatal error.

    I’ve tried the complete uninstall and I’m still getting the error. A clean reinstall also did not help. Any suggestions?

    Thanks in advance for your help.

Viewing 1 replies (of 1 total)
  • Plugin Author Shea Bunge

    (@bungeshea)

    Hi @hotspur,

    In this case, I’d recommend logging into your WordPress database and manually deleting the snippets table.

    I’m not sure why it wouldn’t have been included when completely uninstalling, but removing should get rid of the code from your site completely, and the plugin will just recreate the table on next use.

Viewing 1 replies (of 1 total)
  • The topic ‘Fatal Error even after complete uninstall’ is closed to new replies.