Lessphp fatal error: loading error: could not find an error after moving the Wordpress site to a new server

We see the following error after moving the WordPress site from one server to another.

lessphp fatal error: load error: failed to find /hermes/bosnaweb18a/b2978/ipw.m3federalcom/public_html/m3federal/wp-content/themes/theme44107/bootstrap/less/bootstrap.less lessphp fatal error: load error: failed to find /hermes/bosnaweb18a/b2978/ipw.m3federalcom/public_html/m3federal/wp-content/themes/theme44107/style.less 

The domain in question is located in a parked testing domain (cerwebtest.net), and you will see an error at the top by clicking on any page except the main page. We have updated all plugins / WordPress to the latest versions from the WordPress admin portal. I checked that the files in error exist. I tried (according to this resource ) by deleting the bootstrap.less.cache and style.less.cache files to try to get it to look at the .less files to create the site. He fixed the error only on the main page, but not on any additional pages. The site, apparently, loads correctly even with the fact that it calls these files, but does not find / does not use them. Any ideas on what needs to be done to fix the error?

+6
source share
2 answers

we used https://interconnectit.com/products/search-and-replace-for-wordpress-databases/ to find and replace incorrect database path references. they needed to be updated from / hermes / bosnaweb18a / b2978 / ipw.m3federalcom / to our current Linux file paths. Then we update the constant links in wp-admin. we also deleted the .cache files in wp content to remove the saved site caching. after that, the site began to function normally.

0
source

I had the same error. I got rid of it by deleting .cache files in folders with the specified files in the error message.

Delete / wp -content / themes / theme44107 / bootstrap / less / bootstrap.less.cache / wp -content / themes / theme44107 / style.less.cache

After that, the error message disappeared and the site worked.

+12
source

All Articles