Problem/Motivation
I have this error
Drupal 10.1.6
PHP 8.2
Deprecated function: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in Drupal\taxonomy\Plugin\views\argument_validator\TermName->validateArgument() (line 66 of /var/www/html/web/core/modules/taxonomy/src/Plugin/views/argument_validator/TermName.php)
#0 /var/www/html/web/core/includes/bootstrap.inc(164): _drupal_error_handler_real(8192, 'strlen(): Passi...', '/var/www/html/w...', 66)
#1 [internal function]: _drupal_error_handler(8192, 'strlen(): Passi...', '/var/www/html/w...', 66)
#2 /var/www/html/web/core/modules/taxonomy/src/Plugin/views/argument_validator/TermName.php(66): strlen(NULL)
#3 /var/www/html/web/core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php(1066): Drupal\taxonomy\Plugin\views\argument_validator\TermName->validateArgument(NULL)
#4 /var/www/html/web/core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php(1101): Drupal\views\Plugin\views\argument\ArgumentPluginBase->validateArgument(NULL)
#5 /var/www/html/web/core/modules/views/src/ViewExecutable.php(1116): Drupal\views\Plugin\views\argument\ArgumentPluginBase->setArgument(NULL)
#6 /var/www/html/web/core/modules/views/src/ViewExecutable.php(1282): Drupal\views\ViewExecutable->_buildArguments()
#7 /var/www/html/web/core/modules/views/src/ViewExecutable.php(1406): Drupal\views\ViewExecutable->build('block_past_cour...')
#8 /var/www/html/web/modules/contrib/viewsreference/src/Plugin/Field/FieldFormatter/ViewsReferenceFieldFormatter.php(106): Drupal\views\ViewExecutable->execute('block_past_cour...')
#9 /var/www/html/web/core/lib/Drupal/Core/Field/FormatterBase.php(89): Drupal\viewsreference\Plugin\Field\FieldFormatter\ViewsReferenceFieldFormatter->viewElements(Object(Drupal\viewsreference\Plugin\Field\ViewsReferenceFieldItemList), 'it')
#10 /var/www/html/web/core/lib/Drupal/Core/Entity/Entity/EntityViewDisplay.php(265): Drupal\Core\Field\FormatterBase->view(Object(Drupal\viewsreference\Plugin\Field\ViewsReferenceFieldItemList), 'it')
#11 /var/www/html/web/core/lib/Drupal/Core/Entity/EntityViewBuilder.php(339): Drupal\Core\Entity\Entity\EntityViewDisplay->buildMultiple(Array)
#12 /var/www/html/web/core/lib/Drupal/Core/Entity/EntityViewBuilder.php(281): Drupal\Core\Entity\EntityViewBuilder->buildComponents(Array, Array, Array, 'default')
#13 /var/www/html/web/modules/contrib/paragraphs/src/ParagraphViewBuilder.php(18): Drupal\Core\Entity\EntityViewBuilder->buildMultiple(Array)
#14 /var/www/html/web/core/lib/Drupal/Core/Entity/EntityViewBuilder.php(238): Drupal\paragraphs\ParagraphViewBuilder->buildMultiple(Array)
#15 [internal function]: Drupal\Core\Entity\EntityViewBuilder->build(Array)
#16 /var/www/html/web/core/lib/Drupal/Core/Security/DoTrustedCallbackTrait.php(111): call_user_func_array(Array, Array)
#17 /var/www/html/web/core/lib/Drupal/Core/Render/Renderer.php(797): Drupal\Core\Render\Renderer->doTrustedCallback(Array, Array, 'Render #pre_ren...', 'exception', 'Drupal\\Core\\Ren...')
#18 /var/www/html/web/core/lib/Drupal/Core/Render/Renderer.php(386): Drupal\Core\Render\Renderer->doCallback('#pre_render', Array, Array)
#19 /var/www/html/web/core/lib/Drupal/Core/Render/Renderer.php(204): Drupal\Core\Render\Renderer->doRender(Array, false)
#20 /var/www/html/web/core/lib/Drupal/Core/Template/TwigExtension.php(474): Drupal\Core\Render\Renderer->render(Array)
#21 /var/www/html/web/sites/default/storage/php/twig/6545527068cc5_field--entity-reference-r_P107Jx4cPSV7WDut-YZm6QQF7/cHZ8PtOZgZhTmtmOf7JgGDzdx16GvYMfTlxIl7iKpkk.php(55): Drupal\Core\Template\TwigExtension->escapeFilter(Object(Drupal\Core\Template\TwigEnvironment), Array, 'html', NULL, true)
#22 /var/www/html/vendor/twig/twig/src/Template.php(394): __TwigTemplate_496e0750d2bae0806581f934e5aec7bd->doDisplay(Array, Array)
#23 /var/www/html/vendor/twig/twig/src/Template.php(367): Twig\Template->displayWithErrorHandling(Array, Array)
#24 /var/www/html/vendor/twig/twig/src/Template.php(379): Twig\Template->display(Array)
#25 /var/www/html/vendor/twig/twig/src/TemplateWrapper.php(40): Twig\Template->render(Array, Array)
#26 /var/www/html/web/core/themes/engines/twig/twig.engine(53): Twig\TemplateWrapper->render(Array)
#27 /var/www/html/web/core/lib/Drupal/Core/Theme/ThemeManager.php(372): twig_render_template('modules/contrib...', Array)
#28 /var/www/html/web/core/lib/Drupal/Core/Render/Renderer.php(445): Drupal\Core\Theme\ThemeManager->render('field', Array)
#29 /var/www/html/web/core/lib/Drupal/Core/Render/Renderer.php(458): Drupal\Core\Render\Renderer->doRender(Array)
#30 /var/www/html/web/core/lib/Drupal/Core/Render/Renderer.php(204): Drupal\Core\Render\Renderer->doRender(Array, false)
#31 /var/www/html/web/core/lib/Drupal/Core/Template/TwigExtension.php(474): Drupal\Core\Render\Renderer->render(Array)
#32 /var/www/html/web/sites/default/storage/php/twig/6545527068cc5_node--full.html.twig_r-wjYEPJXyKTM7RLC9XQgK7GW/HZk_QDKnuu4KHQ_KX6-rG1B-L6a_4Wz0N3NfMxsnRt0.php(110): Drupal\Core\Template\TwigExtension->escapeFilter(Object(Drupal\Core\Template\TwigEnvironment), Array, 'html', NULL, true)
#33 /var/www/html/vendor/twig/twig/src/Template.php(394): __TwigTemplate_6d22182d0d0f1dfcd972632a7dfa59ef->doDisplay(Array, Array)
#34 /var/www/html/vendor/twig/twig/src/Template.php(367): Twig\Template->displayWithErrorHandling(Array, Array)
#35 /var/www/html/vendor/twig/twig/src/Template.php(379): Twig\Template->display(Array)
#36 /var/www/html/vendor/twig/twig/src/TemplateWrapper.php(40): Twig\Template->render(Array, Array)
#37 /var/www/html/web/core/themes/engines/twig/twig.engine(53): Twig\TemplateWrapper->render(Array)
#38 /var/www/html/web/core/lib/Drupal/Core/Theme/ThemeManager.php(372): twig_render_template('themes/custom/v...', Array)
#39 /var/www/html/web/core/lib/Drupal/Core/Render/Renderer.php(445): Drupal\Core\Theme\ThemeManager->render('node', Array)
#40 /var/www/html/web/core/lib/Drupal/Core/Render/Renderer.php(204): Drupal\Core\Render\Renderer->doRender(Array, false)
#41 /var/www/html/web/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(238): Drupal\Core\Render\Renderer->render(Array, false)
#42 /var/www/html/web/core/lib/Drupal/Core/Render/Renderer.php(592): Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}()
#43 /var/www/html/web/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(231): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object(Closure))
#44 /var/www/html/web/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(128): Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object(Symfony\Component\HttpFoundation\Request), Object(Drupal\Core\Routing\CurrentRouteMatch))
#45 /var/www/html/web/core/lib/Drupal/Core/EventSubscriber/MainContentViewSubscriber.php(90): Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object(Symfony\Component\HttpFoundation\Request), Object(Drupal\Core\Routing\CurrentRouteMatch))
#46 [internal function]: Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object(Symfony\Component\HttpKernel\Event\ViewEvent), 'kernel.view', Object(Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher))
#47 /var/www/html/web/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php(111): call_user_func(Array, Object(Symfony\Component\HttpKernel\Event\ViewEvent), 'kernel.view', Object(Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher))
#48 /var/www/html/vendor/symfony/http-kernel/HttpKernel.php(186): Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object(Symfony\Component\HttpKernel\Event\ViewEvent), 'kernel.view')
#49 /var/www/html/vendor/symfony/http-kernel/HttpKernel.php(76): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1)
#50 /var/www/html/web/core/lib/Drupal/Core/StackMiddleware/Session.php(58): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#51 /var/www/html/web/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#52 /var/www/html/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(191): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#53 /var/www/html/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(128): Drupal\page_cache\StackMiddleware\PageCache->fetch(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#54 /var/www/html/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(82): Drupal\page_cache\StackMiddleware\PageCache->lookup(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#55 /var/www/html/web/modules/contrib/cdn/src/StackMiddleware/DuplicateContentPreventionMiddleware.php(117): Drupal\page_cache\StackMiddleware\PageCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#56 /var/www/html/web/core/modules/ban/src/BanMiddleware.php(50): Drupal\cdn\StackMiddleware\DuplicateContentPreventionMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#57 /var/www/html/web/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\ban\BanMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#58 /var/www/html/web/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#59 /var/www/html/web/core/lib/Drupal/Core/StackMiddleware/StackedHttpKernel.php(51): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#60 /var/www/html/web/core/lib/Drupal/Core/DrupalKernel.php(704): Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#61 /var/www/html/web/index.php(19): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request))
#62 {main}