WordPress.org

Ready to get started?Download WordPress

Forums

Warning: unlink (functions.php) (3 posts)

  1. mallog
    Member
    Posted 1 year ago #

    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?

  2. Andrew Bartel
    Member
    Posted 1 year ago #

    If you need to build forms just use Contact Form 7.

    That or contact the plugin's developer and ask for a patch.

  3. mallog, Visual Form Builder is built using PHP Classes to avoid function name conflicts.

    Besides, I don't even use the unlink function. If you look at the discussion for this theme, it seems to affect other plugins as well.

    If you haven't already, I'd contact the theme developer.

Topic Closed

This topic has been closed to new replies.

About this Topic