Jump to content

After adding SSL from my domain my website is not wroking


Yazan135

Recommended Posts

Hello dears,

Today I add SSL certificate from my domain to my Prestashop and after 45 minutes my website is not working and the webpage display a huge numbers of codes, I contacted my domain customer support and they said this issue should be solved from prestashop side

my domain is from domain.com

my website is www.muskland.me

the errors 

(1/1) ContextErrorException

Notice: Trying to access array offset on value of type bool

in Connection.php line 164

at ConnectionCore::setNewConnection(object(Cookie))in Connection.php line 97

at ConnectionCore::setPageConnection(object(Cookie))in statsdata.php line 111

at statsdata->getScriptCustomerPagesViews(array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1))in statsdata.php line 69

at statsdata->hookDisplayBeforeBodyClosingTag(array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1))in Hook.php line 990

at HookCore::coreCallHook(object(statsdata), 'hookDisplayBeforeBodyClosingTag', array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1))in Hook.php line 414

at HookCore::callHookOn(object(statsdata), 'displayBeforeBodyClosingTag', array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1))in Hook.php line 927

at HookCore::exec('displayBeforeBodyClosingTag', array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1), null)in smarty.config.inc.php line 167

at smartyHook(array('h' => 'displayBeforeBodyClosingTag'), object(SmartyDevTemplate))in SmartyLazyRegister.php line 83

at SmartyLazyRegister->__call('smartyHook', array(array('h' => 'displayBeforeBodyClosingTag'), object(SmartyDevTemplate)))in 75bb1ee73b0e8e57b80e57377098482d340442b6_2.file.layout-both-columns.tpl.php line 369

at Block_14363180566105443d605fa9_17877074->callBlock(object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 248

at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_14363180566105443d605fa9_17877074), object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 184

at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_14363180566105443d605fa9_17877074))in smarty_internal_runtime_inheritance.php line 156

at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_14363180566105443d605fa9_17877074', 'hook_before_body_closing_tag')in 75bb1ee73b0e8e57b80e57377098482d340442b6_2.file.layout-both-columns.tpl.php line 115

at content_6105443d6070b5_96652984(object(SmartyDevTemplate))in smarty_template_resource_base.php line 123

at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyDevTemplate))in smarty_template_compiled.php line 114

at Smarty_Template_Compiled->render(object(SmartyDevTemplate))in smarty_internal_template.php line 216

at Smarty_Internal_Template->render()in smarty_internal_template.php line 385

at Smarty_Internal_Template->_subTemplateRender('layouts/layout-both-columns.tpl', null, 'classiclayouts/layout-full-width.tpl', 0, 31536000, array(), 2, false, null, null)in smarty_internal_runtime_inheritance.php line 116

at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyDevTemplate), 'layouts/layout-both-columns.tpl')in 1f842e2f9c4a8914a3151f6d9015e498ebb90ef7_2.file.layout-full-width.tpl.php line 42

at content_6105443d5c3bb5_23507036(object(SmartyDevTemplate))in smarty_template_resource_base.php line 123

at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyDevTemplate))in smarty_template_compiled.php line 114

at Smarty_Template_Compiled->render(object(SmartyDevTemplate))in smarty_internal_template.php line 216

at Smarty_Internal_Template->render()in smarty_internal_template.php line 385

at Smarty_Internal_Template->_subTemplateRender('layouts/layout-full-width.tpl', null, 'classiclayouts/layout-full-width.tpl', 0, 31536000, array(), 2, false, null, null)in smarty_internal_runtime_inheritance.php line 116

at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyDevTemplate), 'layouts/layout-full-width.tpl')in aaf7662fefc8d39eb6595f2f56751fbafe5b20f2_2.file.page.tpl.php line 33

at content_6105443d591360_77351792(object(SmartyDevTemplate))in smarty_template_resource_base.php line 123

at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyDevTemplate))in smarty_template_compiled.php line 114

at Smarty_Template_Compiled->render(object(SmartyDevTemplate))in smarty_internal_template.php line 216

at Smarty_Internal_Template->render()in smarty_internal_template.php line 385

at Smarty_Internal_Template->_subTemplateRender('page.tpl', null, 'classiclayouts/layout-full-width.tpl', 0, 31536000, array(), 2, false, null, null)in smarty_internal_runtime_inheritance.php line 116

at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyDevTemplate), 'page.tpl')in 6a47f244745133c7b19486af4739d14e057423d7_2.file.index.tpl.php line 33

at content_6105443d52c250_90670788(object(SmartyDevTemplate))in smarty_template_resource_base.php line 123

at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyDevTemplate))in smarty_template_compiled.php line 114

at Smarty_Template_Compiled->render(object(SmartyDevTemplate))in smarty_internal_template.php line 216

at Smarty_Internal_Template->render(false, 0)in smarty_internal_templatebase.php line 232

at Smarty_Internal_TemplateBase->_execute(object(SmartyDevTemplate), null, 'classiclayouts/layout-full-width.tpl', null, 0)in smarty_internal_templatebase.php line 116

at Smarty_Internal_TemplateBase->fetch('index.tpl', null, 'classiclayouts/layout-full-width.tpl', null, false, true, false)in SmartyDev.php line 40

at SmartyDev->fetch('index.tpl', null, 'classiclayouts/layout-full-width.tpl')in FrontController.php line 704

at FrontControllerCore->smartyOutputContent('index.tpl')in FrontController.php line 686

at FrontControllerCore->display()in Controller.php line 326

at ControllerCore->run()in Dispatcher.php line 518

at DispatcherCore->dispatch()in index.php line 28

Please help

Link to comment
Share on other sites

@Yazan135

 

The error indicate that , the category is missing in your product. can you please check your product edit page and category is assigned.  Also check your didn't remove

any category from category page which has product. "Notice: Undefined index: category"

This is for category not found in that product.

Thank you

Link to comment
Share on other sites

22 minutes ago, Yazan135 said:

Already deleted and I was working on it, the suddenly stopped working

By login via ftp you need to rename the admin folder with any name which you like.  It will solve the admin access. Do not use admin123 or any know name. so that hacker can identify your admin url 

 

Thank you

Link to comment
Share on other sites

(1/1) ContextErrorException

Warning: imagecreatefrompng(): gd-png: fatal libpng error: Read Error: truncated data

in ImageManager.php line 571

at ImageManagerCore::create(3, '/hermes/bosnacweb05/bosnacweb05ab/b2304/dom.mays/public_html/MuskLandLimited/img/p/4/6/46.jpg')in ImageManager.php line 286

at ImageManagerCore::resize('/hermes/bosnacweb05/bosnacweb05ab/b2304/dom.mays/public_html/MuskLandLimited/img/p/4/6/46.jpg', '/hermes/bosnacweb05/bosnacweb05ab/b2304/dom.mays/public_html/MuskLandLimited/img/p/4/6/46-large_default.jpg', 800, 800)in ImageRetriever.php line 182

at ImageRetriever->getImage(object(Product), '46')in ImageRetriever.php line 89

at ImageRetriever->PrestaShop\PrestaShop\Adapter\Image\{closure}(array('cover' => null, 'id_image' => '46', 'legend' => '', 'position' => '1'))

at array_map(object(Closure), array(array('cover' => null, 'id_image' => '46', 'legend' => '', 'position' => '1'), array('cover' => null, 'id_image' => '47', 'legend' => '', 'position' => '2'), array('cover' => null, 'id_image' => '48', 'legend' => '', 'position' => '3'), array('cover' => '1', 'id_image' => '49', 'legend' => '', 'position' => '4')))in ImageRetriever.php line 99

at ImageRetriever->getAllProductImages(array('id_product' => '20', 'id_supplier' => '0', 'id_manufacturer' => '3', 'id_category_default' => '2', 'id_shop_default' => '1', 'id_tax_rules_group' => '0', 'on_sale' => '0', 'online_only' => '0', 'ean13' => '', 'isbn' => '', 'upc' => '', 'mpn' => '', 'ecotax' => '0.000000', 'quantity' => 70, 'minimal_quantity' => '1', 'low_stock_threshold' => null, 'low_stock_alert' => '0', 'price' => 5.0, 'wholesale_price' => '0.000000', 'unity' => '', 'unit_price_ratio' => '0.000000', 'additional_shipping_cost' => '0.000000', 'reference' => '', 'supplier_reference' => '', 'location' => '', 'width' => '0.000000', 'height' => '0.000000', 'depth' => '0.000000', 'weight' => '0.000000', 'out_of_stock' => '2', 'additional_delivery_times' => '1', 'quantity_discount' => '0', 'customizable' => '0', 'uploadable_files' => '0', 'text_fields' => '0', 'active' => '1', 'redirect_type' => '301-category', 'id_type_redirected' => '0', 'available_for_order' => '1', 'available_date' => '0000-00-00', 'show_condition' => '0', 'condition' => 'new', 'show_price' => '1', 'indexed' => '1', 'visibility' => 'both', 'cache_is_pack' => '0', 'cache_has_attachments' => '0', 'is_virtual' => '0', 'cache_default_attribute' => '0', 'date_add' => '2021-07-31 13:32:50', 'date_upd' => '2021-08-01 18:14:11', 'advanced_stock_management' => '0', 'pack_stock_type' => '3', 'state' => '1', 'id_shop' => '1', 'id_lang' => '2', 'description' => '', 'description_short' => '', 'link_rewrite' => 'facial-dead-sea-brightening-mud-mask', 'meta_description' => '', 'meta_keywords' => '', 'meta_title' => '', 'name' => 'Facial Dead Sea Brightening Mud Mask', 'available_now' => '', 'available_later' => '', 'delivery_in_stock' => '', 'delivery_out_stock' => '', 'new' => '1', 'id_product_attribute' => '0', 'product_attribute_minimal_quantity' => null, 'id_image' => '20-49', 'legend' => '', 'manufacturer_name' => '7Elements', 'category_default' => 'الصفحة الرئيسية', 'orderprice' => '5.000000', 'allow_oosp' => 0, 'cover_image_id' => '49', 'category' => 'الصفحة-الرئيسية', 'category_name' => 'الصفحة الرئيسية', 'link' => 'https://muskland.me/ar/الصفحة-الرئيسية/20-facial-dead-sea-brightening-mud-mask.html', 'attribute_price' => 0, 'price_tax_exc' => 5.0, 'price_without_reduction' => 5.0, 'price_without_reduction_without_tax' => 5.0, 'reduction' => 0.0, 'reduction_without_tax' => 0.0, 'specific_prices' => array(), 'quantity_all_versions' => 70, 'features' => array(), 'attachments' => array(), 'virtual' => 0, 'pack' => 0, 'packItems' => array(), 'nopackprice' => 0, 'customization_required' => false, 'rate' => 0.0, 'tax_name' => '', 'ecotax_rate' => 0.0, 'unit_price' => 0), object(Language))in ProductLazyArray.php line 591

at ProductLazyArray->fillImages(object(ProductPresentationSettings), array('id_product' => '20', 'id_supplier' => '0', 'id_manufacturer' => '3', 'id_category_default' => '2', 'id_shop_default' => '1', 'id_tax_rules_group' => '0', 'on_sale' => '0', 'online_only' => '0', 'ean13' => '', 'isbn' => '', 'upc' => '', 'mpn' => '', 'ecotax' => '0.000000', 'quantity' => 70, 'minimal_quantity' => '1', 'low_stock_threshold' => null, 'low_stock_alert' => '0', 'price' => 5.0, 'wholesale_price' => '0.000000', 'unity' => '', 'unit_price_ratio' => '0.000000', 'additional_shipping_cost' => '0.000000', 'reference' => '', 'supplier_reference' => '', 'location' => '', 'width' => '0.000000', 'height' => '0.000000', 'depth' => '0.000000', 'weight' => '0.000000', 'out_of_stock' => '2', 'additional_delivery_times' => '1', 'quantity_discount' => '0', 'customizable' => '0', 'uploadable_files' => '0', 'text_fields' => '0', 'active' => '1', 'redirect_type' => '301-category', 'id_type_redirected' => '0', 'available_for_order' => '1', 'available_date' => '0000-00-00', 'show_condition' => '0', 'condition' => 'new', 'show_price' => '1', 'indexed' => '1', 'visibility' => 'both', 'cache_is_pack' => '0', 'cache_has_attachments' => '0', 'is_virtual' => '0', 'cache_default_attribute' => '0', 'date_add' => '2021-07-31 13:32:50', 'date_upd' => '2021-08-01 18:14:11', 'advanced_stock_management' => '0', 'pack_stock_type' => '3', 'state' => '1', 'id_shop' => '1', 'id_lang' => '2', 'description' => '', 'description_short' => '', 'link_rewrite' => 'facial-dead-sea-brightening-mud-mask', 'meta_description' => '', 'meta_keywords' => '', 'meta_title' => '', 'name' => 'Facial Dead Sea Brightening Mud Mask', 'available_now' => '', 'available_later' => '', 'delivery_in_stock' => '', 'delivery_out_stock' => '', 'new' => '1', 'id_product_attribute' => '0', 'product_attribute_minimal_quantity' => null, 'id_image' => '20-49', 'legend' => '', 'manufacturer_name' => '7Elements', 'category_default' => 'الصفحة الرئيسية', 'orderprice' => '5.000000', 'allow_oosp' => 0, 'cover_image_id' => '49', 'category' => 'الصفحة-الرئيسية', 'category_name' => 'الصفحة الرئيسية', 'link' => 'https://muskland.me/ar/الصفحة-الرئيسية/20-facial-dead-sea-brightening-mud-mask.html', 'attribute_price' => 0, 'price_tax_exc' => 5.0, 'price_without_reduction' => 5.0, 'price_without_reduction_without_tax' => 5.0, 'reduction' => 0.0, 'reduction_without_tax' => 0.0, 'specific_prices' => array(), 'quantity_all_versions' => 70, 'features' => array(), 'attachments' => array(), 'virtual' => 0, 'pack' => 0, 'packItems' => array(), 'nopackprice' => 0, 'customization_required' => false, 'rate' => 0.0, 'tax_name' => '', 'ecotax_rate' => 0.0, 'unit_price' => 0), object(Language))in ProductLazyArray.php line 109

at ProductLazyArray->__construct(object(ProductPresentationSettings), array('id_product' => '20', 'id_supplier' => '0', 'id_manufacturer' => '3', 'id_category_default' => '2', 'id_shop_default' => '1', 'id_tax_rules_group' => '0', 'on_sale' => '0', 'online_only' => '0', 'ean13' => '', 'isbn' => '', 'upc' => '', 'mpn' => '', 'ecotax' => '0.000000', 'quantity' => 70, 'minimal_quantity' => '1', 'low_stock_threshold' => null, 'low_stock_alert' => '0', 'price' => 5.0, 'wholesale_price' => '0.000000', 'unity' => '', 'unit_price_ratio' => '0.000000', 'additional_shipping_cost' => '0.000000', 'reference' => '', 'supplier_reference' => '', 'location' => '', 'width' => '0.000000', 'height' => '0.000000', 'depth' => '0.000000', 'weight' => '0.000000', 'out_of_stock' => '2', 'additional_delivery_times' => '1', 'quantity_discount' => '0', 'customizable' => '0', 'uploadable_files' => '0', 'text_fields' => '0', 'active' => '1', 'redirect_type' => '301-category', 'id_type_redirected' => '0', 'available_for_order' => '1', 'available_date' => '0000-00-00', 'show_condition' => '0', 'condition' => 'new', 'show_price' => '1', 'indexed' => '1', 'visibility' => 'both', 'cache_is_pack' => '0', 'cache_has_attachments' => '0', 'is_virtual' => '0', 'cache_default_attribute' => '0', 'date_add' => '2021-07-31 13:32:50', 'date_upd' => '2021-08-01 18:14:11', 'advanced_stock_management' => '0', 'pack_stock_type' => '3', 'state' => '1', 'id_shop' => '1', 'id_lang' => '2', 'description' => '', 'description_short' => '', 'link_rewrite' => 'facial-dead-sea-brightening-mud-mask', 'meta_description' => '', 'meta_keywords' => '', 'meta_title' => '', 'name' => 'Facial Dead Sea Brightening Mud Mask', 'available_now' => '', 'available_later' => '', 'delivery_in_stock' => '', 'delivery_out_stock' => '', 'new' => '1', 'id_product_attribute' => '0', 'product_attribute_minimal_quantity' => null, 'id_image' => '20-49', 'legend' => '', 'manufacturer_name' => '7Elements', 'category_default' => 'الصفحة الرئيسية', 'orderprice' => '5.000000', 'allow_oosp' => 0, 'cover_image_id' => '49', 'category' => 'الصفحة-الرئيسية', 'category_name' => 'الصفحة الرئيسية', 'link' => 'https://muskland.me/ar/الصفحة-الرئيسية/20-facial-dead-sea-brightening-mud-mask.html', 'attribute_price' => 0, 'price_tax_exc' => 5.0, 'price_without_reduction' => 5.0, 'price_without_reduction_without_tax' => 5.0, 'reduction' => 0.0, 'reduction_without_tax' => 0.0, 'specific_prices' => array(), 'quantity_all_versions' => 70, 'features' => array(), 'attachments' => array(), 'virtual' => 0, 'pack' => 0, 'packItems' => array(), 'nopackprice' => 0, 'customization_required' => false, 'rate' => 0.0, 'tax_name' => '', 'ecotax_rate' => 0.0, 'unit_price' => 0), object(Language), object(ImageRetriever), object(Link), object(PriceFormatter), object(ProductColorsRetriever), object(TranslatorComponent))in ProductPresenter.php line 91

at ProductPresenter->present(object(ProductPresentationSettings), array('id_product' => '20', 'id_supplier' => '0', 'id_manufacturer' => '3', 'id_category_default' => '2', 'id_shop_default' => '1', 'id_tax_rules_group' => '0', 'on_sale' => '0', 'online_only' => '0', 'ean13' => '', 'isbn' => '', 'upc' => '', 'mpn' => '', 'ecotax' => '0.000000', 'quantity' => 70, 'minimal_quantity' => '1', 'low_stock_threshold' => null, 'low_stock_alert' => '0', 'price' => 5.0, 'wholesale_price' => '0.000000', 'unity' => '', 'unit_price_ratio' => '0.000000', 'additional_shipping_cost' => '0.000000', 'reference' => '', 'supplier_reference' => '', 'location' => '', 'width' => '0.000000', 'height' => '0.000000', 'depth' => '0.000000', 'weight' => '0.000000', 'out_of_stock' => '2', 'additional_delivery_times' => '1', 'quantity_discount' => '0', 'customizable' => '0', 'uploadable_files' => '0', 'text_fields' => '0', 'active' => '1', 'redirect_type' => '301-category', 'id_type_redirected' => '0', 'available_for_order' => '1', 'available_date' => '0000-00-00', 'show_condition' => '0', 'condition' => 'new', 'show_price' => '1', 'indexed' => '1', 'visibility' => 'both', 'cache_is_pack' => '0', 'cache_has_attachments' => '0', 'is_virtual' => '0', 'cache_default_attribute' => '0', 'date_add' => '2021-07-31 13:32:50', 'date_upd' => '2021-08-01 18:14:11', 'advanced_stock_management' => '0', 'pack_stock_type' => '3', 'state' => '1', 'id_shop' => '1', 'id_lang' => '2', 'description' => '', 'description_short' => '', 'link_rewrite' => 'facial-dead-sea-brightening-mud-mask', 'meta_description' => '', 'meta_keywords' => '', 'meta_title' => '', 'name' => 'Facial Dead Sea Brightening Mud Mask', 'available_now' => '', 'available_later' => '', 'delivery_in_stock' => '', 'delivery_out_stock' => '', 'new' => '1', 'id_product_attribute' => '0', 'product_attribute_minimal_quantity' => null, 'id_image' => '20-49', 'legend' => '', 'manufacturer_name' => '7Elements', 'category_default' => 'الصفحة الرئيسية', 'orderprice' => '5.000000', 'allow_oosp' => 0, 'cover_image_id' => '49', 'category' => 'الصفحة-الرئيسية', 'category_name' => 'الصفحة الرئيسية', 'link' => 'https://muskland.me/ar/الصفحة-الرئيسية/20-facial-dead-sea-brightening-mud-mask.html', 'attribute_price' => 0, 'price_tax_exc' => 5.0, 'price_without_reduction' => 5.0, 'price_without_reduction_without_tax' => 5.0, 'reduction' => 0.0, 'reduction_without_tax' => 0.0, 'specific_prices' => array(), 'quantity_all_versions' => 70, 'features' => array(), 'attachments' => array(), 'virtual' => 0, 'pack' => 0, 'packItems' => array(), 'nopackprice' => 0, 'customization_required' => false, 'rate' => 0.0, 'tax_name' => '', 'ecotax_rate' => 0.0, 'unit_price' => 0), object(Language))in ps_featuredproducts.php line 314

at Ps_FeaturedProducts->getProducts()in ps_featuredproducts.php line 257

at Ps_FeaturedProducts->getWidgetVariables('displayHome', array('cookie' => object(Cookie), 'cart' => object(Cart)))in ps_featuredproducts.php line 243

at Ps_FeaturedProducts->renderWidget('displayHome', array('cookie' => object(Cookie), 'cart' => object(Cart)))in Hook.php line 995

at HookCore::coreRenderWidget(object(Ps_FeaturedProducts), 'displayHome', array('cookie' => object(Cookie), 'cart' => object(Cart)))in Hook.php line 947

at HookCore::exec('displayHome')in IndexController.php line 39

at IndexControllerCore->initContent()in Controller.php line 306

at ControllerCore->run()in Dispatcher.php line 518

at DispatcherCore->dispatch()in index.php line 28

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...