Problem/Motivation
Module throws multiple errors relating to line 1030 of /home/???????/public_html/modules/contrib/views_send/views_send.module) - where ??????? is removed folder name
Steps to reproduce
User has permission to send Bulk emails and also to send attachments via Views Send
If User is Administrator (User 1) this error is not thrown
Errors in full as logged are
Notice: Undefined index: views_send_bulk_form in _views_send_get_fields_and_tokens() (line 1030 of /home/???????/public_html/modules/contrib/views_send/views_send.module)
#0 /home/???????/public_html/core/includes/bootstrap.inc(346): _drupal_error_handler_real(8, 'Undefined index...', '/home/cqsaservi...', 1030)
#1 /home/???????/public_html/modules/contrib/views_send/views_send.module(1030): _drupal_error_handler(8, 'Undefined index...', '/home/cqsaservi...', 1030, Array)
#2 /home/???????/public_html/modules/contrib/views_send/views_send.module(111): _views_send_get_fields_and_tokens(Object(Drupal\views\ViewExecutable), 'fields')
#3 /home/???????/public_html/modules/contrib/views_send/src/Plugin/views/field/ViewsSend.php(74): views_send_config_form(Array, Object(Drupal\Core\Form\FormState), Object(Drupal\views\ViewExecutable))
#4 /home/???????/public_html/core/modules/views/src/Form/ViewsFormMainForm.php(111): Drupal\views_send\Plugin\views\field\ViewsSend->viewsForm(Array, Object(Drupal\Core\Form\FormState))
#5 /home/???????/public_html/core/modules/views/src/Form/ViewsForm.php(169): Drupal\views\Form\ViewsFormMainForm->buildForm(Array, Object(Drupal\Core\Form\FormState), Object(Drupal\views\ViewExecutable), Array)
#6 [internal function]: Drupal\views\Form\ViewsForm->buildForm(Array, Object(Drupal\Core\Form\FormState), Object(Drupal\views\ViewExecutable), Array)
#7 /home/???????/public_html/core/lib/Drupal/Core/Form/FormBuilder.php(531): call_user_func_array(Array, Array)
#8 /home/???????/public_html/core/lib/Drupal/Core/Form/FormBuilder.php(370): Drupal\Core\Form\FormBuilder->retrieveForm('views_form_dupl...', Object(Drupal\Core\Form\FormState))
#9 /home/???????/public_html/core/lib/Drupal/Core/Form/FormBuilder.php(628): Drupal\Core\Form\FormBuilder->rebuildForm('views_form_dupl...', Object(Drupal\Core\Form\FormState), Array)
#10 /home/???????/public_html/core/lib/Drupal/Core/Form/FormBuilder.php(320): Drupal\Core\Form\FormBuilder->processForm('views_form_dupl...', Array, Object(Drupal\Core\Form\FormState))
#11 /home/???????/public_html/core/lib/Drupal/Core/Form/FormBuilder.php(219): Drupal\Core\Form\FormBuilder->buildForm(Object(Drupal\views\Form\ViewsForm), Object(Drupal\Core\Form\FormState))
#12 /home/???????/public_html/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php(2258): Drupal\Core\Form\FormBuilder->getForm(Object(Drupal\views\Form\ViewsForm), Object(Drupal\views\ViewExecutable), Array)
#13 [internal function]: Drupal\views\Plugin\views\display\DisplayPluginBase->elementPreRender(Array)
#14 /home/???????/public_html/core/lib/Drupal/Core/Security/DoTrustedCallbackTrait.php(101): call_user_func_array(Array, Array)
#15 /home/???????/public_html/core/lib/Drupal/Core/Render/Renderer.php(772): Drupal\Core\Render\Renderer->doTrustedCallback(Array, Array, 'Render #pre_ren...', 'exception', 'Drupal\\Core\\Ren...')
#16 /home/???????/public_html/core/lib/Drupal/Core/Render/Renderer.php(363): Drupal\Core\Render\Renderer->doCallback('#pre_render', Array, Array)
#17 /home/???????/public_html/core/lib/Drupal/Core/Render/Renderer.php(435): Drupal\Core\Render\Renderer->doRender(Array)
#18 /home/???????/public_html/core/lib/Drupal/Core/Render/Renderer.php(201): Drupal\Core\Render\Renderer->doRender(Array, false)
#19 /home/???????/public_html/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(241): Drupal\Core\Render\Renderer->render(Array, false)
#20 /home/???????/public_html/core/lib/Drupal/Core/Render/Renderer.php(564): Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}()
#21 /home/???????/public_html/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(242): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object(Closure))
#22 /home/???????/public_html/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(132): Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object(Symfony\Component\HttpFoundation\Request), Object(Drupal\Core\Routing\CurrentRouteMatch))
#23 /home/???????/public_html/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))
#24 [internal function]: Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object(Symfony\Component\HttpKernel\Event\ViewEvent), 'kernel.view', Object(Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher))
#25 /home/???????/public_html/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php(142): call_user_func(Array, Object(Symfony\Component\HttpKernel\Event\ViewEvent), 'kernel.view', Object(Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher))
#26 /home/???????/public_html/vendor/symfony/http-kernel/HttpKernel.php(163): Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object(Symfony\Component\HttpKernel\Event\ViewEvent), 'kernel.view')
#27 /home/???????/public_html/vendor/symfony/http-kernel/HttpKernel.php(80): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1)
#28 /home/???????/public_html/core/lib/Drupal/Core/StackMiddleware/Session.php(58): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#29 /home/???????/public_html/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#30 /home/???????/public_html/modules/lscache-drupal-1.1/src/StackMiddleware/LiteSpeedCache.php(144): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#31 /home/???????/public_html/modules/lscache-drupal-1.1/src/StackMiddleware/LiteSpeedCache.php(116): Drupal\lite_speed_cache\StackMiddleware\LiteSpeedCache->pass(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#32 /home/???????/public_html/core/modules/page_cache/src/StackMiddleware/PageCache.php(106): Drupal\lite_speed_cache\StackMiddleware\LiteSpeedCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#33 /home/???????/public_html/core/modules/page_cache/src/StackMiddleware/PageCache.php(85): Drupal\page_cache\StackMiddleware\PageCache->pass(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#34 /home/???????/public_html/core/modules/ban/src/BanMiddleware.php(50): Drupal\page_cache\StackMiddleware\PageCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#35 /home/???????/public_html/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\ban\BanMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#36 /home/???????/public_html/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#37 /home/???????/public_html/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#38 /home/???????/public_html/core/lib/Drupal/Core/DrupalKernel.php(708): Stack\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#39 /home/???????/public_html/index.php(19): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request))
#40 {main}
Then >>>>>>>>>>>>>>>>>>>>>>>>>
Notice: Trying to get property 'options' of non-object in _views_send_get_fields_and_tokens() (line 1030 of /home/???????/public_html/modules/contrib/views_send/views_send.module)
#0 /home/???????/public_html/core/includes/bootstrap.inc(346): _drupal_error_handler_real(8, 'Trying to get p...', '/home/???????', 1030)
#1 /home/???????/public_html/modules/contrib/views_send/views_send.module(1030): _drupal_error_handler(8, 'Trying to get p...', '/home/???????...', 1030, Array)
#2 /home/???????/public_html/modules/contrib/views_send/views_send.module(111): _views_send_get_fields_and_tokens(Object(Drupal\views\ViewExecutable), 'fields')
#3 /home/???????/public_html/modules/contrib/views_send/src/Plugin/views/field/ViewsSend.php(74): views_send_config_form(Array, Object(Drupal\Core\Form\FormState), Object(Drupal\views\ViewExecutable))
#4 /home/???????/public_html/core/modules/views/src/Form/ViewsFormMainForm.php(111): Drupal\views_send\Plugin\views\field\ViewsSend->viewsForm(Array, Object(Drupal\Core\Form\FormState))
#5 /home/???????/public_html/core/modules/views/src/Form/ViewsForm.php(169): Drupal\views\Form\ViewsFormMainForm->buildForm(Array, Object(Drupal\Core\Form\FormState), Object(Drupal\views\ViewExecutable), Array)
#6 [internal function]: Drupal\views\Form\ViewsForm->buildForm(Array, Object(Drupal\Core\Form\FormState), Object(Drupal\views\ViewExecutable), Array)
#7 /home/???????/public_html/core/lib/Drupal/Core/Form/FormBuilder.php(531): call_user_func_array(Array, Array)
#8 /home/???????/public_html/core/lib/Drupal/Core/Form/FormBuilder.php(370): Drupal\Core\Form\FormBuilder->retrieveForm('views_form_dupl...', Object(Drupal\Core\Form\FormState))
#9 /home/???????/public_html/core/lib/Drupal/Core/Form/FormBuilder.php(628): Drupal\Core\Form\FormBuilder->rebuildForm('views_form_dupl...', Object(Drupal\Core\Form\FormState), Array)
#10 /home/???????/public_html/core/lib/Drupal/Core/Form/FormBuilder.php(320): Drupal\Core\Form\FormBuilder->processForm('views_form_dupl...', Array, Object(Drupal\Core\Form\FormState))
#11 /home/???????/public_html/core/lib/Drupal/Core/Form/FormBuilder.php(219): Drupal\Core\Form\FormBuilder->buildForm(Object(Drupal\views\Form\ViewsForm), Object(Drupal\Core\Form\FormState))
#12 /home/???????/public_html/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php(2258): Drupal\Core\Form\FormBuilder->getForm(Object(Drupal\views\Form\ViewsForm), Object(Drupal\views\ViewExecutable), Array)
#13 [internal function]: Drupal\views\Plugin\views\display\DisplayPluginBase->elementPreRender(Array)
#14 /home/???????/public_html/core/lib/Drupal/Core/Security/DoTrustedCallbackTrait.php(101): call_user_func_array(Array, Array)
#15 /home/???????/public_html/core/lib/Drupal/Core/Render/Renderer.php(772): Drupal\Core\Render\Renderer->doTrustedCallback(Array, Array, 'Render #pre_ren...', 'exception', 'Drupal\\Core\\Ren...')
#16 /home/???????/public_html/core/lib/Drupal/Core/Render/Renderer.php(363): Drupal\Core\Render\Renderer->doCallback('#pre_render', Array, Array)
#17 /home/???????/public_html/core/lib/Drupal/Core/Render/Renderer.php(435): Drupal\Core\Render\Renderer->doRender(Array)
#18 /home/???????/public_html/core/lib/Drupal/Core/Render/Renderer.php(201): Drupal\Core\Render\Renderer->doRender(Array, false)
#19 /home/???????/public_html/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(241): Drupal\Core\Render\Renderer->render(Array, false)
#20 /home/???????/public_html/core/lib/Drupal/Core/Render/Renderer.php(564): Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}()
#21 /home/???????/public_html/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(242): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object(Closure))
#22 /home/???????/public_html/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(132): Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object(Symfony\Component\HttpFoundation\Request), Object(Drupal\Core\Routing\CurrentRouteMatch))
#23 /home/???????/public_html/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))
#24 [internal function]: Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object(Symfony\Component\HttpKernel\Event\ViewEvent), 'kernel.view', Object(Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher))
#25 /home/???????/public_html/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php(142): call_user_func(Array, Object(Symfony\Component\HttpKernel\Event\ViewEvent), 'kernel.view', Object(Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher))
#26 /home/???????/public_html/vendor/symfony/http-kernel/HttpKernel.php(163): Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object(Symfony\Component\HttpKernel\Event\ViewEvent), 'kernel.view')
#27 /home/???????/public_html/vendor/symfony/http-kernel/HttpKernel.php(80): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1)
#28 /home/???????/public_html/core/lib/Drupal/Core/StackMiddleware/Session.php(58): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#29 /home/???????/public_html/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#30 /home/???????/public_html/modules/lscache-drupal-1.1/src/StackMiddleware/LiteSpeedCache.php(144): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#31 /home/???????/public_html/modules/lscache-drupal-1.1/src/StackMiddleware/LiteSpeedCache.php(116): Drupal\lite_speed_cache\StackMiddleware\LiteSpeedCache->pass(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#32 /home/???????/public_html/core/modules/page_cache/src/StackMiddleware/PageCache.php(106): Drupal\lite_speed_cache\StackMiddleware\LiteSpeedCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#33 /home/???????/public_html/core/modules/page_cache/src/StackMiddleware/PageCache.php(85): Drupal\page_cache\StackMiddleware\PageCache->pass(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#34 /home/???????/public_html/core/modules/ban/src/BanMiddleware.php(50): Drupal\page_cache\StackMiddleware\PageCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#35 /home/???????/public_html/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\ban\BanMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#36 /home/???????/public_html/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#37 /home/???????/public_html/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#38 /home/???????/public_html/core/lib/Drupal/Core/DrupalKernel.php(708): Stack\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#39 /home/???????/public_html/index.php(19): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request))
#40 {main}
And then >>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Notice: Trying to access array offset on value of type null in _views_send_get_fields_and_tokens() (line 1030 of /home/???????/public_html/modules/contrib/views_send/views_send.module)
#0 /home/???????/public_html/core/includes/bootstrap.inc(346): _drupal_error_handler_real(8, 'Trying to acces...', '/home/???????...', 1030)
#1 /home/cqsaservices/public_html/modules/contrib/views_send/views_send.module(1030): _drupal_error_handler(8, 'Trying to acces...', '/home/???????...', 1030, Array)
#2 /home/???????/public_html/modules/contrib/views_send/views_send.module(111): _views_send_get_fields_and_tokens(Object(Drupal\views\ViewExecutable), 'fields')
#3 /home/???????/public_html/modules/contrib/views_send/src/Plugin/views/field/ViewsSend.php(74): views_send_config_form(Array, Object(Drupal\Core\Form\FormState), Object(Drupal\views\ViewExecutable))
#4 /home/???????/public_html/core/modules/views/src/Form/ViewsFormMainForm.php(111): Drupal\views_send\Plugin\views\field\ViewsSend->viewsForm(Array, Object(Drupal\Core\Form\FormState))
#5 /home/???????/public_html/core/modules/views/src/Form/ViewsForm.php(169): Drupal\views\Form\ViewsFormMainForm->buildForm(Array, Object(Drupal\Core\Form\FormState), Object(Drupal\views\ViewExecutable), Array)
#6 [internal function]: Drupal\views\Form\ViewsForm->buildForm(Array, Object(Drupal\Core\Form\FormState), Object(Drupal\views\ViewExecutable), Array)
#7 /home/???????/public_html/core/lib/Drupal/Core/Form/FormBuilder.php(531): call_user_func_array(Array, Array)
#8 /home/???????/public_html/core/lib/Drupal/Core/Form/FormBuilder.php(370): Drupal\Core\Form\FormBuilder->retrieveForm('views_form_dupl...', Object(Drupal\Core\Form\FormState))
#9 /home/???????/public_html/core/lib/Drupal/Core/Form/FormBuilder.php(628): Drupal\Core\Form\FormBuilder->rebuildForm('views_form_dupl...', Object(Drupal\Core\Form\FormState), Array)
#10 /home/???????/public_html/core/lib/Drupal/Core/Form/FormBuilder.php(320): Drupal\Core\Form\FormBuilder->processForm('views_form_dupl...', Array, Object(Drupal\Core\Form\FormState))
#11 /home/???????/public_html/core/lib/Drupal/Core/Form/FormBuilder.php(219): Drupal\Core\Form\FormBuilder->buildForm(Object(Drupal\views\Form\ViewsForm), Object(Drupal\Core\Form\FormState))
#12 /home/???????/public_html/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php(2258): Drupal\Core\Form\FormBuilder->getForm(Object(Drupal\views\Form\ViewsForm), Object(Drupal\views\ViewExecutable), Array)
#13 [internal function]: Drupal\views\Plugin\views\display\DisplayPluginBase->elementPreRender(Array)
#14 /home/cqsaservices/public_html/core/lib/Drupal/Core/Security/DoTrustedCallbackTrait.php(101): call_user_func_array(Array, Array)
#15 /home/???????/public_html/core/lib/Drupal/Core/Render/Renderer.php(772): Drupal\Core\Render\Renderer->doTrustedCallback(Array, Array, 'Render #pre_ren...', 'exception', 'Drupal\\Core\\Ren...')
#16 /home/???????/public_html/core/lib/Drupal/Core/Render/Renderer.php(363): Drupal\Core\Render\Renderer->doCallback('#pre_render', Array, Array)
#17 /home/???????/public_html/core/lib/Drupal/Core/Render/Renderer.php(435): Drupal\Core\Render\Renderer->doRender(Array)
#18 /home/???????/public_html/core/lib/Drupal/Core/Render/Renderer.php(201): Drupal\Core\Render\Renderer->doRender(Array, false)
#19 /home/???????/public_html/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(241): Drupal\Core\Render\Renderer->render(Array, false)
#20 /home/???????/public_html/core/lib/Drupal/Core/Render/Renderer.php(564): Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}()
#21 /home/???????/public_html/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(242): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object(Closure))
#22 /home/???????/public_html/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(132): Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object(Symfony\Component\HttpFoundation\Request), Object(Drupal\Core\Routing\CurrentRouteMatch))
#23 /home/???????/public_html/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))
#24 [internal function]: Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object(Symfony\Component\HttpKernel\Event\ViewEvent), 'kernel.view', Object(Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher))
#25 /home/???????/public_html/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php(142): call_user_func(Array, Object(Symfony\Component\HttpKernel\Event\ViewEvent), 'kernel.view', Object(Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher))
#26 /home/???????/public_html/vendor/symfony/http-kernel/HttpKernel.php(163): Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object(Symfony\Component\HttpKernel\Event\ViewEvent), 'kernel.view')
#27 /home/???????/public_html/vendor/symfony/http-kernel/HttpKernel.php(80): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1)
#28 /home/???????/public_html/core/lib/Drupal/Core/StackMiddleware/Session.php(58): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#29 /home/???????/public_html/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#30 /home/???????/public_html/modules/lscache-drupal-1.1/src/StackMiddleware/LiteSpeedCache.php(144): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#31 /home/???????/public_html/modules/lscache-drupal-1.1/src/StackMiddleware/LiteSpeedCache.php(116): Drupal\lite_speed_cache\StackMiddleware\LiteSpeedCache->pass(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#32 /home/???????/public_html/core/modules/page_cache/src/StackMiddleware/PageCache.php(106): Drupal\lite_speed_cache\StackMiddleware\LiteSpeedCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#33 /home/???????/public_html/core/modules/page_cache/src/StackMiddleware/PageCache.php(85): Drupal\page_cache\StackMiddleware\PageCache->pass(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#34 /home/???????/public_html/core/modules/ban/src/BanMiddleware.php(50): Drupal\page_cache\StackMiddleware\PageCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#35 /home/???????/public_html/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\ban\BanMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#36 /home/???????/public_html/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#37 /home/???????/public_html/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#38 /home/???????/public_html/core/lib/Drupal/Core/DrupalKernel.php(708): Stack\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#39 /home/???????/public_html/index.php(19): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request))
#40 {main}
AND Finally >>>>>>>>>>>>>>>>>>>>>>>>>
LogicException: The database connection is not serializable. This probably means you are serializing an object that has an indirect reference to the database connection. Adjust your code so that is not necessary. Alternatively, look at DependencySerializationTrait as a temporary solution. in Drupal\Core\Database\Connection->__sleep() (line 1993 of /home/???????/public_html/core/lib/Drupal/Core/Database/Connection.php).