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.

Namespace declaration errors have killed my site

Hey, had a site running on Drupal 8 for nearly a year now. Tried logging in a few days ago and threw a namepace declaration error. I tried searching for this error and couldn't find any answers. So I updated to the latest version and now all I get is the error:

Fatal error: Namespace declaration statement has to be the very first statement or after any declare call in the script in /var/sites/m/mysite.org/public_html/modules/entity_reference_revisions/src/EntityReferenceRevisionsServiceProvider.php on line 3

Beginners guide to updating with Composer

Hi there,

 I was recently given advice that Drupal core and it’s modules are best updated using Composer. I am not a Developer by nature and therefore am looking for some guidance as to how on earth this is achieved. If there are links people know of that could be helpful to this topic (using user-friendly terminology if this exists) it would be very much appreciated :)

thanks all

Module names forced to use snake_case from Issue 2294177. Is there any other reason than needing 'Core' to be 'core'?

Patch https://www.drupal.org/files/issues/2294177.1.patch in issue https://www.drupal.org/node/2294177 changed the list of providers returned to always be lowercase. Per the issue, this was to deal with 'Core' needing to be 'core', but the change was across the board converting all module names to lowercase. There are comments in that issue of it being a bit of a hack.

Import views from Drupal 7 to 8.

Hello

i have install a new Drupal 8 and want to use my views config from Drupal 7.

In the web stand that it gave no import of Views.

Is that right ?

Which is the easiest way to get the views after drupal 8.

Entry completely new by hand?

Because I've had a lot of input time with Drupal 7, and that was a long time ago.

Automatic Maintenance mode when update available

Hi everybody,

I have Drupal 8.3.7 installed now, but since the first release of drupal 8 I got a problem with my site.

Every time there is an update available my website turn into maintenance mode automatically! And every time I have to log in and deselect maintenance mode option...I save the change, and everything goes well until an other update is available and stil site turn into maintenance mode! How can I solve this? I also have other websites in drupal 8.x.x. and never got this issue!

What should be the problem?

Thanks everybody! 

update via drush ran out of memory - content broken - how to fix?

Hi,

I ran the standard updates via Drush, but one of the scripts ran out of memory.

Now I cannot list content.  The rest of the site still works.

Output from the drush up :

Pages

Subscribe with RSS Subscribe to RSS - Upgrading Drupal