• Hello All

    I have been running WP for a few weeks now with out any issues.
    Tonight I have tried to upload a new plug in also tried to install one directly from WP, however for some strange reason it’s now saying “Plugin could not be deleted due to an error: Unable to locate WordPress Plugin directory.

    There was no changes done on the server. I really don’t know what to do and why this is happening.

    Can anyone please help?

    Thanks.

Viewing 1 replies (of 1 total)
  • Thread Starter medsdeb

    (@medsdeb)

    I found a fix.

    There is a solution from a user here called “mcarretero” post link is here , his fix was to add this code

    if(is_admin()) {
    	add_filter('filesystem_method', create_function('$a', 'return "direct";' ));
    	define( 'FS_CHMOD_DIR', 0751 );
    }

    to the your wp-config.php file. I had the same problem and this fixed it for me.

Viewing 1 replies (of 1 total)

The topic ‘Unable to locate WordPress Plugin folder’ is closed to new replies.