Closed (fixed)
Project:
Splash Redirect
Version:
8.x-1.1-beta3
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Reporter:
Created:
30 Dec 2018 at 18:06 UTC
Updated:
2 Jan 2019 at 20:47 UTC
Jump to comment: Most recent
Drupal 8.6
Enable module, proceed to > /admin/config/search/splash_redirect/settings
This error appears:
Warning: array_flip(): Can only flip STRING and INTEGER values! in Drupal\Core\Entity\EntityStorageBase->loadMultiple() (line 264 of core/lib/Drupal/Core/Entity/EntityStorageBase.php).
Drupal\Core\Entity\EntityStorageBase->loadMultiple(Array) (Line: 249)
Drupal\Core\Entity\EntityStorageBase->load(NULL) (Line: 527)
Drupal\Core\Entity\Entity::load(NULL) (Line: 44)
Drupal\splash_redirect\Form\SplashRedirectSettingsForm->buildForm(Array, Object)
call_user_func_array(Array, Array) (Line: 518)
Drupal\Core\Form\FormBuilder->retrieveForm('splash_redirect_settings_form', Object) (Line: 275)
Drupal\Core\Form\FormBuilder->buildForm('splash_redirect_settings_form', Object) (Line: 93)
Drupal\Core\Controller\FormController->getContentResult(Object, Object)
call_user_func_array(Array, Array) (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 582)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 124)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 151)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 99)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 78)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 44)
Drupal\services\StackMiddleware\FormatSetter->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 669)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Comments
Comment #2
krisrobinson commentedConfirming that I'm getting this error on multiple environments - when the module is first installed and when you first go to the config page. After 2-3 error messages, it goes away.
Comment #3
adambernstein commentedLooks like this happens on first install/when there's no value previously stored in the 'Source page' field. Updating severity to 'minor' as it's a warning and not error. Will update in next release.
Comment #4
krisrobinson commentedOkay makes sense, thanks @AdamBernstein.
Comment #6
adambernstein commentedFixed in 8.x-1.2 release
Comment #7
adambernstein commented