This forum is for questions about upgrading an existing Drupal site. Don't forget to read the UPGRADE.txt file that comes with every Drupal download.

Undefined constant PDO::MYSQL_ATTR_USE_BUFFERED_QUERY in Drupal\mysql\Driver\Database\mysql\Connection::open()

I host a Drupal 9 website on shared hosting with CentOS, Apache, MariaDB 10.3, Mysqli support enabled and PHP 8.1.

I first installed this website with the command composer create-project drupal/recommended-project.

I ran the following commands to upgrade the Drupal 9 core to Drupal 10:

The website cannot display content, but if logged in it can display content as normal

The website encountered an unexpected error. Please try again later.

Drupal\Component\Plugin\Exception\ContextException: The 'entity:user' context is required and not present. in Drupal\Core\Plugin\Context\Context->getContextValue() (line 73 of core\lib\Drupal\Core\Plugin\Context\Context.php).

Drupal version: 9.5.0,
Web Server: Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.1.12
PHP Version: Version 8.1.12
How do I fix it, thanks for the help

Composer can't upgrade drupal from 9.5 to 10.0.0 - "it conflicts with another require" with no additional info

Pretty new and basic  site with Drupal 9.4 was updated to 9.5 with composer, but could not upgrade to Drupal 10.0.0. Site is 93% compatible only classy and stable are reported by upgrade status not compatible. Still composer could not upgrade drupal "likely because it conflicts with another require." with no more information.
 

Upgrading from Drupal 9.x to Drupal 10

Will it be possible to upgrade Drupal 9.x to Drupal 10 by only changing the core from 9.x to 10?

Problem with CKEditor 5

We recently performed an upgrade from Drupal 9.4.9 to 9.5.0 and encountered the following problem: after this upgrade, "editing" content no longer wants to work. When we try to do this, we get the following error message: "The website encountered an unexpected error. Please try again later." The cause appears to be the new CKEditor (version 5). If I remove it and leave the old version 4 (deprecated), the error message disappears. Suppose we have to continue working with version 5 later, how can we solve this problem in a "better" way?

CKEditor 5 stoped working after an update to drupal 9.5

Hello everybody,

I start to use CKEditor 5 before having upgraded drupal to the 9.5 version and everything has always worked well.

After updating to Drupal 9.5, CKEditor 5 stoped working.
When I try to modify a content or to add a new content the CKEditor 5 toolbar disappeared and the html code is displayed in the text area instead of showing its rendering

If I dowgrade to 9.4.9 version everithing works well

In the javascript console I have this error

Pages

Subscribe with RSS Subscribe to RSS - Upgrading Drupal