- 🇦🇹Austria nofue
As I upgraded some 10+ sites to ck5 this afternoon, there was (luckily) no problem at all. Maybe you miss a small task in the process? Here's my step by step instruction for upgrading ck4 to ck5:
Upgrade the site to the most current version of every module installed. As I work with composer, that's
composer update -W
Next I make sure all the upgrades are properly registered. As I work with drush, that's
drush updb && drush cr
To make sure, I check the site's status at /admin/reports/status
If everything looks nice, with a hint of deprecated modules and themes being installed, I head to /admin/modules
and install CK5, after which I head to /admin/config/content/formatsReplace every appearance of CK with CK5 to prevent any text field from calling a non existing editor later.
Now head to /admin/modules/uninstall
search for CK (along with color, rdf and quickedit) and remove these all at once.Per usual I do another
drush updb && drush cr
at this point, just to make sure, and that's it.Hope this helps -- if not, let us know what you did.
Just in case: When you removed a module, you can always try to install it again to recover from the error.
This of course will only be an option if you setup composer and drush to be at hand on the shell when you need it.
Usually I can get back to business specifying /admin when trying to enter a WSOD site (i.e. https://example.com/admin) - Status changed to Postponed: needs info
almost 2 years ago 11:36am 24 February 2023 - 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
Removing the "modules/contrib/ckeditor" folder makes the complete website unusable:
You should first uninstall the module through the Drupal UI. That will also force you to update your Text Editors to stop using CKEditor 4 first — because just removing the module altogether like you did will cause fatal PHP errors. Which are the ones you're seeing 😊