Open IronGhost63 opened 7 years ago
Anyway, Why WP Super Cache use this variable in anything instead of just using WPCACHEHOME ?
the $cache_path variable points at your cache directory, while WPCACHEHOME points at where WP Super Cache is installed.
If $cache_path is already set then the plugin doesn't know the path has changed. It's something the plugin should handle better.
I just migrated my website (tyria.in.th) to new hosting. And WP Super Cache can automatically update WPCACHEHOME in wp-config.php
Somehow my website still break and show the message as following https://imgur.com/d7hpAVW
It happened to be the old path in former hosting. I dig around and find that there is this variable $cache_path in wp-cache-config.php line 31 still using old path and didn't get update when WP Super Cache update WPCACHEHOME in wp-config.php and it cause whole website to break
This line need to be updated manually with new wp-content path to fix the problem.