Автор Тема: Нужна помощь ((1/1) ContextErrorException)  (Прочитано 897 раз)

23 Ноябрь 2020, 18:18:35
  • Новичок
  • *
  • Сообщений: 2
  • Репутация: +0/-0
  • Сообщество PrestaShop
    • Просмотр профиля
Здравсвуйте
при переходе с корзины для покупки получаю ошыбку
тему переключал на стандартную - не помагает.
куда копать?

(1/1) ContextErrorException
Notice: Undefined index: name

in c975faaebcf035e7b9f080a5782bd3994774d0fd_2.file.address-form.tpl.php line 62
at Block_17988282305fbbd04578e2e2_77898079->callBlock(object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 248
at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_17988282305fbbd04578e2e2_77898079), object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 184
at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_17988282305fbbd04578e2e2_77898079), object(Block_20342975905fbbd0457af6b7_84700877))
in smarty_internal_runtime_inheritance.php line 186
at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_20342975905fbbd0457af6b7_84700877))
in smarty_internal_runtime_inheritance.php line 156
at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_20342975905fbbd0457af6b7_84700877', 'form_field', 1)
in 2bc098ca5dd0e6025d2d79db21f7536fc68c95c2_2.file.address-form.tpl.php line 74
at Block_21427032295fbbd0457adb04_49076689->callBlock(object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 248
at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_21427032295fbbd0457adb04_49076689), object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 232
at Smarty_Internal_Runtime_Inheritance->callParent(object(SmartyDevTemplate), object(Block_8106885455fbbd045796fb8_68604798), '\'{block append}\'')
in smarty_internal_runtime_inheritance.php line 181
at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_8106885455fbbd045796fb8_68604798), object(Block_21427032295fbbd0457adb04_49076689))
in smarty_internal_runtime_inheritance.php line 186
at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_21427032295fbbd0457adb04_49076689))
in smarty_internal_runtime_inheritance.php line 156
at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_21427032295fbbd0457adb04_49076689', 'form_fields', 1)
in 2bc098ca5dd0e6025d2d79db21f7536fc68c95c2_2.file.address-form.tpl.php line 93
at Block_7123965555fbbd0457ad310_19082515->callBlock(object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 248
at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_7123965555fbbd0457ad310_19082515), object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 184
at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_7123965555fbbd0457ad310_19082515))
in smarty_internal_runtime_inheritance.php line 156
at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_7123965555fbbd0457ad310_19082515', 'address_form_fields', 1)
in 2bc098ca5dd0e6025d2d79db21f7536fc68c95c2_2.file.address-form.tpl.php line 178
at Block_20265517925fbbd0457a7d75_98198632->callBlock(object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 248
at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_20265517925fbbd0457a7d75_98198632), object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 184
at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_20265517925fbbd0457a7d75_98198632))
in smarty_internal_runtime_inheritance.php line 156
at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_20265517925fbbd0457a7d75_98198632', 'address_form')
in 2bc098ca5dd0e6025d2d79db21f7536fc68c95c2_2.file.address-form.tpl.php line 27
at content_5fbbd0457b4d53_30815431(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('customer/_partials/address-form.tpl', null, null, 0, 3600, array(), 2, false, null, null)
in smarty_internal_runtime_inheritance.php line 125
at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyDevTemplate), 'customer/_partials/address-form.tpl')
in c975faaebcf035e7b9f080a5782bd3994774d0fd_2.file.address-form.tpl.php line 48
at content_5fbbd0457a2398_82640240(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, null, null, 0)
in smarty_internal_templatebase.php line 116
at Smarty_Internal_TemplateBase->fetch(null, null, null, null, false, true, false)
in SmartyDevTemplate.php line 40
at SmartyDevTemplateCore->fetch()
in AbstractForm.php line 121
at AbstractFormCore->render(array('file' => 'checkout/_partials/address-form.tpl', 'ui' => object(RenderableProxy), 'use_same_address' => true, 'type' => 'delivery', 'form_has_continue_button' => true))
in RenderableProxy.php line 52
at RenderableProxy->render(array('file' => 'checkout/_partials/address-form.tpl', 'ui' => object(RenderableProxy), 'use_same_address' => true, 'type' => 'delivery', 'form_has_continue_button' => true))
in smartyfront.config.inc.php line 98
at smartyRender(array('file' => 'checkout/_partials/address-form.tpl', 'ui' => object(RenderableProxy), 'use_same_address' => true, 'type' => 'delivery', 'form_has_continue_button' => true), object(SmartyDevTemplate))
in SmartyLazyRegister.php line 83
at SmartyLazyRegister->__call('smartyRender', array(array('file' => 'checkout/_partials/address-form.tpl', 'ui' => object(RenderableProxy), 'use_same_address' => true, 'type' => 'delivery', 'form_has_continue_button' => true), object(SmartyDevTemplate)))
in bd4d5ec10394e653e43207f87fbb259feb09b2f9_2.file.addresses.tpl.php line 76
at Block_8506388205fbbd0457552e0_86454788->callBlock(object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 248
at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_8506388205fbbd0457552e0_86454788), object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 184
at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_8506388205fbbd0457552e0_86454788), object(Block_3850478025fbbd04574b5a6_46298849))
in smarty_internal_runtime_inheritance.php line 186
at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_3850478025fbbd04574b5a6_46298849))
in smarty_internal_runtime_inheritance.php line 156
at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_3850478025fbbd04574b5a6_46298849', 'step_content', 1)
in 5cff3d12bcc91f25b935558aef5b27bf37f69207_2.file.checkout-step.tpl.php line 72
at Block_13744879895fbbd045744da2_57079873->callBlock(object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 248
at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_13744879895fbbd045744da2_57079873), object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 184
at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_13744879895fbbd045744da2_57079873))
in smarty_internal_runtime_inheritance.php line 156
at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_13744879895fbbd045744da2_57079873', 'step')
in 5cff3d12bcc91f25b935558aef5b27bf37f69207_2.file.checkout-step.tpl.php line 26
at content_5fbbd04574cce3_23049033(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('checkout/_partials/steps/checkout-step.tpl', null, null, 0, 3600, array(), 2, false, null, null)
in smarty_internal_runtime_inheritance.php line 125
at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyDevTemplate), 'checkout/_partials/steps/checkout-step.tpl')
in bd4d5ec10394e653e43207f87fbb259feb09b2f9_2.file.addresses.tpl.php line 34
at content_5fbbd0457842c8_08611532(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, null, null, 0)
in smarty_internal_templatebase.php line 116
at Smarty_Internal_TemplateBase->fetch(null, null, null, null, false, true, false)
in SmartyDevTemplate.php line 40
at SmartyDevTemplateCore->fetch()
in AbstractCheckoutStep.php line 96
at AbstractCheckoutStepCore->renderTemplate('checkout/_partials/steps/addresses.tpl', array('identifier' => 'checkout-addresses-step', 'position' => 2, 'ui' => object(RenderableProxy)), array('address_form' => object(RenderableProxy), 'use_same_address' => true, 'use_different_address_url' => 'https://vyshyvanku.com.ua/order?use_same_address=0', 'new_address_delivery_url' => 'https://vyshyvanku.com.ua/order?newAddress=delivery', 'new_address_invoice_url' => 'https://vyshyvanku.com.ua/order?newAddress=invoice', 'id_address' => 0, 'id_address_delivery' => 0, 'id_address_invoice' => 0, 'show_delivery_address_form' => true, 'show_invoice_address_form' => false, 'form_has_continue_button' => true, 'not_valid_addresses' => ''))
in CheckoutAddressesStep.php line 303
at CheckoutAddressesStepCore->render(array('identifier' => 'checkout-addresses-step', 'position' => 2, 'ui' => object(RenderableProxy)))
in RenderableProxy.php line 52
at RenderableProxy->render(array('identifier' => 'checkout-addresses-step', 'position' => 2, 'ui' => object(RenderableProxy)))
in smartyfront.config.inc.php line 98
at smartyRender(array('identifier' => 'checkout-addresses-step', 'position' => 2, 'ui' => object(RenderableProxy)), object(SmartyDevTemplate))
in SmartyLazyRegister.php line 83
at SmartyLazyRegister->__call('smartyRender', array(array('identifier' => 'checkout-addresses-step', 'position' => 2, 'ui' => object(RenderableProxy)), object(SmartyDevTemplate)))
in 1408b2faf4d396b496d2c0e6fc0137ce6d032810_2.file.checkout-process.tpl.php line 28
at content_5fbbd045712632_21087710(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, null, null, 0)
in smarty_internal_templatebase.php line 116
at Smarty_Internal_TemplateBase->fetch(null, null, null, null, false, true, false)
in SmartyDevTemplate.php line 40
at SmartyDevTemplateCore->fetch()
in CheckoutProcess.php line 112
at CheckoutProcessCore->render(array('file' => 'checkout/checkout-process.tpl', 'ui' => object(RenderableProxy)))
in RenderableProxy.php line 52
at RenderableProxy->render(array('file' => 'checkout/checkout-process.tpl', 'ui' => object(RenderableProxy)))
in smartyfront.config.inc.php line 98
at smartyRender(array('file' => 'checkout/checkout-process.tpl', 'ui' => object(RenderableProxy)), object(SmartyDevTemplate))
in SmartyLazyRegister.php line 83
at SmartyLazyRegister->__call('smartyRender', array(array('file' => 'checkout/checkout-process.tpl', 'ui' => object(RenderableProxy)), object(SmartyDevTemplate)))
in 8e6bc491da940177eafaa67d3657dbedcf37d965_2.file.checkout.tpl.php line 178
at Block_20018507255fbbd0455fa065_59129137->callBlock(object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 248
at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_20018507255fbbd0455fa065_59129137), object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 184
at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_20018507255fbbd0455fa065_59129137))
in smarty_internal_runtime_inheritance.php line 156
at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_20018507255fbbd0455fa065_59129137', 'cart_summary', 3)
in 8e6bc491da940177eafaa67d3657dbedcf37d965_2.file.checkout.tpl.php line 217
at Block_7207331385fbbd0455f9847_02843437->callBlock(object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 248
at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_7207331385fbbd0455f9847_02843437), object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 184
at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_7207331385fbbd0455f9847_02843437))
in smarty_internal_runtime_inheritance.php line 156
at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_7207331385fbbd0455f9847_02843437', 'content')
in 8e6bc491da940177eafaa67d3657dbedcf37d965_2.file.checkout.tpl.php line 71
at content_5fbbd045604291_33764262(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, 'layouts/layout-left-column.tpl', null, 0)
in smarty_internal_templatebase.php line 116
at Smarty_Internal_TemplateBase->fetch('checkout/checkout.tpl', null, 'layouts/layout-left-column.tpl', null, false, true, false)
in SmartyDev.php line 40
at SmartyDev->fetch('checkout/checkout.tpl', null, 'layouts/layout-left-column.tpl')
in FrontController.php line 683
at FrontControllerCore->smartyOutputContent('checkout/checkout.tpl')
in FrontController.php line 667
at FrontControllerCore->display()
in Controller.php line 312
at ControllerCore->run()
in Dispatcher.php line 515
at DispatcherCore->dispatch()
in index.php line 28
23 Ноябрь 2020, 20:46:57
Ответ #1
  • Ветеран
  • *****
  • Сообщений: 33325
  • Репутация: +26771/-0
    • Просмотр профиля
Notice: Undefined index: name
in c975faaebcf035e7b9f080a5782bd3994774d0fd_2.file.address-form.tpl.php
Имя обязательное поле. Если изменили форму регистрации, измените и проверку заполнения полей.
24 Ноябрь 2020, 07:07:25
Ответ #2
  • Новичок
  • *
  • Сообщений: 1
  • Репутация: +0/-0
  • Сообщество PrestaShop
    • Просмотр профиля
чистим кэш, смотрим лог сервера php_error.log, закиньте лог посмотрим
24 Ноябрь 2020, 15:30:33
Ответ #3
  • Новичок
  • *
  • Сообщений: 15
  • Репутация: +0/-0
  • Сообщество PrestaShop
    • Просмотр профиля
Здравствуйте!
Есть такая проблема, в вертикальном меню и в меню, которое располагается внизу, при наведении курсора на ссылку высвечивается информация с title=. Где найти этот title= и как удалить? Я не специалист, если можно поподробнее.
Код привожу
!-- Block categories module -->
<div id="categories_block_left" class="block">
   <div class="block_content">
      <ul class="tree ">
<li >
   <a href="https://сайт.ru"
   
     title="НЕНУЖНЫЙ ТЕКСТ КОТОРЫЙ НАДО УДАЛИТ">
      
   </a>
         <ul>
                                    <li >
   <a href="https://сайт.ru"
               
     title="НЕНУЖНЫЙ ТЕКСТ КОТОРЫЙ НАДО УДАЛИТ">
24 Ноябрь 2020, 16:04:09
Ответ #4
  • Ветеран
  • *****
  • Сообщений: 1614
  • Репутация: +32/-1
  • Сообщество PrestaShop
    • Просмотр профиля
24 Ноябрь 2020, 16:26:34
Ответ #5
  • Ветеран
  • *****
  • Сообщений: 22125
  • Репутация: +25303/-1
  • Prestashop - просто и эффективно
    • Просмотр профиля
В файле
/modules/blockcategories/category-tree-branch.tpl
или
/themes/default-bootstrap/modules/blockcategories/category-tree-branch.tpl
удалите
title="{$node.desc|strip_tags|trim|truncate:255:'...'|escape:'html':'UTF-8'}
Эксперт Prestashop - решения всех проблем, написание модулей, создание тем для интернет-магазинов под Prestashop.
Эксперт Magento - создам сайт на Magento, программирование кастомных модулей для Magento, кастомизация тем Magento.
Лучшие цены!!!
25 Ноябрь 2020, 09:22:30
Ответ #6
  • Новичок
  • *
  • Сообщений: 15
  • Репутация: +0/-0
  • Сообщество PrestaShop
    • Просмотр профиля
В /themes/default-bootstrap/modules/blockcategories/category-tree-branch.tpl нет
в другом файле нашел и удалил.
Не помогло.
Версия 1.6.1.4
25 Ноябрь 2020, 09:24:18
Ответ #7
  • Новичок
  • *
  • Сообщений: 15
  • Репутация: +0/-0
  • Сообщество PrestaShop
    • Просмотр профиля
Выглядит после удаления так
<a href="{$node.link|escape:'html':'UTF-8'}" {if isset($currentCategoryId) && $node.id == $currentCategoryId}class="selected"{/if}
>{$node.name|escape:'html':'UTF-8'}</a>
25 Ноябрь 2020, 09:38:14
Ответ #8
  • Новичок
  • *
  • Сообщений: 15
  • Репутация: +0/-0
  • Сообщество PrestaShop
    • Просмотр профиля
Может ещё какие-то моневры надо совершить? Что-то нажать и т.д. Совсем я непросвещённый.
25 Ноябрь 2020, 12:41:11
Ответ #9
  • Ветеран
  • *****
  • Сообщений: 16670
  • Репутация: +14630/-5
  • Сообщество PrestaShop
    • Просмотр профиля
У вас тема дефолтная или устанавливали другую?
25 Ноябрь 2020, 17:22:58
Ответ #10
  • Новичок
  • *
  • Сообщений: 15
  • Репутация: +0/-0
  • Сообщество PrestaShop
    • Просмотр профиля
Неизвестно. Сайт делал под мои пожелания один товарищ, с которым утеряна связь. Скорее все переделано. Как изменить понятия не имею.
25 Ноябрь 2020, 17:23:55
Ответ #11
  • Новичок
  • *
  • Сообщений: 15
  • Репутация: +0/-0
  • Сообщество PrestaShop
    • Просмотр профиля
Как правильно чистить кэш. Может в этом проблема.
25 Ноябрь 2020, 19:50:18
Ответ #12
  • Ветеран
  • *****
  • Сообщений: 16670
  • Репутация: +14630/-5
  • Сообщество PrestaShop
    • Просмотр профиля
25 Ноябрь 2020, 22:35:03
Ответ #13
  • Новичок
  • *
  • Сообщений: 15
  • Репутация: +0/-0
  • Сообщество PrestaShop
    • Просмотр профиля
26 Ноябрь 2020, 13:43:38
Ответ #14
  • Ветеран
  • *****
  • Сообщений: 16670
  • Репутация: +14630/-5
  • Сообщество PrestaShop
    • Просмотр профиля
В папке /themes/ какие папки есть, название?