Title: phpCode snippets plugin causes error
Last modified: October 24, 2024

---

# phpCode snippets plugin causes error

 *  [blogdropper](https://wordpress.org/support/users/blogdropper/)
 * (@blogdropper)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/phpcode-snippets-plugin-causes-error/)
 * Hi, I have a snippet in phpCode Snippets plugin which is not recognized (I receive
   the code used to activate the shortcode, instead of the output from the php snippet),
   and when I try to preview it I receive:
 * There has been a critical error on this website.
 * This snippet was working, don’t know when or why it stopped working. I tried 
   duplicating it with a new tracking name, but same critical error. Any help much
   appreciated

Viewing 1 replies (of 1 total)

 *  [anjalixyzscripts](https://wordpress.org/support/users/anjali94/)
 * (@anjali94)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/phpcode-snippets-plugin-causes-error/#post-18164209)
 * Hi,
   Apologies for overlooking the issue earlier. The problem seems to stem from
   the code added in your PHP snippet. I recommend checking for any syntax errors
   or missing elements in the code.A good way to debug this is to replace the current
   code with simple echo statements and verify if those work correctly.

Viewing 1 replies (of 1 total)

The topic ‘phpCode snippets plugin causes error’ is closed to new replies.

 * ![](https://ps.w.org/insert-php-code-snippet/assets/icon-128x128.png?rev=1800967)
 * [Insert PHP Code Snippet](https://wordpress.org/plugins/insert-php-code-snippet/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/insert-php-code-snippet/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/insert-php-code-snippet/)
 * [Active Topics](https://wordpress.org/support/plugin/insert-php-code-snippet/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/insert-php-code-snippet/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/insert-php-code-snippet/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [anjalixyzscripts](https://wordpress.org/support/users/anjali94/)
 * Last activity: [1 year, 4 months ago](https://wordpress.org/support/topic/phpcode-snippets-plugin-causes-error/#post-18164209)
 * Status: not resolved