After updating to the latest 8.x-3.0-alpha17 you can no longer clear the drupal cache. If you try to do it you get the following error.
`Case mismatch between loaded and declared class names: "Drupal\s3fs\S3fsFileService" vs "Drupal\S3fs\S3fsFileService". `
The problem is the namespace in S3fsFileService.php has an uppercase S. Attached is a patch with the fix.
| Comment | File | Size | Author |
|---|---|---|---|
| mismatched_case.patch | 335 bytes | jesmaster |
Comments
Comment #3
cmlaraClearly wrong on the namespace and needs to be corrected.
Interestingly I don't see the error on my local dev environment (D9.1) which I find a bit unusual. Do you know if this is this caused by having some additional debugging on Symfony enabled that I may not have? At first glance it appears this is thrown from a Debugging class.
Comment #4
jesmaster commentedI got the error when doing the normal drush cache rebuild command `drush cr`. I do have the line
\Symfony\Component\ErrorHandler\Debug::enable();in my settings.local.php file for my dev setup.Comment #5
cmlaraThank you for confirming.
I've confirmed that adding that line of configuration does indeed cause the error to show up in my own lab. I will likely keep that line in my local settings as well to help avoid issues like this in the future.
Your patch is already in the 8.x-3.x repo from earlier today.
From what I can tell this isn't causing any other problems at the moment as long as Symfony debug is disabled so shouldn't need a rush alpha18 for it.