Support » Plugin: Breeze - WordPress Cache Plugin » Breeze settings will not reflect because there is file permission issue

  • Breeze settings will not reflect because there is file permission issue
    /public_html/wp-content/advanced-cache.php file is not writable.

    Is anyone getting this error message after upgrading to WP 5.8?
    This appears on all backend pages, Dashboard, pages, plugins etc.

    And the path ‘/public_html/wp-content/’ doesn’t hae the advanced-cache.php file neither.

Viewing 15 replies - 1 through 15 (of 35 total)
  • I have just found this error too. I am not sure how to fix it yet.

    Cloudways are aware of the problem and working to identify the issue and a possible fix.

    Thread Starter j0321

    (@j0321)

    Hi, thank you for your reply and sharing the info.
    Do you have a Cloudways link that I can refer to, please?
    Thank you.

    Plugin Author adeelkhan

    (@adeelkhan)

    Hi, it does not error its warning, add in current build to guide the user(in case if there are file permission issues so reset the permission). The warning resolve by simply reset the file permission of the application user.
    we have added the warning message in the latest version as mentioned in the changelog
    Add: While the file Permission is not correct, the warning message has been added.

    • This reply was modified 9 months, 2 weeks ago by adeelkhan.

    Same problem here after updating WordPress to 5.8

    I am on Cloudways too – if they will be resolving the issue then I guess I should wait. If not, then does anyone know how to ‘reset the file permission of the application user’ as suggested by the plugin author?

    Plugin Author adeelkhan

    (@adeelkhan)

    The following screenshot will help to reset the permission
    https://wordpress-458710-2006559.cloudwaysapps.com/wp-content/uploads/2021/08/reset-permission.png

    Please have a look.

    Thank you for the timely response.

    I went ahead and did the ‘Reset File/Folders Permissions’ as indicated in your screenshot, but it did not remove the Breeze error notice from within the wp dashboard

    Just in case it helps, the error notice says the following:

    Breeze settings will not reflect because there is file permission issue

    /home/(…).cloudwaysapps.com/(…)/public_html/wp-content/advanced-cache.php file is not writable.

    Plugin Author adeelkhan

    (@adeelkhan)

    could you please share the screenshot of your application settings window(same screen)?

    I had the same issue on localhost, what I ended up doing is:

    created the advanced-cache.php under www/web/app since Im using bedrock but others will have to create it under ./wp-content/ after I created the file I run: chown -R www-data:www-data web/ this is only for my setup since Im using nginx and bedrock.

    for a normal installation you will need to know which is the user of your webserver like apache or nginx and it could be www-data or httpd or even a custom user in some cases.
    If you know the user you will to cd into your wordpress installation folder:
    cd /var/www/html/ go to root directory of your wordpress installation
    touch wp-content/advanced-cache.php create advanced-cache.php file under wp-content folder.
    chown -R www-data:www-data . set the owner for all wordpress folders and files to be www-data or httpd this depends whats your webserver user.

    Plugin Author adeelkhan

    (@adeelkhan)

    First step: select app user and reset permission.
    Please have a look at the screenshot
    https://wordpress-458710-2006559.cloudwaysapps.com/wp-content/uploads/2021/08/select-app-user.png

    Second Step: Click on the save change button of Breeze settings.
    Please have a look at the screenshot
    https://wordpress-458710-2006559.cloudwaysapps.com/wp-content/uploads/2021/08/click-save-change-done.png

    Just to let you know I have just done both of those steps and still have the same error message.

    Plugin Author adeelkhan

    (@adeelkhan)

    Could you please share the screenshot of the application settings?

    Hello again. Here is a screenshot from Cloudways’ application settings:

    https://imgur.com/NLaKYFO

    [Also tried the above two steps – resetting permissions for the particular app + saving in Breeze settings – but I still have the error]

    • This reply was modified 9 months, 2 weeks ago by ghadir29.

    [deleted]

    • This reply was modified 9 months, 2 weeks ago by ghadir29.
Viewing 15 replies - 1 through 15 (of 35 total)
  • The topic ‘Breeze settings will not reflect because there is file permission issue’ is closed to new replies.