lapurddrupal → created an issue.
Dear promoters,
I have incorporated patch #10. It works for. I would like to take this opportunity to thank all the staff from the bottom of my heart for their work here in this community.
Drupal 10.2.3, PHP 8.1.26, 10.5.23-MariaDB-1:10.5.23
After composer update: I got the same: Error message
Deprecated function: strnatcasecmp(): Passing null to parameter #2 ($string2) of type string is deprecated in Drupal\Core\Layout\LayoutPluginManager->Drupal\Core\Layout\{closure}() (line 204 of core/lib/Drupal/Core/Layout/LayoutPluginManager.php).
Is a Patch available?
Thanks in before.
I did it as suggested. Unfortunately I got the same error, even calling '.../core/rebuild.php' was unsuccessful.
Error message: ypeError: Drupal\agreement\AgreementHandler::__construct(): Argument #2 ($settings) must be of type Drupal\Core\Site\Settings, Drupal\Core\Entity\EntityTypeManager given, called in /www/htdocs/YYYYY/xxxxxx.com/htdocs/drupal/web/core/lib/Drupal/Component/DependencyInjection/Container.php on line 259 in Drupal\agreement\AgreementHandler->__construct() (line 86 of modules/contrib/agreement/src/AgreementHandler.php).
Drupal\agreement\AgreementHandler->__construct(Object, Object, Object, Object, Object) (Line: 259)
Drupal\Component\DependencyInjection\Container->createService(Array, 'agreement.handler') (Line: 177)
Drupal\Component\DependencyInjection\Container->get('agreement.handler', 1) (Line: 434)
Drupal\Component\DependencyInjection\Container->resolveServicesAndParameters(Array) (Line: 237)
Drupal\Component\DependencyInjection\Container->createService(Array, 'agreement_subscriber') (Line: 177)
Drupal\Component\DependencyInjection\Container->get('agreement_subscriber') (Line: 136)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.exception') (Line: 229)
Symfony\Component\HttpKernel\HttpKernel->handleThrowable(Object, Object, 1) (Line: 92)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 44)
Drupal\redirect_after_login\RedirectMiddleware->handle(Object, 1, 1) (Line: 58)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 191)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 128)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 82)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 57)
Drupal\advban\AdvbanMiddleware->handle(Object, 1, 1) (Line: 50)
Drupal\ban\BanMiddleware->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 718)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
#mradcliff
Thank you for the comment. If I have understood correctly, then the page can be restored running rebuild.php with settings rebuild_acess = true?
I gave up using Drush because in the past there was often a chicken-egg problem with different versions of Composer and Drush which could not be solved in a reasonable time.
lapurddrupal → created an issue.
After install recommended project with composer I have the same error upgrading from 9.5 to 10.1.3 PHP 8.1.12. Patch 3224723-10 failed.
I am stuck now and will not migrate the productive system to 10.
Thanks a lot MrDaleSmith, it cured the problem.
I got the same Error: 1054 Unknown column 'log.messagelog.type....... after installing autoban 8.1 recently via composer.
Where is a patch I may use? Drupal 9.5.8, PHP 8.1.16 .
I have the same or similar problem: After installing Autoban I get when calling in Autoban rules list-> Log analyse:
Drupal\Core\Database\DatabaseExceptionWrapper: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'log.messagelog.type' in 'group statement': SELECT "log"."message" AS "message", "log"."type" AS "type", COUNT(*) AS "cnt" FROM "watchdog" "log" WHERE "log"."type" NOT IN (:db_condition_placeholder_0, :db_condition_placeholder_1, :db_condition_placeholder_2, :db_condition_placeholder_3, :db_condition_placeholder_4) GROUP BY "log"."messagelog"."type" HAVING (COUNT(*) >= :threshold) ORDER BY "cnt" DESC; Array ( [:db_condition_placeholder_0] => autoban [:db_condition_placeholder_1] => cron [:db_condition_placeholder_2] => php [:db_condition_placeholder_3] => system [:db_condition_placeholder_4] => user [:threshold] => 5 ) in Drupal\autoban\Form\AutobanAnalyzeForm->getAnalyzeResult() (line 286 of modules/contrib/autoban/src/Form/AutobanAnalyzeForm.php).
Drupal: 9.5.8 PHP: 8.1.16
I have exactly the same issue: Drupal Version 9.5.5, PHP 8.1.16
lapurddrupal → created an issue.
Patch #14 on Drupal 9.5.4 and PHP 8.12 worked for me. Thanks to you!!!
After composer update --with-all-dependencies ( Drupal 9.5.3->9.5.4) I got the Database Error (.... connection not found) when running the Database update. I cured it commenting out the Line namespace =...... in the file settings.php
With Drupal 9.5.3 it worked with: namespace' => 'Drupal\\Core\\Database\\Driver\\mysql'.