Title: php error
Last modified: August 19, 2022

---

# php error

 *  Resolved [JohnAndDeanna](https://wordpress.org/support/users/johnanddeanna/)
 * (@johnanddeanna)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/php-error-538/)
 * Code snippet was working fine with a snippet I put in several days ago. Today
   I went in to add a new snippet and upon submit the site blew up with Service 
   Unavailable. Liquid Web staff got me back up. Because the problem was isolated
   to the code snippet plugin, I deleted the plugin and then reloaded the plugin.
   Upon reactivating the plugin the original problem of Service Unavailable occurred.
   Again Liquid Web staff got me back up and deleted the plugin.
 * I don’t know what to do. Reload a fresh download from WordPress Org and retry
   again or what? Need help.
 * Below is the error log:
 *     ```
       PHP Fatal error:  Uncaught Error: Call to undefined function is_checkout() in /home/italianmarblefru/public_html/dev.italianmarblefruit.com/wp-content/plugins/code-snippets/php/snippet-ops.php(484) : eval()'d code:3
       Stack trace:
       #0 /home/italianmarblefru/public_html/dev.italianmarblefruit.com/wp-includes/class-wp-hook.php(307): kt_no_shipping_method_text('Error occurred ...', 'Error occurred ...', 'default')
       #1 /home/italianmarblefru/public_html/dev.italianmarblefruit.com/wp-includes/plugin.php(191): WP_Hook->apply_filters('Error occurred ...', Array)
       #2 /home/italianmarblefru/public_html/dev.italianmarblefruit.com/wp-includes/l10n.php(197): apply_filters('gettext', 'Error occurred ...', 'Error occurred ...', 'default')
       #3 /home/italianmarblefru/public_html/dev.italianmarblefruit.com/wp-includes/l10n.php(297): translate('Error occurred ...', 'default')
       #4 /home/italianmarblefru/public_html/dev.italianmarblefruit.com/wp-includes/class-wp-recovery-mode.php(177): __('Error occurred ...')
       #5 /home/italianmarblefru/public_html/dev. in /home/italianmarblefru/public_html/dev.italianmarblefruit.com/wp-content/plugins/code-snippets/php/snippet-ops.php(484) : eval()'d code on line 3
       ```
   
 * I just want to reestablish the plugin on the site and add back the snippet that
   was working.
 * What do I need to do?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Shea Bunge](https://wordpress.org/support/users/bungeshea/)
 * (@bungeshea)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/php-error-538/#post-15933436)
 * This error is coming from one of your snippets, not from the plugin itself. You
   can use the safe mode feature to regain access to your site: [https://help.codesnippets.pro/article/12-safe-mode](https://help.codesnippets.pro/article/12-safe-mode)
 *  Thread Starter [JohnAndDeanna](https://wordpress.org/support/users/johnanddeanna/)
 * (@johnanddeanna)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/php-error-538/#post-15934804)
 * Shea,
    Thanks for your quick response, analysis and direction. Got the site backup
   and deleted the last snippet I had loaded and all is well. Now just have to figure
   out why the snippet was bad. Regards, John

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘php error’ is closed to new replies.

 * ![](https://ps.w.org/code-snippets/assets/icon.svg?rev=2148878)
 * [Code Snippets](https://wordpress.org/plugins/code-snippets/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/code-snippets/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/code-snippets/)
 * [Active Topics](https://wordpress.org/support/plugin/code-snippets/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/code-snippets/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/code-snippets/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [JohnAndDeanna](https://wordpress.org/support/users/johnanddeanna/)
 * Last activity: [3 years, 9 months ago](https://wordpress.org/support/topic/php-error-538/#post-15934804)
 * Status: resolved