-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate to new Symfony cache classes #302
Comments
Deprecation warning comes from PhpFilesCache.php
It turns into a full Exception in fulltextsearch SearchIndex.php
|
Are we ok just with silencing this when getting the field content? |
Yes. I've got a PR up, will test on an environment that was throwing the error shortly |
Merged the PR as a stop gap. But it doesn't address the fundamental issue. I've added some ACs. We can address this issue properly post release. |
Can close this now - we're doing work to use new Symfony cache classes in silverstripe/silverstripe-framework#10478 |
Exception: HTML Parse Error: The "Symfony\Component\Cache\Simple\PhpFilesCache" class is deprecated since Symfony 4.3, use "Symfony\Component\Cache\Adapter\PhpFilesAdapter" and type-hint for "Symfony\Contracts\Cache\CacheInterface" instead. in /sites/cmstest-uat/releases/20211213214917/vendor/silverstripe/fulltextsearch/src/Search/Indexes/SearchIndex.php:502 Stack trace: #0 [internal function]: SilverStripe\FullTextSearch\Search\Indexes\SearchIndex->SilverStripe\FullTextSearch\Search\Indexes\{closure}(16384, 'The "Symfony\\Co...', '/sites/cmstest-...', 20, Array)
Saw warning on queuedjob message when manually running solr reindex job
I think it's blocking the indexing of content block content on AWS, possibly only when running PHP 8.0
Acceptance criteria
PRs
The text was updated successfully, but these errors were encountered: