Title: Unable to activate Code Snippets plugin
Last modified: January 2, 2022

---

# Unable to activate Code Snippets plugin

 *  Resolved [jlanpheer](https://wordpress.org/support/users/jlanpheer/)
 * (@jlanpheer)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/unable-to-activate-code-snippets-plugin/)
 * I’m runnning WP 5.8.1 and PHP 7.4.21.
 * After downloading the Code Snippets plugin, when i attempt to activate it, my
   site crashes, i have to disable all my plugins, remove Code Snippets etc….
 * This is the log message with the error. The first warning seems to indicate that
   it is looking for jqgrid classes, is there a prerequisite to install before installing
   Code Snippets? Can anyone shed any light on this?
 * PHP Warning: include_once(): Failed opening ‘/Applications/MAMP/htdocs/dev/public_html/
   phpgrid/inc/jqgrid_dist.php’ for inclusion (include_path=’.:/Applications/MAMP/
   bin/php/php7.4.21/lib/php’) in /Applications/MAMP/htdocs/fas_current_production/
   public_html/wp-content/plugins/code-snippets/php/snippet-ops.php(469) : eval()’
   d code on line 39
    [02-Jan-2022 05:20:00 UTC] PHP Fatal error: Uncaught Error:
   Class ‘jqgrid’ not found in /Applications/MAMP/htdocs/dev/public_html/wp-content/
   plugins/code-snippets/php/snippet-ops.php(469) : eval()’d code:50
    -  This topic was modified 4 years, 5 months ago by [jlanpheer](https://wordpress.org/support/users/jlanpheer/).

Viewing 1 replies (of 1 total)

 *  Plugin Author [Shea Bunge](https://wordpress.org/support/users/bungeshea/)
 * (@bungeshea)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/unable-to-activate-code-snippets-plugin/#post-15561705)
 * This is an error in one of your snippets. You’re attempting to use `include_once`
   to load in a file that does not exist in that location. `jqgrid` isn’t used in
   Code Snippets.

Viewing 1 replies (of 1 total)

The topic ‘Unable to activate Code Snippets plugin’ 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/)

 * 1 reply
 * 2 participants
 * Last reply from: [Shea Bunge](https://wordpress.org/support/users/bungeshea/)
 * Last activity: [4 years, 1 month ago](https://wordpress.org/support/topic/unable-to-activate-code-snippets-plugin/#post-15561705)
 * Status: resolved