Fatal error: Uncaught Error: Call to undefined function assert() in /home/gamaalb/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:1954
Stack trace:
#0 /home/gamaalb/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(516): Doctrine\DBAL\Connection->getWrappedConnection()
#1 /home/gamaalb/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(506): Doctrine\DBAL\Connection->getServerVersion()
#2 /home/gamaalb/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(437): Doctrine\DBAL\Connection->getDatabasePlatformVersion()
#3 /home/gamaalb/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(379): Doctrine\DBAL\Connection->detectDatabasePlatform()
#4 /home/gamaalb/public_html/vendor/doctrine/doctrine-bundle/ConnectionFactory.php(140): Doctrine\DBAL\Connection->getDatabasePlatform()
#5 /home/gamaalb/public_html/vendor/doctrine/doctrine-bundle/ConnectionFactory.php(119): Doctrine\Bundle\DoctrineBundle\ConnectionFactory->getDatabasePlatform(Object(Doctrine\DBAL\Connection))
#6 /home/gamaalb/public_html/var/cache/dev/FrontContainer.php(365): Doctrine\Bundle\DoctrineBundle\ConnectionFactory->createConnection(Array, Object(Doctrine\DBAL\Configuration), Object(Symfony\Bridge\Doctrine\ContainerAwareEventManager), Array)
#7 /home/gamaalb/public_html/var/cache/dev/FrontContainer.php(801): FrontContainer->getDoctrine_Dbal_DefaultConnectionService()
#8 /home/gamaalb/public_html/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php(257): FrontContainer->getProductCommentRepositoryService()
#9 /home/gamaalb/public_html/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php(231): Symfony\Component\DependencyInjection\Container->make('product_comment...', 1)
#10 /home/gamaalb/public_html/classes/module/Module.php(3474): Symfony\Component\DependencyInjection\Container->get('product_comment...')
#11 /home/gamaalb/public_html/modules/productcomments/productcomments.php(1043): ModuleCore->get('product_comment...')
#12 /home/gamaalb/public_html/modules/productcomments/productcomments.php(1063): ProductComments->getWidgetVariables('displayProductL...', Array)
#13 /home/gamaalb/public_html/classes/Hook.php(1094): ProductComments->renderWidget('displayProductL...', Array)
#14 /home/gamaalb/public_html/classes/Hook.php(1025): HookCore::coreRenderWidget(Object(ProductComments), 'displayProductL...', Array)
#15 /home/gamaalb/public_html/config/smarty.config.inc.php(201): HookCore::exec('displayProductL...', Array, NULL)
#16 /home/gamaalb/public_html/classes/Smarty/SmartyLazyRegister.php(81): smartyHook(Array, Object(SmartyDevTemplate))
#17 /home/gamaalb/public_html/var/cache/dev/smarty/compile/albdev_agjentlayouts_layout_left_column_tpl/43/98/53/43985314c8684797d22fe1fefa1f84387b95a520_2.file.product.tpl.php(61): SmartyLazyRegister->__call('smartyHook', Array)
#18 /home/gamaalb/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(248): Block_206873801468aee50a014230_26041446->callBlock(Object(SmartyDevTemplate))
#19 /home/gamaalb/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(184): Smarty_Internal_Runtime_Inheritance->callBlock(Object(Block_206873801468aee50a014230_26041446), Object(SmartyDevTemplate))
#20 /home/gamaalb/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(156): Smarty_Internal_Runtime_Inheritance->process(Object(SmartyDevTemplate), Object(Block_206873801468aee50a014230_26041446))
#21 /home/gamaalb/public_html/var/cache/dev/smarty/compile/albdev_agjentlayouts_layout_left_column_tpl/43/98/53/43985314c8684797d22fe1fefa1f84387b95a520_2.file.product.tpl.php(337): Smarty_Internal_Runtime_Inheritance->instanceBlock(Object(SmartyDevTemplate), 'Block_206873801...', 'product_reviews', 33)
#22 /home/gamaalb/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(248): Block_210581909468aee50a00df50_85622421->callBlock(Object(SmartyDevTemplate))
#23 /home/gamaalb/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(184): Smarty_Internal_Runtime_Inheritance->callBlock(Object(Block_210581909468aee50a00df50_85622421), Object(SmartyDevTemplate))
#24 /home/gamaalb/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(156): Smarty_Internal_Runtime_Inheritance->process(Object(SmartyDevTemplate), Object(Block_210581909468aee50a00df50_85622421))
#25 /home/gamaalb/public_html/var/cache/dev/smarty/compile/albdev_agjentlayouts_layout_left_column_tpl/43/98/53/43985314c8684797d22fe1fefa1f84387b95a520_2.file.product.tpl.php(36): Smarty_Internal_Runtime_Inheritance->instanceBlock(Object(SmartyDevTemplate), 'Block_210581909...', 'product_miniatu...')
#26 /home/gamaalb/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_68aee50a03f6a8_49957762(Object(SmartyDevTemplate))
#27 /home/gamaalb/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(SmartyDevTemplate))
#28 /home/gamaalb/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render(Object(SmartyDevTemplate))
#29 /home/gamaalb/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(386): Smarty_Internal_Template->render()
#30 /home/gamaalb/public_html/var/cache/dev/smarty/compile/albdev_agjentlayouts_layout_left_column_tpl/66/06/1a/66061ad51987523cfe5d6d67dcc4f8a39455d83c_2.file.products.tpl.php(78): Smarty_Internal_Template->_subTemplateRender('file:catalog/_p...', NULL, 'albdev-agjentla...', 0, 31536000, Array, 0, true)
#31 /home/gamaalb/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(248): Block_63880794968aee50a004701_16125927->callBlock(Object(SmartyDevTemplate))
#32 /home/gamaalb/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(184): Smarty_Internal_Runtime_Inheritance->callBlock(Object(Block_63880794968aee50a004701_16125927), Object(SmartyDevTemplate))
#33 /home/gamaalb/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(156): Smarty_Internal_Runtime_Inheritance->process(Object(SmartyDevTemplate), Object(Block_63880794968aee50a004701_16125927))
#34 /home/gamaalb/public_html/var/cache/dev/smarty/compile/albdev_agjentlayouts_layout_left_column_tpl/66/06/1a/66061ad51987523cfe5d6d67dcc4f8a39455d83c_2.file.products.tpl.php(47): Smarty_Internal_Runtime_Inheritance->instanceBlock(Object(SmartyDevTemplate), 'Block_638807949...', 'product_miniatu...')
#35 /home/gamaalb/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_68aee50a008e86_51621583(Object(SmartyDevTemplate))
#36 /home/gamaalb/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(SmartyDevTemplate))
#37 /home/gamaalb/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render(Object(SmartyDevTemplate))
#38 /home/gamaalb/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(386): Smarty_Internal_Template->render()
#39 /home/gamaalb/public_html/var/cache/dev/smarty/compile/albdev_agjentlayouts_layout_left_column_tpl/8a/13/7e/8a137eda29e11b40e8175816f0a6be911877c1c9_2.file.product-list.tpl.php(97): Smarty_Internal_Template->_subTemplateRender('file:catalog/_p...', NULL, 'albdev-agjentla...', 0, 31536000, Array, 0, false)
#40 /home/gamaalb/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(248): Block_100101247868aee509b9f0f0_54226672->callBlock(Object(SmartyDevTemplate))
#41 /home/gamaalb/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(184): Smarty_Internal_Runtime_Inheritance->callBlock(Object(Block_100101247868aee509b9f0f0_54226672), Object(SmartyDevTemplate))
#42 /home/gamaalb/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(156): Smarty_Internal_Runtime_Inheritance->process(Object(SmartyDevTemplate), Object(Block_100101247868aee509b9f0f0_54226672))
#43 /home/gamaalb/public_html/var/cache/dev/smarty/compile/albdev_agjentlayouts_layout_left_column_tpl/8a/13/7e/8a137eda29e11b40e8175816f0a6be911877c1c9_2.file.product-list.tpl.php(191): Smarty_Internal_Runtime_Inheritance->instanceBlock(Object(SmartyDevTemplate), 'Block_100101247...', 'product_list', 1)
#44 /home/gamaalb/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(248): Block_96043713168aee509b997a8_50287785->callBlock(Object(SmartyDevTemplate))
#45 /home/gamaalb/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(184): Smarty_Internal_Runtime_Inheritance->callBlock(Object(Block_96043713168aee509b997a8_50287785), Object(SmartyDevTemplate))
#46 /home/gamaalb/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(186): Smarty_Internal_Runtime_Inheritance->process(Object(SmartyDevTemplate), Object(Block_96043713168aee509b997a8_50287785), Object(Block_78018918568aee509bc06e5_09852841))
#47 /home/gamaalb/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(156): Smarty_Internal_Runtime_Inheritance->process(Object(SmartyDevTemplate), Object(Block_78018918568aee509bc06e5_09852841))
#48 /home/gamaalb/public_html/var/cache/dev/smarty/compile/albdev_agjentlayouts_layout_left_column_tpl/2b/82/92/2b829227661b27fd01865855485e61a43cdd2417_2.file.layout-both-columns.tpl.php(290): Smarty_Internal_Runtime_Inheritance->instanceBlock(Object(SmartyDevTemplate), 'Block_780189185...', 'content', 7)
#49 /home/gamaalb/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(248): Block_168430115468aee509bbfbb6_51145586->callBlock(Object(SmartyDevTemplate))
#50 /home/gamaalb/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(184): Smarty_Internal_Runtime_Inheritance->callBlock(Object(Block_168430115468aee509bbfbb6_51145586), Object(SmartyDevTemplate))
#51 /home/gamaalb/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(156): Smarty_Internal_Runtime_Inheritance->process(Object(SmartyDevTemplate), Object(Block_168430115468aee509bbfbb6_51145586))
#52 /home/gamaalb/public_html/var/cache/dev/smarty/compile/albdev_agjentlayouts_layout_left_column_tpl/2b/82/92/2b829227661b27fd01865855485e61a43cdd2417_2.file.layout-both-columns.tpl.php(356): Smarty_Internal_Runtime_Inheritance->instanceBlock(Object(SmartyDevTemplate), 'Block_168430115...', 'content_wrapper', 7)
#53 /home/gamaalb/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(248): Block_155541165368aee509bbc748_65835347->callBlock(Object(SmartyDevTemplate))
#54 /home/gamaalb/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(184): Smarty_Internal_Runtime_Inheritance->callBlock(Object(Block_155541165368aee509bbc748_65835347), Object(SmartyDevTemplate))
#55 /home/gamaalb/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(156): Smarty_Internal_Runtime_Inheritance->process(Object(SmartyDevTemplate), Object(Block_155541165368aee509bbc748_65835347))
#56 /home/gamaalb/public_html/var/cache/dev/smarty/compile/albdev_agjentlayouts_layout_left_column_tpl/2b/82/92/2b829227661b27fd01865855485e61a43cdd2417_2.file.layout-both-columns.tpl.php(94): Smarty_Internal_Runtime_Inheritance->instanceBlock(Object(SmartyDevTemplate), 'Block_155541165...', 'main_content')
#57 /home/gamaalb/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_68aee509bcac19_65618194(Object(SmartyDevTemplate))
#58 /home/gamaalb/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(SmartyDevTemplate))
#59 /home/gamaalb/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render(Object(SmartyDevTemplate))
#60 /home/gamaalb/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(386): Smarty_Internal_Template->render()
#61 /home/gamaalb/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(115): Smarty_Internal_Template->_subTemplateRender('layouts/layout-...', NULL, 'albdev-agjentla...', 0, 31536000, Array, 2, false, NULL, NULL)
#62 /home/gamaalb/public_html/var/cache/dev/smarty/compile/albdev_agjentlayouts_layout_left_column_tpl/4a/d9/d5/4ad9d57d186074d19a164b11231850e6d80112a7_2.file.layout-left-column.tpl.php(33): Smarty_Internal_Runtime_Inheritance->endChild(Object(SmartyDevTemplate), 'layouts/layout-...')
#63 /home/gamaalb/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_68aee509bab560_92724955(Object(SmartyDevTemplate))
#64 /home/gamaalb/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(SmartyDevTemplate))
#65 /home/gamaalb/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render(Object(SmartyDevTemplate))
#66 /home/gamaalb/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(386): Smarty_Internal_Template->render()
#67 /home/gamaalb/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(115): Smarty_Internal_Template->_subTemplateRender('layouts/layout-...', NULL, 'albdev-agjentla...', 0, 31536000, Array, 2, false, NULL, NULL)
#68 /home/gamaalb/public_html/var/cache/dev/smarty/compile/albdev_agjentlayouts_layout_left_column_tpl/8a/13/7e/8a137eda29e11b40e8175816f0a6be911877c1c9_2.file.product-list.tpl.php(42): Smarty_Internal_Runtime_Inheritance->endChild(Object(SmartyDevTemplate), 'layouts/layout-...')
#69 /home/gamaalb/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_68aee509ba5355_26456111(Object(SmartyDevTemplate))
#70 /home/gamaalb/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(SmartyDevTemplate))
#71 /home/gamaalb/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render(Object(SmartyDevTemplate))
#72 /home/gamaalb/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(386): Smarty_Internal_Template->render()
#73 /home/gamaalb/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(115): Smarty_Internal_Template->_subTemplateRender('catalog/listing...', NULL, 'albdev-agjentla...', 0, 31536000, Array, 2, false, NULL, NULL)
#74 /home/gamaalb/public_html/var/cache/dev/smarty/compile/albdev_agjentlayouts_layout_left_column_tpl/1c/19/5a/1c195afe2c73750a7eb1eb9681fbd479b58e6e2f_2.file.category.tpl.php(35): Smarty_Internal_Runtime_Inheritance->endChild(Object(SmartyDevTemplate), 'catalog/listing...')
#75 /home/gamaalb/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_68aee509b956a0_52459555(Object(SmartyDevTemplate))
#76 /home/gamaalb/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(SmartyDevTemplate))
#77 /home/gamaalb/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render(Object(SmartyDevTemplate))
#78 /home/gamaalb/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(238): Smarty_Internal_Template->render(false, 0)
#79 /home/gamaalb/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(116): Smarty_Internal_TemplateBase->_execute(Object(SmartyDevTemplate), NULL, 'albdev-agjentla...', NULL, 0)
#80 /home/gamaalb/public_html/classes/Smarty/SmartyDev.php(40): Smarty_Internal_TemplateBase->fetch('catalog/listing...', NULL, 'albdev-agjentla...', NULL)
#81 /home/gamaalb/public_html/classes/controller/FrontController.php(771): SmartyDev->fetch('catalog/listing...', NULL, 'albdev-agjentla...')
#82 /home/gamaalb/public_html/classes/controller/FrontController.php(753): FrontControllerCore->smartyOutputContent('catalog/listing...')
#83 /home/gamaalb/public_html/classes/controller/Controller.php(339): FrontControllerCore->display()
#84 /home/gamaalb/public_html/classes/Dispatcher.php(510): ControllerCore->run()
#85 /home/gamaalb/public_html/index.php(28): DispatcherCore->dispatch()
#86 {main}
thrown in /home/gamaalb/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php on line 1954