I am writing to request an upgrade or update related to the replacement of certain PHP dangerous functions within the Drupal core and contributed modules. As part of our ongoing efforts to improve security and adhere to modern best practices, I believe we can take further steps to replace or mitigate the use of potentially risky functions in the platform. Specifically, the following functions are of concern:
_LogicException_: The complete set of cache contexts for a variation cache item must contain all of the initial cache contexts, missing: workspace. in _Drupal\Core\Cache\VariationCache->set()_ (line _47_ of _core/lib/Drupal/Core/Cache/VariationCache.php_).
I could resolve it by disabling the module Workspace and Workspace UI and deleting the workspaces...
Use case
An old site running a low drupal 9.version on php 7.4 step 1
To upgrade to 10 i first change php to 8.1
Repair all error and push the code but do not deploy step 2
then set php back to 7.4 because otherwise i get a lot of dependency errors
upgrade to 9.5.11
repair some errors and change some configuration
push the code but do not deploy step 3
install upgrade status
install rip
repair conflicts
push code but do not deploy