Title: Php snipets directory warning
Last modified: August 22, 2016

---

# Php snipets directory warning

 *  [chris_tex](https://wordpress.org/support/users/chris_tex/)
 * (@chris_tex)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/php-snipets-directory-warning/)
 * hello when i try to insert the path to the directory i get this warning message:
   Warningfunction.is-dir/var/www/clients/client2/web41/web/wp-content/plugins/php-
   snippets/includes/Base.php160
 * i run wp 4 what should i do ??
 * thanks
 * [https://wordpress.org/plugins/php-snippets/](https://wordpress.org/plugins/php-snippets/)

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

 *  [fireproofsocks](https://wordpress.org/support/users/fireproofsocks/)
 * (@fireproofsocks)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/php-snipets-directory-warning/#post-5571064)
 * That doesn’t look like the complete error message, and it doesn’t look like a
   valid path, so I can’t say for sure. However, Check the **Settings –> PHP Snippets**
   page and verify that you’ve entered a valid directory. I recommend using the [
   +ABSPATH+] placeholder when you define your paths: it is a special code to represent
   the root directory of your WordPress installation. Use the “Show Snippets” button
   on that page to list valid snippets: it’s an excellent way to test whether or
   not you’ve configured the correct paths.
 *  Thread Starter [chris_tex](https://wordpress.org/support/users/chris_tex/)
 * (@chris_tex)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/php-snipets-directory-warning/#post-5571097)
 * here is the path i use but still have a window opening when i click add directory
   that says :Warningfunction.is-dir/var/www/clients/client2/web41/web/wp-content/
   plugins/php-snippets/includes/Base.php160
 *  Thread Starter [chris_tex](https://wordpress.org/support/users/chris_tex/)
 * (@chris_tex)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/php-snipets-directory-warning/#post-5571098)
 * here is the path i use /web/wp-content/plugins/php-snippets/snippets but still
   have a window opening when i click add directory that says :Warningfunction.is-
   dir/var/www/clients/client2/web41/web/wp-content/plugins/php-snippets/includes/
   Base.php160
 *  [fireproofsocks](https://wordpress.org/support/users/fireproofsocks/)
 * (@fireproofsocks)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/php-snipets-directory-warning/#post-5571101)
 * I don’t think your full path is going to start with /web, even if you were on
   a dedicated server. Please double-check the path for the directory you are trying
   to use. See [https://code.google.com/p/wordpress-php-snippets/](https://code.google.com/p/wordpress-php-snippets/)
 * What version of the plugin are you using?
 *  Thread Starter [chris_tex](https://wordpress.org/support/users/chris_tex/)
 * (@chris_tex)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/php-snipets-directory-warning/#post-5571102)
 * thanks i will check on that i m using the Version 1.0
 *  Thread Starter [chris_tex](https://wordpress.org/support/users/chris_tex/)
 * (@chris_tex)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/php-snipets-directory-warning/#post-5571104)
 * eben if i use [+ABSPATH+]/snippets it give me the error code
    Warningfunction.
   is-dir/var/www/clients/client2/web41/web/wp-content/plugins/php-snippets/includes/
   Base.php160
 *  [fireproofsocks](https://wordpress.org/support/users/fireproofsocks/)
 * (@fireproofsocks)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/php-snipets-directory-warning/#post-5571106)
 * Is it possible your host has disabled the “is_dir” or other functions? Has this
   plugin worked on your site before?
 * A test might be:
 *     ```
       <?php
       if (!function_exists('is_dir')) {
          print "Yikes... PHP Snippets cannot run";
       }
       ```
   
 *  Thread Starter [chris_tex](https://wordpress.org/support/users/chris_tex/)
 * (@chris_tex)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/php-snipets-directory-warning/#post-5571118)
 * no it s the first time i use this pugin i ll check on the host thanks for you
   help

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

The topic ‘Php snipets directory warning’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/php-snippets.svg)
 * [PHP Snippets](https://wordpress.org/plugins/php-snippets/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/php-snippets/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/php-snippets/)
 * [Active Topics](https://wordpress.org/support/plugin/php-snippets/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/php-snippets/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/php-snippets/reviews/)

 * 8 replies
 * 2 participants
 * Last reply from: [chris_tex](https://wordpress.org/support/users/chris_tex/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/php-snipets-directory-warning/#post-5571118)
 * Status: not resolved