I deleted the old files uploaded the new using FTP and changed PHP version of the server to the latest (8.4.)
after that I was trying to use update.php as supposed but I get the following error on the webpage:
The website encountered an unexpected error. Try again later.
Drupal\Core\Extension\InfoParserException: The 'core_version_requirement' key must be present in /homepages/14/d20144966/htdocs/Drupal/modules/node_revisions_autoclean/node_revisions_autoclean.info.yml in Drupal\Core\Extension\InfoParserDynamic->parse() (line 55 of core/lib/Drupal/Core/Extension/InfoParserDynamic.php).
Anyone can help please? I got no Idea what could be the problem.
If I try to open the domain without update.php I get:
The website encountered an unexpected error. Try again later.
Drupal\Core\Extension\InfoParserException: The 'core_version_requirement' key must be present in /homepages/14/d20144966/htdocs/Drupal/modules/node_revisions_autoclean/node_revisions_autoclean.info.yml in Drupal\Core\Extension\InfoParserDynamic->parse() (line 55 of core/lib/Drupal/Core/Extension/InfoParserDynamic.php).
Drupal\Core\Extension\InfoParserDynamic->parse() (Line: 47)
Drupal\Core\Extension\InfoParser->parse() (Line: 486)
Drupal\Core\Extension\ExtensionDiscovery->scanDirectory() (Line: 223)
Drupal\Core\Extension\ExtensionDiscovery->scan() (Line: 825)
Drupal\Core\DrupalKernel->setExtensionData() (Line: 810)
Drupal\Core\DrupalKernel->moduleData() (Line: 1685)
Drupal\Core\DrupalKernel->getExtensionFileNames() (Line: 674)
Drupal\Core\DrupalKernel->discoverServiceProviders() (Line: 1529)
Drupal\Core\DrupalKernel->initializeServiceProviders() (Line: 1425)
Drupal\Core\DrupalKernel->compileContainer() (Line: 1028)
Drupal\Core\DrupalKernel->initializeContainer() (Line: 524)
Drupal\Core\DrupalKernel->boot() (Line: 743)
Drupal\Core\DrupalKernel->handle() (Line: 19)
Comments
Node revisions autoclean
Node revisions autoclean looks to be seriously out of date and totally unsupported. There are no releases listed on the module page. I'd recommend getting rid of it and any other unsupported modules. The info dot yml file indicates that it is not supported even in Drupal 10 let alone Drupal 11.
Thanks for the tip. I didnt
Thanks for the tip. I didnt work with drupal for a long time so I didnt realize the problem.
Now that you said it I see it in the error as well.
I didnt even remember that module.
I just deleted that module from the modules dir and get:
The website encountered an unexpected error. Try again later.
Drupal\Core\DependencyInjection\ContainerNotInitializedException: \Drupal::$container is not initialized yet. \Drupal::setContainer() must be called with a real container. in Drupal::getContainer() (line 178 of core/lib/Drupal.php).
A old info file possibly.
Hi, the error you were getting from this file: /homepages/14/d20144966/htdocs/Drupal/modules/node_revisions_autoclean/node_revisions_autoclean.info.yml
Seem like it's detecting an old info file. If you can restore the folder and edit the file and make sure the core requirements are for a new version of Drupal : core_version_requirement: ^10 || ^11
I had a similar problem and that was the issue.