• Resolved luuduong

    (@luuduong)


    Hi there,
    I installed this plugin on Pantheon WP hosting service and their live environment doesn’t allow write access to plugin directories, similar to another plugin as documented here… https://pantheon.io/docs/plugins-known-issues#autoptimize. Once I install WP-Optimize plugin and turn on the minified CSS and JS files feature (or any caching) I get an error that says:
    Current cache: Error: /code/wp-content/cache/wpo-minify/1621360054/assets is not a directory! View the files
    Total cache: Error: /code/wp-content/cache/wpo-minify is not a directory!
    Do you have workarounds that I can set like autoptimize plugin has for any customers using Pantheon.io hosting as mentioned here https://pantheon.io/docs/symlinks-assumed-write-access?
    Thanks,
    Luu

Viewing 3 replies - 1 through 3 (of 3 total)
  • @luuduong The warning happens because we removed the automatic creation of the cache folder when Minify is not enabled. This is fixed in development version, so next release shouldn’t have this problem.

    Thread Starter luuduong

    (@luuduong)

    Thanks @bornforphp, have you looked into allowing a config variable to move the cache folder to another location to be compatible with hosting providers like Pantheon? Configure the plugin to write files within the standard wp-content/uploads path for WordPress (wp-content/uploads/wp-optimize)?
    Thanks,
    Luu

    @luuduong At the moment the cache folder is created inside the wp-content folder, we cannot move it to another location.

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

The topic ‘Installation on Pantheon.io hosting doesn’t allow cache write access on live’ is closed to new replies.