Moving A WordPress Site With CherryFramework

At Code Clinic, we regularly use different tools and frameworks for our projects inorder that we can ultimately deliver the best solution(s) for our client(s).

As such, we recently undertook a project that made use of the CherryFramework. This offered us a number of advantages, however, when we needed to move the site from our Development Environment to the clients shared hosting, we were faced with several errors relating to the PHP compiler.

Thanks to a concise post over at SmallMouth Media Group we were able to determine that this was a common problem and was due to the less file caches.

Below, we’ve expanded a little on the solution linked above, we hope it’ll save you some time and frustration.

You’ll need to launch your FTP client and browse to the following directory in your sites file structure:

wp-content/

Then you’ll need to locate the following files:

For Cherry Framework itself:

less/bootstrap.less.cache
less/style.less.cache

Then inside your child theme (this may be different for you, but find the .cache files and delete them if you’re getting errors):

theme root/style.less.cache
bootstrap/less/bootstrap.less.cache

Hopefully, it’ll save you some time and frustration.

Phill Healey on BehancePhill Healey on EmailPhill Healey on FacebookPhill Healey on FlickrPhill Healey on InstagramPhill Healey on Linkedin
Phill Healey
[Technical Director]
Phill has been designing and developing websites since 1986 in the early days of the web. As a self taught teenager, he built one of the world’s first Internet radio stations. Since then, he's gained numerous qualifications and several awards for his work in the industry. As a result he has had the pleasure of working in agencies in Manchester & London UK, and now Bavaria, Germany.

5 comments

  1. Hey! Thanks for the shoutout and expanding on the problem! I spent hours looking for why these errors were occurring and was surprised (at the time) that nobody had an answer. Lesson learned – Always blame it on the cache 🙂

  2. Just ran into this myself, so this post continues to be useful!

    One thing to remember if you are running a child theme, you have to check BOTH the child bootstrap, and the Cherry bootstrap folders, because they both have bootstrap.less.cache in them.

    Thanks for the post Phill!

  3. I am relatively new to all of this. I moved my site and have this error. I am seeing less/bootstrap.less and less/style.less, but am not seeing .cache at the end of anything I’m looking at. Have I found the files that need to be deleted ? If not, can you point me in the right direction. Thanks.

    1. No, it’s the cache files that need deleting since these essentially override the actual css/less files. It’s been a while since I wrote this so, I can’t really help you beyond the walk through in the actual blog post above. However, I do know that it took me some time to work out where the cache files were located, and hence why I wrote this article. If you follow the instructions above, you should be ok.

      Let us know how you get/got on.

Leave a Reply

Your email address will not be published. Required fields are marked *