Drupal 10.2.x: Error: Call to a member function createFromNameAndData() on null in Drupal\cdn_ui\Form\ValidatableConfigFormBase->validateForm() (line 50
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3409258. -->
Reported by: [idflorin](https://www.drupal.org/user/76915)
Related to !16
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>I get this after update to Drupal 10.2.0</p>
<pre>Error: Call to a member function createFromNameAndData() on null in Drupal\cdn_ui\Form\ValidatableConfigFormBase->validateForm() (line 50 of /www/wwwroot/idbip.com/web/modules/cdn/cdn_ui/src/Form/ValidatableConfigFormBase.php).</pre><p>
and</p>
<pre>#0 [internal function]: Drupal\cdn_ui\Form\ValidatableConfigFormBase->validateForm()<br>#1 /www/wwwroot/idbip.com/web/core/lib/Drupal/Core/Form/FormValidator.php(82): call_user_func_array()<br>#2 /www/wwwroot/idbip.com/web/core/lib/Drupal/Core/Form/FormValidator.php(275): Drupal\Core\Form\FormValidator->executeValidateHandlers()<br>#3 /www/wwwroot/idbip.com/web/core/lib/Drupal/Core/Form/FormValidator.php(118): Drupal\Core\Form\FormValidator->doValidateForm()<br>#4 /www/wwwroot/idbip.com/web/core/lib/Drupal/Core/Form/FormBuilder.php(593): Drupal\Core\Form\FormValidator->validateForm()<br>#5 /www/wwwroot/idbip.com/web/core/lib/Drupal/Core/Form/FormBuilder.php(325): Drupal\Core\Form\FormBuilder->processForm()<br>#6 /www/wwwroot/idbip.com/web/core/lib/Drupal/Core/Controller/FormController.php(73): Drupal\Core\Form\FormBuilder->buildForm()<br>#7 [internal function]: Drupal\Core\Controller\FormController->getContentResult()<br>#8 /www/wwwroot/idbip.com/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array()<br>#9 /www/wwwroot/idbip.com/web/core/lib/Drupal/Core/Render/Renderer.php(627): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()<br>#10 /www/wwwroot/idbip.com/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(121): Drupal\Core\Render\Renderer->executeInRenderContext()<br>#11 /www/wwwroot/idbip.com/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext()<br>#12 /www/wwwroot/idbip.com/vendor/symfony/http-kernel/HttpKernel.php(181): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()<br>#13 /www/wwwroot/idbip.com/vendor/symfony/http-kernel/HttpKernel.php(76): Symfony\Component\HttpKernel\HttpKernel->handleRaw()<br>#14 /www/wwwroot/idbip.com/web/core/lib/Drupal/Core/StackMiddleware/Session.php(58): Symfony\Component\HttpKernel\HttpKernel->handle()<br>#15 /www/wwwroot/idbip.com/web/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle()<br>#16 /www/wwwroot/idbip.com/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(106): Drupal\Core\StackMiddleware\KernelPreHandle->handle()<br>#17 /www/wwwroot/idbip.com/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(85): Drupal\page_cache\StackMiddleware\PageCache->pass()<br>#18 /www/wwwroot/idbip.com/web/modules/advban/src/AdvbanMiddleware.php(57): Drupal\page_cache\StackMiddleware\PageCache->handle()<br>#19 /www/wwwroot/idbip.com/web/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\advban\AdvbanMiddleware->handle()<br>#20 /www/wwwroot/idbip.com/web/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle()<br>#21 /www/wwwroot/idbip.com/web/core/lib/Drupal/Core/StackMiddleware/AjaxPageState.php(36): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle()<br>#22 /www/wwwroot/idbip.com/web/core/lib/Drupal/Core/StackMiddleware/StackedHttpKernel.php(51): Drupal\Core\StackMiddleware\AjaxPageState->handle()<br>#23 /www/wwwroot/idbip.com/web/core/lib/Drupal/Core/DrupalKernel.php(704): Drupal\Core\StackMiddleware\StackedHttpKernel->handle()<br>#24 /www/wwwroot/idbip.com/web/index.php(19): Drupal\Core\DrupalKernel->handle()<br>#25 {main}</pre><h4 id="summary-steps-reproduce">Steps to reproduce</h4>
<p>Update to Drupal 10.2.0</p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>I uninstalled cdn, but I really wanted it to work somehow.</p>
> Related issue: [Issue #3394172](https://www.drupal.org/node/3394172)
> Related issue: [Issue #2441811](https://www.drupal.org/node/2441811)
> Related issue: [Issue #3401760](https://www.drupal.org/node/3401760)
issue