ApcClassLoader.php completely breaks site on module update

by saramm1   Last Updated August 08, 2017 19:07 PM

I am working on a site that has installs on 3 different environments: a local development copy on a Windows machine, a staging copy on a Linux machine, and a production copy on a Linux machine. All of these environments are being upgraded to the latest version of Drupal 8 and updating all modules. This is being done manually on all environments and not from pulling updated code from each other.

Updating the search_api module works perfectly fine on the Linux environments, but has taken the site completely down on the Windows development environment. This is the error message I get no matter what page I try to load:

Fatal error: require(): Failed opening required 'C:\[installpath]/modules/search_api/src\ParamConverter\SearchApiConverter.php' (include_path='.;C:\[apachepath]\common\pear') in C:\[installpath]\vendor\symfony\class-loader\ApcClassLoader.php on line 110

There are mismatched directory separators in the requested path, and the path is also incorrect, it should be

C:\[installpath]\modules\search_api\src\ProxyClass\ParamConverter\SearchApiConverter.php. 

Line 110 of the file in question is just require $file;. I have absolutely no idea how to troubleshoot this.

Other related plugins I have installed are search_api_page and search_api_sorts, but these seem to be unrelated to the issue.

Tags : 8 updating


Related Questions


Check when core was updated

Updated February 16, 2016 16:03 PM