Account created on 30 October 2024, 22 days ago
#

Recent comments

Hey,

I updated everything to the lastest version, and still have the problem. I get some errors in my console about dates. The only thing I changed, was the title.

Besides that, when I want to open settings, it gives me an error (500).

In the drupal error log I could find these error messages:

Deprecated function: preg_split(): Passing null to parameter #2 ($subject) of type string is deprecated in Drupal\webform\Plugin\WebformElementBase->prepare() (line 730 of C:\xampp\htdocs\SpotsOfKnowledge\web\modules\contrib\webform\src\Plugin\WebformElementBase.php)

#0 C:\xampp\htdocs\SpotsOfKnowledge\web\core\includes\bootstrap.inc(166): _drupal_error_handler_real(8192, 'preg_split(): P...', 'C:\\xampp\\htdocs...', 730)
#1 [internal function]: _drupal_error_handler(8192, 'preg_split(): P...', 'C:\\xampp\\htdocs...', 730)
#2 C:\xampp\htdocs\SpotsOfKnowledge\web\modules\contrib\webform\src\Plugin\WebformElementBase.php(730): preg_split('/ +/', NULL)
#3 C:\xampp\htdocs\SpotsOfKnowledge\web\modules\contrib\webform\src\Plugin\WebformElement\OptionsBase.php(197): Drupal\webform\Plugin\WebformElementBase->prepare(Array, NULL)
#4 C:\xampp\htdocs\SpotsOfKnowledge\web\modules\contrib\webform\src\Plugin\WebformElement\Select.php(124): Drupal\webform\Plugin\WebformElement\OptionsBase->prepare(Array, NULL)
#5 C:\xampp\htdocs\SpotsOfKnowledge\web\modules\contrib\webform\src\Plugin\WebformElementManager.php(198): Drupal\webform\Plugin\WebformElement\Select->prepare(Array)
#6 C:\xampp\htdocs\SpotsOfKnowledge\web\modules\contrib\webform\src\Utility\WebformElementHelper.php(354): Drupal\webform\Plugin\WebformElementManager->processElement(Array)
#7 C:\xampp\htdocs\SpotsOfKnowledge\web\modules\contrib\webform\src\EntitySettings\WebformEntitySettingsGeneralForm.php(101): Drupal\webform\Utility\WebformElementHelper::process(Array)
#8 C:\xampp\htdocs\SpotsOfKnowledge\web\core\lib\Drupal\Core\Entity\EntityForm.php(107): Drupal\webform\EntitySettings\WebformEntitySettingsGeneralForm->form(Array, Object(Drupal\Core\Form\FormState))
#9 [internal function]: Drupal\Core\Entity\EntityForm->buildForm(Array, Object(Drupal\Core\Form\FormState))
#10 C:\xampp\htdocs\SpotsOfKnowledge\web\core\lib\Drupal\Core\Form\FormBuilder.php(536): call_user_func_array(Array, Array)
#11 C:\xampp\htdocs\SpotsOfKnowledge\web\core\lib\Drupal\Core\Form\FormBuilder.php(284): Drupal\Core\Form\FormBuilder->retrieveForm('webform_setting...', Object(Drupal\Core\Form\FormState))
#12 C:\xampp\htdocs\SpotsOfKnowledge\web\core\lib\Drupal\Core\Controller\FormController.php(73): Drupal\Core\Form\FormBuilder->buildForm(Object(Drupal\webform\EntitySettings\WebformEntitySettingsGeneralForm), Object(Drupal\Core\Form\FormState))
#13 [internal function]: Drupal\Core\Controller\FormController->getContentResult(Object(Symfony\Component\HttpFoundation\Request), Object(Drupal\Core\Routing\RouteMatch))
#14 C:\xampp\htdocs\SpotsOfKnowledge\web\core\lib\Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array(Array, Array)
#15 C:\xampp\htdocs\SpotsOfKnowledge\web\core\lib\Drupal\Core\Render\Renderer.php(638): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#16 C:\xampp\htdocs\SpotsOfKnowledge\web\core\lib\Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber.php(121): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object(Closure))
#17 C:\xampp\htdocs\SpotsOfKnowledge\web\core\lib\Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array)
#18 C:\xampp\htdocs\SpotsOfKnowledge\vendor\symfony\http-kernel\HttpKernel.php(181): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#19 C:\xampp\htdocs\SpotsOfKnowledge\vendor\symfony\http-kernel\HttpKernel.php(76): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1)
#20 C:\xampp\htdocs\SpotsOfKnowledge\web\core\lib\Drupal\Core\StackMiddleware\Session.php(53): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#21 C:\xampp\htdocs\SpotsOfKnowledge\web\core\lib\Drupal\Core\StackMiddleware\KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#22 C:\xampp\htdocs\SpotsOfKnowledge\web\core\lib\Drupal\Core\StackMiddleware\ContentLength.php(28): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#23 C:\xampp\htdocs\SpotsOfKnowledge\web\core\modules\big_pipe\src\StackMiddleware\ContentLength.php(32): Drupal\Core\StackMiddleware\ContentLength->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#24 C:\xampp\htdocs\SpotsOfKnowledge\web\core\modules\page_cache\src\StackMiddleware\PageCache.php(106): Drupal\big_pipe\StackMiddleware\ContentLength->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#25 C:\xampp\htdocs\SpotsOfKnowledge\web\core\modules\page_cache\src\StackMiddleware\PageCache.php(85): Drupal\page_cache\StackMiddleware\PageCache->pass(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#26 C:\xampp\htdocs\SpotsOfKnowledge\web\core\lib\Drupal\Core\StackMiddleware\ReverseProxyMiddleware.php(48): Drupal\page_cache\StackMiddleware\PageCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#27 C:\xampp\htdocs\SpotsOfKnowledge\web\core\lib\Drupal\Core\StackMiddleware\NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#28 C:\xampp\htdocs\SpotsOfKnowledge\web\core\lib\Drupal\Core\StackMiddleware\AjaxPageState.php(36): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#29 C:\xampp\htdocs\SpotsOfKnowledge\web\core\lib\Drupal\Core\StackMiddleware\StackedHttpKernel.php(51): Drupal\Core\StackMiddleware\AjaxPageState->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#30 C:\xampp\htdocs\SpotsOfKnowledge\web\core\lib\Drupal\Core\DrupalKernel.php(741): Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#31 C:\xampp\htdocs\SpotsOfKnowledge\web\index.php(19): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request))
#32 {main}
.

Warning: Trying to access array offset on value of type null in Drupal\webform\EntitySettings\WebformEntitySettingsGeneralForm->form() (line 175 of C:\xampp\htdocs\SpotsOfKnowledge\web\modules\contrib\webform\src\EntitySettings\WebformEntitySettingsGeneralForm.php)

#0 C:\xampp\htdocs\SpotsOfKnowledge\web\core\includes\bootstrap.inc(166): _drupal_error_handler_real(2, 'Trying to acces...', 'C:\\xampp\\htdocs...', 175)
#1 C:\xampp\htdocs\SpotsOfKnowledge\web\modules\contrib\webform\src\EntitySettings\WebformEntitySettingsGeneralForm.php(175): _drupal_error_handler(2, 'Trying to acces...', 'C:\\xampp\\htdocs...', 175)
#2 C:\xampp\htdocs\SpotsOfKnowledge\web\core\lib\Drupal\Core\Entity\EntityForm.php(107): Drupal\webform\EntitySettings\WebformEntitySettingsGeneralForm->form(Array, Object(Drupal\Core\Form\FormState))
#3 [internal function]: Drupal\Core\Entity\EntityForm->buildForm(Array, Object(Drupal\Core\Form\FormState))
#4 C:\xampp\htdocs\SpotsOfKnowledge\web\core\lib\Drupal\Core\Form\FormBuilder.php(536): call_user_func_array(Array, Array)
#5 C:\xampp\htdocs\SpotsOfKnowledge\web\core\lib\Drupal\Core\Form\FormBuilder.php(284): Drupal\Core\Form\FormBuilder->retrieveForm('webform_setting...', Object(Drupal\Core\Form\FormState))
#6 C:\xampp\htdocs\SpotsOfKnowledge\web\core\lib\Drupal\Core\Controller\FormController.php(73): Drupal\Core\Form\FormBuilder->buildForm(Object(Drupal\webform\EntitySettings\WebformEntitySettingsGeneralForm), Object(Drupal\Core\Form\FormState))
#7 [internal function]: Drupal\Core\Controller\FormController->getContentResult(Object(Symfony\Component\HttpFoundation\Request), Object(Drupal\Core\Routing\RouteMatch))
#8 C:\xampp\htdocs\SpotsOfKnowledge\web\core\lib\Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array(Array, Array)
#9 C:\xampp\htdocs\SpotsOfKnowledge\web\core\lib\Drupal\Core\Render\Renderer.php(638): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#10 C:\xampp\htdocs\SpotsOfKnowledge\web\core\lib\Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber.php(121): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object(Closure))
#11 C:\xampp\htdocs\SpotsOfKnowledge\web\core\lib\Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array)
#12 C:\xampp\htdocs\SpotsOfKnowledge\vendor\symfony\http-kernel\HttpKernel.php(181): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#13 C:\xampp\htdocs\SpotsOfKnowledge\vendor\symfony\http-kernel\HttpKernel.php(76): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1)
#14 C:\xampp\htdocs\SpotsOfKnowledge\web\core\lib\Drupal\Core\StackMiddleware\Session.php(53): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#15 C:\xampp\htdocs\SpotsOfKnowledge\web\core\lib\Drupal\Core\StackMiddleware\KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#16 C:\xampp\htdocs\SpotsOfKnowledge\web\core\lib\Drupal\Core\StackMiddleware\ContentLength.php(28): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#17 C:\xampp\htdocs\SpotsOfKnowledge\web\core\modules\big_pipe\src\StackMiddleware\ContentLength.php(32): Drupal\Core\StackMiddleware\ContentLength->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#18 C:\xampp\htdocs\SpotsOfKnowledge\web\core\modules\page_cache\src\StackMiddleware\PageCache.php(106): Drupal\big_pipe\StackMiddleware\ContentLength->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#19 C:\xampp\htdocs\SpotsOfKnowledge\web\core\modules\page_cache\src\StackMiddleware\PageCache.php(85): Drupal\page_cache\StackMiddleware\PageCache->pass(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#20 C:\xampp\htdocs\SpotsOfKnowledge\web\core\lib\Drupal\Core\StackMiddleware\ReverseProxyMiddleware.php(48): Drupal\page_cache\StackMiddleware\PageCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#21 C:\xampp\htdocs\SpotsOfKnowledge\web\core\lib\Drupal\Core\StackMiddleware\NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#22 C:\xampp\htdocs\SpotsOfKnowledge\web\core\lib\Drupal\Core\StackMiddleware\AjaxPageState.php(36): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#23 C:\xampp\htdocs\SpotsOfKnowledge\web\core\lib\Drupal\Core\StackMiddleware\StackedHttpKernel.php(51): Drupal\Core\StackMiddleware\AjaxPageState->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#24 C:\xampp\htdocs\SpotsOfKnowledge\web\core\lib\Drupal\Core\DrupalKernel.php(741): Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#25 C:\xampp\htdocs\SpotsOfKnowledge\web\index.php(19): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request))
#26 {main}

.

MESSAGE:
TypeError: Drupal\webform\EntitySettings\WebformEntitySettingsBaseForm::appendBehaviors(): Argument #4 ($default_settings) must be of type array, null given, called in C:\xampp\htdocs\SpotsOfKnowledge\web\modules\contrib\webform\src\EntitySettings\WebformEntitySettingsGeneralForm.php on line 278 in Drupal\webform\EntitySettings\WebformEntitySettingsBaseForm->appendBehaviors() (line 129 of C:\xampp\htdocs\SpotsOfKnowledge\web\modules\contrib\webform\src\EntitySettings\WebformEntitySettingsBaseForm.php).

BACKTRACE:
#0 C:\xampp\htdocs\SpotsOfKnowledge\web\modules\contrib\webform\src\EntitySettings\WebformEntitySettingsGeneralForm.php(278): Drupal\webform\EntitySettings\WebformEntitySettingsBaseForm->appendBehaviors(Array, Array, Array, NULL)
#1 C:\xampp\htdocs\SpotsOfKnowledge\web\core\lib\Drupal\Core\Entity\EntityForm.php(107): Drupal\webform\EntitySettings\WebformEntitySettingsGeneralForm->form(Array, Object(Drupal\Core\Form\FormState))
#2 [internal function]: Drupal\Core\Entity\EntityForm->buildForm(Array, Object(Drupal\Core\Form\FormState))
#3 C:\xampp\htdocs\SpotsOfKnowledge\web\core\lib\Drupal\Core\Form\FormBuilder.php(536): call_user_func_array(Array, Array)
#4 C:\xampp\htdocs\SpotsOfKnowledge\web\core\lib\Drupal\Core\Form\FormBuilder.php(284): Drupal\Core\Form\FormBuilder->retrieveForm('webform_setting...', Object(Drupal\Core\Form\FormState))
#5 C:\xampp\htdocs\SpotsOfKnowledge\web\core\lib\Drupal\Core\Controller\FormController.php(73): Drupal\Core\Form\FormBuilder->buildForm(Object(Drupal\webform\EntitySettings\WebformEntitySettingsGeneralForm), Object(Drupal\Core\Form\FormState))
#6 [internal function]: Drupal\Core\Controller\FormController->getContentResult(Object(Symfony\Component\HttpFoundation\Request), Object(Drupal\Core\Routing\RouteMatch))
#7 C:\xampp\htdocs\SpotsOfKnowledge\web\core\lib\Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array(Array, Array)
#8 C:\xampp\htdocs\SpotsOfKnowledge\web\core\lib\Drupal\Core\Render\Renderer.php(638): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#9 C:\xampp\htdocs\SpotsOfKnowledge\web\core\lib\Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber.php(121): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object(Closure))
#10 C:\xampp\htdocs\SpotsOfKnowledge\web\core\lib\Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array)
#11 C:\xampp\htdocs\SpotsOfKnowledge\vendor\symfony\http-kernel\HttpKernel.php(181): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#12 C:\xampp\htdocs\SpotsOfKnowledge\vendor\symfony\http-kernel\HttpKernel.php(76): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1)
#13 C:\xampp\htdocs\SpotsOfKnowledge\web\core\lib\Drupal\Core\StackMiddleware\Session.php(53): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#14 C:\xampp\htdocs\SpotsOfKnowledge\web\core\lib\Drupal\Core\StackMiddleware\KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#15 C:\xampp\htdocs\SpotsOfKnowledge\web\core\lib\Drupal\Core\StackMiddleware\ContentLength.php(28): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#16 C:\xampp\htdocs\SpotsOfKnowledge\web\core\modules\big_pipe\src\StackMiddleware\ContentLength.php(32): Drupal\Core\StackMiddleware\ContentLength->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#17 C:\xampp\htdocs\SpotsOfKnowledge\web\core\modules\page_cache\src\StackMiddleware\PageCache.php(106): Drupal\big_pipe\StackMiddleware\ContentLength->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#18 C:\xampp\htdocs\SpotsOfKnowledge\web\core\modules\page_cache\src\StackMiddleware\PageCache.php(85): Drupal\page_cache\StackMiddleware\PageCache->pass(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#19 C:\xampp\htdocs\SpotsOfKnowledge\web\core\lib\Drupal\Core\StackMiddleware\ReverseProxyMiddleware.php(48): Drupal\page_cache\StackMiddleware\PageCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#20 C:\xampp\htdocs\SpotsOfKnowledge\web\core\lib\Drupal\Core\StackMiddleware\NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#21 C:\xampp\htdocs\SpotsOfKnowledge\web\core\lib\Drupal\Core\StackMiddleware\AjaxPageState.php(36): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#22 C:\xampp\htdocs\SpotsOfKnowledge\web\core\lib\Drupal\Core\StackMiddleware\StackedHttpKernel.php(51): Drupal\Core\StackMiddleware\AjaxPageState->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#23 C:\xampp\htdocs\SpotsOfKnowledge\web\core\lib\Drupal\Core\DrupalKernel.php(741): Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#24 C:\xampp\htdocs\SpotsOfKnowledge\web\index.php(19): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request))
#25 {main}

Production build 0.71.5 2024