Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
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
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 :)
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.
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!