Do you see an error “lessphp fatal error: load error: failed to find bootstrap.lesslessphp” and “style.less.cache” after migrating your WordPress site from one host to another?
Generally lessphp fatal error occurs for two files – namely, bootstrap.lesslessphp & style.less.cache. Also, the error is common when you are developing with Twitter Bootstrap (LESS) and you might notice that the changes made in .less files does not reflect immediately. The most common fix for cache issue is to delete the browser cache, but that trick is not going work for less cache errors. So how do you solve this error? Well, here’s how it’s.
Solution for lessphp fatal error
To fix the issue, you need to delete .cache files shown in the error message. To do that, go to your WordPress theme folder (wp-content/themes/mytheme) and delete the below files.
Now your WordPress site will load without those errors. Still thinking about those deleted files? Go back to your WordPress theme folder and check if those .cache files has been generated. It should have!