Questions tagged [updating]

Use it for questions about updating Drupal core and contributed modules.

Filter by
Sorted by
Tagged with
0
votes
1answer
21 views

Composer found composer-plugin-api[2.1.0] but it does not match the constraint [closed]

I want to upgrade Drupal 8.9.17. to 9.2.1. While running composer update drupal/core --with-dependencies I got that error: Problem 1 - Root composer.json requires composer-plugin-api ^1.0, found ...
1
vote
1answer
35 views

Fatal error: Cannot redeclare Drupal\views\Routing\ViewPageController::getTitle()

I have updated Drupal 9.0.1 to 9.2.2 via Composer. After updating, I am getting a fatal error. Fatal error: Cannot redeclare Drupal\views\Routing\ViewPageController::getTitle() in /var/www/html/...
1
vote
0answers
53 views

Upgrading core from 8.7.10 to 8.9.16

My current site version is running on Drupal 8.7.10 and I want to upgrade it to 8.9.16. I backed up all the files and folders. Should I backup the Pathauto module, update the new Pathauto module, and ...
1
vote
0answers
29 views

Update installs a beta version [duplicate]

I'm trying to update Drupal from 9.1.8 to 9.1.9. However, running a composer update jumps to 9.2-beta2. I'm not sure how to fix it so that it sticks to the recommended version. My composer.json has ...
3
votes
0answers
190 views

What is the best practice for handling abandoned packages required by the drupal core?

When I run composer update on a Drupal 9 website, I get this warning: Package doctrine/reflection is abandoned, you should avoid using it. Use roave/better-reflection instead. A similar question has ...
0
votes
0answers
21 views

Swiftmailer prevent composer updates

I have an issue with composer and Drupal 8.9.13. When I try to update Drupal, I always get the next error and I don't find a way to solve it: #$> php -d memory_limit=-1 composer.phar update drupal/...
0
votes
0answers
23 views

Adding a new view to an existing module

I am trying to add a new view to an existing module. I created the view using Views UI and exported its YML to the 'config/optional' folder. If I install the module for the first time, the view is ...
2
votes
1answer
52 views

Which releases are supported with semantic versioning of modules?

I have a site running Drupal 8.9.13. I have enabled email notification for "only security updates" and it generally works well - I get a mail for "urgent things" otherwise I wait ...
0
votes
0answers
24 views

Issues with manual update from 7.77 to 7.78 on cPanel with PHP 7.4

I have been manually been doing Drupal 7 and 8 updates on cPanel for many years. I carefully read what files need to be updated and what files need to stay. Recently, there was an update to PHP 7.4. I ...
0
votes
0answers
34 views

After the update 8.7.14 to 8.8, the File module causes error when uploading a file

After updating Drupal 8.7.14 to 8.8, I have a problem with the File module: When I upload a file, I get the This value cannot be zero error message. The file is however present in the site/default/...
3
votes
2answers
89 views

When “drush updatedb” is executed, are scripts cached by OPCache invalidated?

For sites that have PHP OPCache enabled: Does updating site using Drush require restarting the webserver to invalidate the scripts cached by OPCache? Does Drupal core or Drush invalidate OPCache ...
0
votes
0answers
84 views

Failed to update database after upgrading to 8.9.13

I'm new to drupal and was recently tasked with upgrading the drupal core version of one of our sites. I upgraded from 8.3 to 8.9.13 and everything went smooth enough until it came time to update the ...
0
votes
0answers
57 views

upgrade from 8.9.2 to 9.1.0

I have a drupal 8.9.2 installation with many modules. I ran upgrade_status and applied patches or upgraded modules to dev version like suggested. fhebert@fhebert-communication:/var/www/domain.com$ ...
1
vote
0answers
48 views

Updating modules creates An AJAX HTTP request terminated abnormally error

Drupal 7.77. I have three modules that need to be updated. Trying to update any one of them results in this error: An AJAX HTTP request terminated abnormally. Debugging information follows. Path: ...
0
votes
0answers
51 views

PHP Error occuring when updating, clearing cache or install/uninstall modules?

I am getting this below error when doing the actions of clearing cache, or install/uninstall module, running update.php. InvalidArgumentException: Routing requirement for "_user_is_logged_in"...
0
votes
0answers
426 views

Issues updating core to 9.1.2 with Composer

On my local site, I had updates for 2 modules and Drupal core. To update, I typed in composer update, which had worked for me previously just fine. Composer indicated everything updated, although on ...
0
votes
1answer
20 views

Fatal error: Cannot redeclare uc_order_views_data()

After clicking Continue @ /update.php, we receive: Fatal error: Cannot redeclare uc_order_views_data() (previously declared in /home/user/public_html/sites/all/modules/ubercart/uc_order/views/...
0
votes
0answers
23 views

Unable to access Admin page after core update (minor version 7.? to 7.77)

After manually updating Drupal 7 core - I am unable to access the /admin or /user page. Here's my process: backed up db entered maintenance mode manually downloaded Drupal 7.77 (deleted default '...
4
votes
1answer
37 views

List module releases that are “Recommended by the project’s maintainer.”

On the project page of a Drupal module there is a list of releases. The project owner can set for each one whether it is recommended, and the page displays that fact. For example if there are ...
0
votes
0answers
31 views

I updated a contributed module in error

I updated Panels in Drupal 7, forgetting that I had customised it, panicked, deleted the updated module and replaced the correct one via ftp. Now I can't run update.php as it says the website ...
0
votes
1answer
634 views

Problem upgrading via Composer

I am currently trying to upgrade my site from drupal 8.9 to drupal 9. I ran these commands to give permissions: $ chmod 777 web/sites/default $ find web/sites/default -name "*settings.php" -...
0
votes
0answers
39 views

How do I solve this issue while upgrading using Docker compose?

I have already deploed drupal 8.7.7 using docker. now am trying to upgrade to 8.9.7. during the site installation i am facing below error " In SiteInstallCommands.php line 335: Could not ...
1
vote
1answer
155 views

How can I update the name of a taxonomy term using hook_update_N?

I have taxonomy terms of color and I made a typo in one of the color name. It should be 'Crystal Black Pearl' instead of 'Crsytal Black Pearl'. How do I change it using hook_update_N ? Thank you in ...
0
votes
1answer
53 views

Failure in “file module Update #8700”

file module Update #8700 •Failed: Drupal\Core\Field\FieldException: Field storage definition for 'type' could not be found. in Drupal\Core\Entity\Sql\SqlContentEntityStorageSchema->getEntitySchema(...
1
vote
1answer
284 views

Missing updates for Media

After much package dependency finagling via composer, updating PHP, updating MariaDb, etc.. (not as bad as D7 => D8 but still harder than I'd hoped) I managed to update from 8.9 => 9.0.7. I was ...
0
votes
1answer
304 views

Updating core to 8.9.6 fails

I'v installed Drupal 8 by composer. Everything worked fine, but when I tried to update core from 8.9.1 to 8.9.5 in ended up in 8.9.4. Today I tried to update from 8.9.4. to 8.9.6 by changing composer....
0
votes
1answer
121 views

Failed to update and now causes module errors

I recently attempted to update a Drupal 8 site from 8.7.7 to 8.9.3 and had a failure due to server not being on the right version of php7 to run the new 8.9 version. As a result I am now getting ...
0
votes
0answers
439 views

Update error and Basic Auth / Symfony errors

I'm running 2 servers: TEST and PROD. I've been using Composer to install updates. They are running on Windows Server 2016 using IIS. I copied composer.json and composer.lock from TEST over to PROD. ...
0
votes
0answers
24 views

Drupal selectors changed after upgrading from 8.8.5 to 8.9.3

I just upgraded from 8.8.5 to 8.9.3 and I am noticing some of my CSS was broken. After inspecting, I am noticing the selectors on my view have changed. Before my filter submit button was selected via ...
2
votes
1answer
151 views

How the handle an override of the schema of a field type

To add other data to a state field, I overrode 2 functions of the StateItem class (from the state_item module) public static function schema(FieldStorageDefinitionInterface $field_definition) { ...
0
votes
1answer
139 views

The commerce_product.field_produit_labels field needs to be updated

almost every time I delete a field in my product types I get this message popping up in my dashboard : ENTITY/FIELD DEFINITIONS Mismatched entity and/or field definitions The following changes were ...
1
vote
1answer
64 views

Admin UI doesn't see the correct PHP version [closed]

I have a local development site on Ubuntu and currently my system has PHP 7.4 installed and I can see Drupal site using the correct version in terminal using drush st but if I browse to Admin UI and ...
0
votes
1answer
135 views

Search is broken after updating search_api_solr from 8.x-2.7 to 4.1.4

My Drupal site has a search form, which connects to a Solr index. All of this was working smoothly. But then I updated drupal/search_api_solr from 8.x-2.7 to 4.1.4 (which also required me to update ...
1
vote
1answer
105 views

Manually removing an orphaned entity type

I have been handed an older Drupal 8 site and asked to update it to run with composer. I didn't do it in the cleanest possible way but it is working. I have run into trouble updating it. I am most of ...
1
vote
2answers
102 views

update drupal core from a version to a new version with composer

i want to update the core from 8.7.6 to 8.9.2 and when I try this command "composer require drupal/core:^8.9.2 --update-with-dependencies" i have got an error like below , can anyone help me ...
3
votes
1answer
61 views

Why is the output from getDefinition($type) different from getStorage($type)->getEntityType()?

In a Controller, when calling: $this->entityTypeManager()->getStorage($type)->getEntityType(), I do not have the exact same return value as: $this->entityTypeManager()->getDefinition($...
2
votes
1answer
359 views

Drupal downloads the module update but need FTP

As the above screen shots, from Drupal 7 shows, the updates are downloaded! However, it still says Updating modules and themes requires FTP access to your server. I have tried the ownership of sites ...
0
votes
0answers
880 views

Getting the 'The website encountered an unexpected error. Please try again later.' error during an update

I recently updated my Drupal 8 installation, and for some crazy reason my site now displays a white screen and this line of text when I go to it: The website encountered an unexpected error. Please ...
2
votes
1answer
43 views

How to ensure successful update after system failure during updb causing the site to remain in maintenance mode?

Running drush updb to upgrade drupal core or other modules, puts the site in maintenance mode. I recently faced an issue (probably an edge case) where the site was stuck in maintenance mode after ...
0
votes
0answers
69 views

Error after updating core from 8.6.2 to 8.7.14

After I have updated my Drupal core version from 8.6.2 to 8.7.14, I have got below error at the time of cache clear and db update. Below error occurs while running update.php An AJAX HTTP error has ...
0
votes
1answer
452 views

Error after copying the updated files

I want to update a site from Drupal 8.9 to 9.0. After copying all files and trying to execute update.php, I get the following error: The website encountered an unexpected error. Please try again ...
1
vote
1answer
96 views

Major module update with Composer

I have some modules in 8.8.5 that need an major update. What is the best practice without loosing data or settings? For example: drupal/admin_toolbar 1.27.0 2.2.0 Do I need to ...
0
votes
1answer
51 views

Is there a way to tell composer about manually updated modules?

I am working on a drupal 8 site and tend to update some modules: I run the composer outdated 'drupal/*' command and it shows me the list of modules need update. Running composer update drupal/...
0
votes
1answer
34 views

Database updates failing

I sort of inherited a Drupal 8 site which has lately generated a problem causing 500 error when e.g. trying to modify menus. I haven't myself updated the Drupal (just got it, it is currently on ...
2
votes
1answer
175 views

How do I update configuration/database after a core update?

This may seem like a dumb question to some of you, I'm sure. After having worked with Drupal from version 6, I'm now for the first time using Drupal 8 and -- after some initial difficulties -- have ...
1
vote
2answers
305 views

Updating from core 8.7.9 to 8.8.0

I'm running into an issue when updating to Drupal core 8.8.0. I've removed both the vendor folder and the composer.lock file, as per instructions on this link https://www.drupal.org/node/2700999#s-...
-1
votes
1answer
70 views

Updating custom field with module upgrade gives a “Page not found”

I have been working for quite some time on a custom module. So far I have always been able to reinstall everything from scratch, but now I need an update to a custom field. Following the indications ...
0
votes
1answer
48 views

Running updatedb fails with UnknownExtensionException error

I am attempting to update my site's database after updating three modules: Configuration Update Base, Search API, and Simple XML Sitemap. Running drush updatedb produces the following error: Drupal\...
0
votes
1answer
17 views

Update failed on Metadata module, any easy fix?

I am very sorry to bring a rather nebulous question here but need any and all help I can get: for the first time, I've had a "White Screen of Death" issue when trying to update a module. I believe ...
0
votes
0answers
48 views

Why is my site status continuing to indicate mismatched field definitions after updating?

When I visit /admin/reports/status, I am told that a few entities have fields that need to be updated or reinstalled. I created an update hook: /** * Remove the result field from the analysis ...

1
2 3 4 5
14