Fatal error: Uncaught Doctrine\DBAL\Driver\Mysqli\Exception\StatementError: MySQL server has gone away in /var/www/html/wp-content/plugins/endless-core/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/Mysqli/Exception/StatementError.php:21
Stack trace:
#0 /var/www/html/wp-content/plugins/endless-core/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/Mysqli/MysqliStatement.php(170): Doctrine\DBAL\Driver\Mysqli\Exception\StatementError::new(Object(mysqli_stmt))
#1 /var/www/html/wp-content/plugins/endless-core/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(1304): Doctrine\DBAL\Driver\Mysqli\MysqliStatement->execute()
#2 /var/www/html/wp-content/plugins/endless-core/vendor/doctrine/orm/lib/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php(900): Doctrine\DBAL\Connection->executeQuery('SELECT t0.meta_...', Array, Array)
#3 /var/www/html/wp-content/plugins/endless-core/vendor/doctrine/orm/lib/Doctrine/ORM/EntityRepository.php(194): Doctrine\ORM\Persisters\Entity\BasicEntityPersister->loadAll(Array, NULL, NULL, NULL)
#4 /var/www/html/wp-content/plugins/endless-core/vendor/doctrine/orm/lib/Doctrine/ORM/EntityRepository.php(331): Doctrine\ORM\EntityRepository->findBy(Array)
#5 /var/www/html/wp-content/plugins/endless-core/vendor/doctrine/orm/lib/Doctrine/ORM/EntityRepository.php(241): Doctrine\ORM\EntityRepository->resolveMagicCall('findBy', 'PostId', Array)
#6 /var/www/html/wp-content/plugins/endless-core/EndlessCore/Repository/Wp/PostMetaBase.php(257): Doctrine\ORM\EntityRepository->__call('findByPostId', Array)
#7 /var/www/html/wp-content/plugins/endless-core/classes/EntityConverter/PostToPostWithMetaConverter/PostToPostWithMetaConverterService.php(95): EndlessCore\Repository\Wp\PostMetaBase->findByPostIds(Array)
#8 /var/www/html/wp-content/plugins/endless-core/classes/EntityConverter/PostToPostWithMetaConverter/PostToPostWithMetaConverterService.php(48): EndlessCore\EntityConverter\PostToPostWithMetaConverter\PostToPostWithMetaConverterService->getMeta(Array)
#9 /var/www/html/wp-content/plugins/endless-core/classes/Service/EntityFinder/Post/PostWithMeta/PostWithMetaEntityFinderService.php(88): EndlessCore\EntityConverter\PostToPostWithMetaConverter\PostToPostWithMetaConverterService->convert(Array, '')
#10 /var/www/html/wp-content/plugins/endless-core/classes/Service/EntityFinder/Post/PostWithMeta/PostWithMetaEntityFinderService.php(78): EndlessCore\Service\EntityFinder\Post\PostWithMeta\PostWithMetaEntityFinderService->convertPostEntitiesToPostWithMetaEntities(Array)
#11 /var/www/html/wp-content/plugins/endless-core/classes/Service/EntityFinder/Post/PostWithMeta/PostWithMetaEntityFinderService.php(27): EndlessCore\Service\EntityFinder\Post\PostWithMeta\PostWithMetaEntityFinderService->convertPostEntityToPostWithMetaEntity(Object(EndlessCore\Entity\Wp\Post))
#12 /var/www/html/wp-content/plugins/endless-core/classes/Gutenberg/Block/Advertising/Renderer.php(61): EndlessCore\Service\EntityFinder\Post\PostWithMeta\PostWithMetaEntityFinderService->findPostWithMetaEntityByPostId(3439445)
#13 /var/www/html/wp-content/plugins/endless-core/classes/Gutenberg/Block/Advertising/Renderer.php(79): EndlessCore\Gutenberg\Block\Advertising\Renderer->findPostWithMetaEntityById(3439445)
#14 /var/www/html/wp-content/plugins/endless-core/classes/Gutenberg/Block/Advertising/Renderer.php(35): EndlessCore\Gutenberg\Block\Advertising\Renderer->getBannerPost()
#15 /var/www/html/wp-content/plugins/endless-core/classes/Gutenberg/Block/Advertising/Block.php(122): EndlessCore\Gutenberg\Block\Advertising\Renderer->getView()
#16 /var/www/html/wp-content/plugins/endless-core/classes/DiviModule/Advertising/AdvertisingModule.php(51): EndlessCore\Gutenberg\Block\Advertising\Block->getView(Array)
#17 /var/www/html/wp-content/plugins/endless-core/classes/DiviModule/Base.php(43): EndlessCore\DiviModule\Advertising\AdvertisingModule->getView(Array, '', 'et_pb_advertisi...', '', '', '')
#18 /var/www/html/wp-content/themes/Divi/includes/builder/class-et-builder-element.php(1864): EndlessCore\DiviModule\Base->render(Array, '', 'et_pb_advertisi...', '', '', '')
#19 /var/www/html/wp-includes/shortcodes.php(355): ET_Builder_Element->_render(Array, '', 'et_pb_advertisi...')
#20 [internal function]: do_shortcode_tag(Array)
#21 /var/www/html/wp-includes/shortcodes.php(227): preg_replace_callback('/\\[(\\[?)(et_pb_...', 'do_shortcode_ta...', '[et_pb_advertis...')
#22 /var/www/html/wp-content/themes/Divi/includes/builder/main-structure-elements.php(3741): do_shortcode('[et_pb_advertis...')
#23 /var/www/html/wp-content/themes/Divi/includes/builder/class-et-builder-element.php(1864): ET_Builder_Column->render(Array, '[et_pb_advertis...', 'et_pb_column', '', '', '')
#24 /var/www/html/wp-includes/shortcodes.php(355): ET_Builder_Element->_render(Array, '[et_pb_advertis...', 'et_pb_column')
#25 [internal function]: do_shortcode_tag(Array)
#26 /var/www/html/wp-includes/shortcodes.php(227): preg_replace_callback('/\\[(\\[?)(et_pb_...', 'do_shortcode_ta...', '[et_pb_column t...')
#27 /var/www/html/wp-content/themes/Divi/includes/builder/main-structure-elements.php(2383): do_shortcode('[et_pb_column t...')
#28 /var/www/html/wp-content/themes/Divi/includes/builder/class-et-builder-element.php(1864): ET_Builder_Row->render('', '[et_pb_column t...', 'et_pb_row', '', '', '')
#29 /var/www/html/wp-includes/shortcodes.php(355): ET_Builder_Element->_render('', '[et_pb_column t...', 'et_pb_row')
#30 [internal function]: do_shortcode_tag(Array)
#31 /var/www/html/wp-includes/shortcodes.php(227): preg_replace_callback('/\\[(\\[?)(et_pb_...', 'do_shortcode_ta...', '[et_pb_row][et_...')
#32 /var/www/html/wp-content/themes/Divi/includes/builder/main-structure-elements.php(1033): do_shortcode('[et_pb_row][et_...')
#33 /var/www/html/wp-content/themes/Divi/includes/builder/class-et-builder-element.php(1864): ET_Builder_Section->render(Array, '[et_pb_row][et_...', 'et_pb_section', '', '', '')
#34 /var/www/html/wp-includes/shortcodes.php(355): ET_Builder_Element->_render(Array, '[et_pb_row][et_...', 'et_pb_section')
#35 [internal function]: do_shortcode_tag(Array)
#36 /var/www/html/wp-includes/shortcodes.php(227): preg_replace_callback('/\\[(\\[?)(et_pb_...', 'do_shortcode_ta...', 'apply_filters('
loadTemplate(Object(stdClass))
#43 /var/www/html/wp-includes/class-wp-hook.php(310): MwgEo(true, Object(WP))
#44 /var/www/html/wp-includes/plugin.php(205): WP_Hook->apply_filters(true, Array)
#45 /var/www/html/wp-includes/class-wp.php(148): apply_filters('do_parse_reques...', true, Object(WP), '')
#46 /var/www/html/wp-includes/class-wp.php(780): WP->parse_request('')
#47 /var/www/html/wp-includes/functions.php(1334): WP->main('')
#48 /var/www/html/wp-blog-header.php(16): wp()
#49 /var/www/html/index.php(17): require('/var/www/html/w...')
#50 {main}
Next Doctrine\DBAL\Exception\ConnectionLost: An exception occurred while executing 'SELECT t0.meta_id AS meta_id_1, t0.post_id AS post_id_2, t0.meta_key AS meta_key_3, t0.meta_value AS meta_value_4 FROM wp_postmeta t0 WHERE t0.post_id IN (?)' with params ["3439445"]:
MySQL server has gone away in /var/www/html/wp-content/plugins/endless-core/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:115
Stack trace:
#0 /var/www/html/wp-content/plugins/endless-core/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php(182): Doctrine\DBAL\Driver\AbstractMySQLDriver->convertException('An exception oc...', Object(Doctrine\DBAL\Driver\Mysqli\Exception\StatementError))
#1 /var/www/html/wp-content/plugins/endless-core/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php(159): Doctrine\DBAL\DBALException::wrapException(Object(Doctrine\DBAL\Driver\Mysqli\Driver), Object(Doctrine\DBAL\Driver\Mysqli\Exception\StatementError), 'An exception oc...')
#2 /var/www/html/wp-content/plugins/endless-core/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(2226): Doctrine\DBAL\DBALException::driverExceptionDuringQuery(Object(Doctrine\DBAL\Driver\Mysqli\Driver), Object(Doctrine\DBAL\Driver\Mysqli\Exception\StatementError), 'SELECT t0.meta_...', Array)
#3 /var/www/html/wp-content/plugins/endless-core/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(1313): Doctrine\DBAL\Connection->handleExceptionDuringQuery(Object(Doctrine\DBAL\Driver\Mysqli\Exception\StatementError), 'SELECT t0.meta_...', Array, Array)
#4 /var/www/html/wp-content/plugins/endless-core/vendor/doctrine/orm/lib/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php(900): Doctrine\DBAL\Connection->executeQuery('SELECT t0.meta_...', Array, Array)
#5 /var/www/html/wp-content/plugins/endless-core/vendor/doctrine/orm/lib/Doctrine/ORM/EntityRepository.php(194): Doctrine\ORM\Persisters\Entity\BasicEntityPersister->loadAll(Array, NULL, NULL, NULL)
#6 /var/www/html/wp-content/plugins/endless-core/vendor/doctrine/orm/lib/Doctrine/ORM/EntityRepository.php(331): Doctrine\ORM\EntityRepository->findBy(Array)
#7 /var/www/html/wp-content/plugins/endless-core/vendor/doctrine/orm/lib/Doctrine/ORM/EntityRepository.php(241): Doctrine\ORM\EntityRepository->resolveMagicCall('findBy', 'PostId', Array)
#8 /var/www/html/wp-content/plugins/endless-core/EndlessCore/Repository/Wp/PostMetaBase.php(257): Doctrine\ORM\EntityRepository->__call('findByPostId', Array)
#9 /var/www/html/wp-content/plugins/endless-core/classes/EntityConverter/PostToPostWithMetaConverter/PostToPostWithMetaConverterService.php(95): EndlessCore\Repository\Wp\PostMetaBase->findByPostIds(Array)
#10 /var/www/html/wp-content/plugins/endless-core/classes/EntityConverter/PostToPostWithMetaConverter/PostToPostWithMetaConverterService.php(48): EndlessCore\EntityConverter\PostToPostWithMetaConverter\PostToPostWithMetaConverterService->getMeta(Array)
#11 /var/www/html/wp-content/plugins/endless-core/classes/Service/EntityFinder/Post/PostWithMeta/PostWithMetaEntityFinderService.php(88): EndlessCore\EntityConverter\PostToPostWithMetaConverter\PostToPostWithMetaConverterService->convert(Array, '')
#12 /var/www/html/wp-content/plugins/endless-core/classes/Service/EntityFinder/Post/PostWithMeta/PostWithMetaEntityFinderService.php(78): EndlessCore\Service\EntityFinder\Post\PostWithMeta\PostWithMetaEntityFinderService->convertPostEntitiesToPostWithMetaEntities(Array)
#13 /var/www/html/wp-content/plugins/endless-core/classes/Service/EntityFinder/Post/PostWithMeta/PostWithMetaEntityFinderService.php(27): EndlessCore\Service\EntityFinder\Post\PostWithMeta\PostWithMetaEntityFinderService->convertPostEntityToPostWithMetaEntity(Object(EndlessCore\Entity\Wp\Post))
#14 /var/www/html/wp-content/plugins/endless-core/classes/Gutenberg/Block/Advertising/Renderer.php(61): EndlessCore\Service\EntityFinder\Post\PostWithMeta\PostWithMetaEntityFinderService->findPostWithMetaEntityByPostId(3439445)
#15 /var/www/html/wp-content/plugins/endless-core/classes/Gutenberg/Block/Advertising/Renderer.php(79): EndlessCore\Gutenberg\Block\Advertising\Renderer->findPostWithMetaEntityById(3439445)
#16 /var/www/html/wp-content/plugins/endless-core/classes/Gutenberg/Block/Advertising/Renderer.php(35): EndlessCore\Gutenberg\Block\Advertising\Renderer->getBannerPost()
#17 /var/www/html/wp-content/plugins/endless-core/classes/Gutenberg/Block/Advertising/Block.php(122): EndlessCore\Gutenberg\Block\Advertising\Renderer->getView()
#18 /var/www/html/wp-content/plugins/endless-core/classes/DiviModule/Advertising/AdvertisingModule.php(51): EndlessCore\Gutenberg\Block\Advertising\Block->getView(Array)
#19 /var/www/html/wp-content/plugins/endless-core/classes/DiviModule/Base.php(43): EndlessCore\DiviModule\Advertising\AdvertisingModule->getView(Array, '', 'et_pb_advertisi...', '', '', '')
#20 /var/www/html/wp-content/themes/Divi/includes/builder/class-et-builder-element.php(1864): EndlessCore\DiviModule\Base->render(Array, '', 'et_pb_advertisi...', '', '', '')
#21 /var/www/html/wp-includes/shortcodes.php(355): ET_Builder_Element->_render(Array, '', 'et_pb_advertisi...')
#22 [internal function]: do_shortcode_tag(Array)
#23 /var/www/html/wp-includes/shortcodes.php(227): preg_replace_callback('/\\[(\\[?)(et_pb_...', 'do_shortcode_ta...', '[et_pb_advertis...')
#24 /var/www/html/wp-content/themes/Divi/includes/builder/main-structure-elements.php(3741): do_shortcode('[et_pb_advertis...')
#25 /var/www/html/wp-content/themes/Divi/includes/builder/class-et-builder-element.php(1864): ET_Builder_Column->render(Array, '[et_pb_advertis...', 'et_pb_column', '', '', '')
#26 /var/www/html/wp-includes/shortcodes.php(355): ET_Builder_Element->_render(Array, '[et_pb_advertis...', 'et_pb_column')
#27 [internal function]: do_shortcode_tag(Array)
#28 /var/www/html/wp-includes/shortcodes.php(227): preg_replace_callback('/\\[(\\[?)(et_pb_...', 'do_shortcode_ta...', '[et_pb_column t...')
#29 /var/www/html/wp-content/themes/Divi/includes/builder/main-structure-elements.php(2383): do_shortcode('[et_pb_column t...')
#30 /var/www/html/wp-content/themes/Divi/includes/builder/class-et-builder-element.php(1864): ET_Builder_Row->render('', '[et_pb_column t...', 'et_pb_row', '', '', '')
#31 /var/www/html/wp-includes/shortcodes.php(355): ET_Builder_Element->_render('', '[et_pb_column t...', 'et_pb_row')
#32 [internal function]: do_shortcode_tag(Array)
#33 /var/www/html/wp-includes/shortcodes.php(227): preg_replace_callback('/\\[(\\[?)(et_pb_...', 'do_shortcode_ta...', '[et_pb_row][et_...')
#34 /var/www/html/wp-content/themes/Divi/includes/builder/main-structure-elements.php(1033): do_shortcode('[et_pb_row][et_...')
#35 /var/www/html/wp-content/themes/Divi/includes/builder/class-et-builder-element.php(1864): ET_Builder_Section->render(Array, '[et_pb_row][et_...', 'et_pb_section', '', '', '')
#36 /var/www/html/wp-includes/shortcodes.php(355): ET_Builder_Element->_render(Array, '[et_pb_row][et_...', 'et_pb_section')
#37 [internal function]: do_shortcode_tag(Array)
#38 /var/www/html/wp-includes/shortcodes.php(227): preg_replace_callback('/\\[(\\[?)(et_pb_...', 'do_shortcode_ta...', '
apply_filters('
loadTemplate(Object(stdClass))
#45 /var/www/html/wp-includes/class-wp-hook.php(310): MwgEo(true, Object(WP))
#46 /var/www/html/wp-includes/plugin.php(205): WP_Hook->apply_filters(true, Array)
#47 /var/www/html/wp-includes/class-wp.php(148): apply_filters('do_parse_reques...', true, Object(WP), '')
#48 /var/www/html/wp-includes/class-wp.php(780): WP->parse_request('')
#49 /var/www/html/wp-includes/functions.php(1334): WP->main('')
#50 /var/www/html/wp-blog-header.php(16): wp()
#51 /var/www/html/index.php(17): require('/var/www/html/w...')
#52 {main}
thrown in /var/www/html/wp-content/plugins/endless-core/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php on line 115