Title: Warning: unlink (functions.php)
Last modified: August 20, 2016

---

# Warning: unlink (functions.php)

 *  [mallog](https://wordpress.org/support/users/mallog/)
 * (@mallog)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/warning-unlink-functionsphp/)
 * I am trying to use the plugin “Visual Form Builder” on my Hermes theme but when
   I go to save the changes I made to the plugin I get this error page:
 * Warning: unlink(/home/content/57/7824157/html/sedonastonemichigan/wp-content/
   themes/Hermes/cache/) [function.unlink]: Is a directory in /home/content/57/7824157/
   html/sedonastonemichigan/wp-content/themes/Hermes/functions.php on line 43
    1
 * I was told before that it’s a conflict in a name that is used in both the plugin
   and the theme so the theme recognizes the name because the plugin is using it
   to and it triggers a function in the theme to delete the cache for something 
   that really isn’t there. So it’s trying to delete the whole cache directory instead
   of just the file it’s supposed to.
    BUT, how do I go about fixing this issue?

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

 *  [Andrew Bartel](https://wordpress.org/support/users/andrew-bartel/)
 * (@andrew-bartel)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/warning-unlink-functionsphp/#post-2919967)
 * If you need to build forms just use [Contact Form 7](http://contactform7.com/).
 * That or contact the plugin’s developer and ask for a patch.
 *  [Matthew Muro](https://wordpress.org/support/users/mmuro/)
 * (@mmuro)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/warning-unlink-functionsphp/#post-2920116)
 * mallog, Visual Form Builder is built using PHP Classes to avoid function name
   conflicts.
 * Besides, I don’t even use the [unlink function](http://php.net/manual/en/function.unlink.php).
   If you look at the [discussion for this theme](http://themeforest.net/item/hermes-for-business-corporate-resort-and-hotel/discussion/272347?page=12),
   it seems to affect other plugins as well.
 * If you haven’t already, I’d contact the theme developer.

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

The topic ‘Warning: unlink (functions.php)’ is closed to new replies.

## Tags

 * [Themes](https://wordpress.org/support/topic-tag/themes/)
 * [unlink](https://wordpress.org/support/topic-tag/unlink/)
 * [warning](https://wordpress.org/support/topic-tag/warning/)

 * 2 replies
 * 3 participants
 * Last reply from: [Matthew Muro](https://wordpress.org/support/users/mmuro/)
 * Last activity: [13 years, 10 months ago](https://wordpress.org/support/topic/warning-unlink-functionsphp/#post-2920116)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
