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.

Ran database updates and now get a fatal error, Class 'Drupal\commerce\TwigExtension\CommerceTwigExtension' not found

Luckily i was smart enough to make a backaup of the DB before i ran the updates but for some reason deleting and re-installing the backup copy does not fix the problem.

The error i get is

The website encountered an unexpected error. Please try again later.
Error: Class 'Drupal\commerce\TwigExtension\CommerceTwigExtension' not found in Drupal\Component\DependencyInjection\Container->createService() (line 264 of core/lib/Drupal/Component/DependencyInjection/Container.php).

Composer multisite

Hi,

Searched everywhere but still didn't found the answer: How to run composer for a required website under my multisite configuration?

Thanks.

Upgrading to 8.4 [Part Deux]

I am relatively new to Composer. I just upgraded from 8.3.7 to 8.4.0 after reading every entry on upgrading in this forum. My site now is totally down. I have had to restore from a backup. Here are the steps that I followed. Can someone point out what the problem might be?

The steps that I followed:

1) Renamed composer.lock, core and vendor to _composer.lock, _core and _vender, respectively.

2) Added "drupal/core": "~8.4" to my composer.json. (see below for my composer.json file).

3) $composer update --with-dependencies

composer.json and composer.lock

I am using composer when updating. When updating core composer.json and the lock file are updated also.

Shall I copy back the old composer.json and composer.lock or only composer.json?

Drupal 6 to 8 migration mystery: chokes on user data

I have been working through a Drupal 6 to Drupal 8.4 site upgrade, and I am stymied at the current problem I'm experiencing: when I perform the upgrade from mysite.com/upgrade, the process completes, but the user data conversion and all the following data conversions that depend on that fail.

Update from 8.3.7 to 8.4.0 - error in execute line 246 from FormattableMarkup.php

Hello,

I've just upgraded Drupal on my production site from 8.3.7 to 8.4.0. Before that i had tested it on local environment. All was fine so i've decided to deal with it on my site. Everything went fine i guess, because my site is working, but during installation process i've got one extra PHP fatal error:

Pages

Subscribe with RSS Subscribe to RSS - Upgrading Drupal