• Resolved golusinghcpr

    (@golusinghcpr)


    I use query monitor. From the last update it is showing the php error warning “unlink(/’mydomaindirectory’/domain.com/wp-content/uploads/fvm/out/.): Is a directory”. Below are the call stacks:

    (1.)

    1. do_action(‘settings_page_fastvelocity-min’)
    wp-admin/admin.php:224

    2. fastvelocity_min_settings()
    wp-includes/class-wp-hook.php:286

    3. fvm_purge_all()
    wp-content/plugins/fast-velocity-minify/fvm.php:321
    fastvelocity_rrmdir()

    4. wp-content/plugins/fast-velocity-minify/inc/functions.php:675
    unlink()

    5. wp-content/plugins/fast-velocity-minify/inc/functions.php:265

    (2.)

    1. do_action(‘settings_page_fastvelocity-min’)
    wp-admin/admin.php:224

    2. fastvelocity_min_settings()
    wp-includes/class-wp-hook.php:286

    3. fvm_purge_all()
    wp-content/plugins/fast-velocity-minify/fvm.php:321

    4. fastvelocity_rrmdir()
    wp-content/plugins/fast-velocity-minify/inc/functions.php:675

    5. unlink()
    wp-content/plugins/fast-velocity-minify/inc/functions.php:265

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Raul P.

    (@alignak)

    That probably means that PHP has no permissions to delete the files, but the messageis strange… the error says that you have a directory named . inside the out directory, which would be strange.

    A) Can you try to chmod it 777 and see if flushing the cache on the plugins stills trigger that error?

    B) Do you have any dot prefixed file inside of that directory, a directory with only a dot on the name, or a symlink inside of it (or is the uploads directory a symlink)?

    C) Delete the wp-content/uploads/fvm recursively via sftp or whatever, and see if it happens again. Do not add any .htaccess or other files inside.

    D) Make sure your PHP user can delete and create files and directories that have chmod 755 on them. Some servers require 775, which is a problem because the plugin sets this as 755 (the standard).

    • This reply was modified 8 years, 3 months ago by Raul P..
    • This reply was modified 8 years, 3 months ago by Raul P..
    Thread Starter golusinghcpr

    (@golusinghcpr)

    Tried all but problem exist yet.

    I forgot to add, the 1st 5 call stack was the error
    ” unlink(/home/public_html/domain.com/wp-content/uploads/fvm/out/.): Is a directory ”

    and the other 5 was

    ” unlink(/home/wpwhalec/public_html/guniram.com/wp-content/uploads/fvm/out/..): Is a directory ”

    (difference ‘.’ and ‘..’ ) ; and both and both query location was ” wp-content/plugins/fast-velocity-minify/inc/functions.php:265 ”

    Plugin Author Raul P.

    (@alignak)

    Hi,

    I have a fix in place for this on the next version.
    Sorry for the late reply.

    Thanks again,

    Raul

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

The topic ‘unlink Is a directory’ is closed to new replies.