• Resolved vraisa

    (@vraisa)


    PHP Warning: mkdir(): Permission denied … hummingbird-performance/core/class-logger.php on line 184

    Why not use the “standard” writable log file path which is wp-content/uploads?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Williams – WPMU DEV Support

    (@wpmudev-support8)

    Hi @vraisa

    I hope you’re well today!

    Hummingbird creates its own “wphb-logs” folder right inside “wp-content” folder which is quite a standard location. It should be writeable anyway as it’s quite a common location for adding various logs and other “working” folders/files. A lot of plugins do the same and it’s a common practice.

    The error that you are getting means that the folder /wp-content/wphb-logs doesn’t exist so plugin tried to cerate it but it couldn’t do this. Usually it’s happening because

    – “wp-content” folder has too strict permissions set (recommended: 755)
    – or there’s “user:group” issue
    – or there’s… no free space left on device

    Are other plugins able to create their folders/files in /wp-content? Could you duble-check this folder permissions and ownership and if there’s still storage space available on your server/hosting plan?

    Best regards,
    Adam

    Thread Starter vraisa

    (@vraisa)

    WordPress can only write inside /uploads folder which might not be common practice but I think is best practice. We have set up that intentionally.

    I have tried to create that folder manually but then I got a warning that this plugin wants to remove that folder O_o

    rmdir(… /wp-content/wphb-logs/): Permission denied in … /wp-content/plugins/hummingbird-performance/core/class-logger.php on line 258

    Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hi @vraisa

    I hope you are doing well.

    Could you please send me an email to [email protected] using this template:

    Subject: “Attn: Patrick Freitas”

    Message: link back to this thread for reference

    Best Regards
    Patrick Freitas

    Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hi @vraisa

    I hope you are doing well.

    Following the email, we suggested the define to our developers, I am afraid we can’t give an estimated time to implement it in the plugin however if more users report the same issue the request can be stronger.

    I am marking this as resolved, feel free to ping us any time you need.

    Best Regards
    Patrick Freitas

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘PHP Warning: mkdir(): Permission denied’ is closed to new replies.