Jump to content

Debugging Errors - Which ones are bad? (answered)


Recommended Posts

I turned on debugging and see all these errors on my homepage: but have not clue what they mean.


Whoops, looks like something went wrong.
(1/1) ContextErrorException

Notice: Undefined index: base_dir
in 021f52eee68068ec2d96e37c76b3b688942c4965_2.file.button_block_category.tpl.php line 32
at content_60b3dd47cb4293_05198748(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 Module.php line 2447
at ModuleCore->display('/home/vetmaxpk/public_html/modules/callforprice/callforprice.php', 'views/templates/hook/button_block_category.tpl')in callforprice.php line 457
at callForPrice->hookDisplayCallForPriceCategoryButton(array('product' => object(ProductListingLazyArray), 'smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1))in Hook.php line 990
at HookCore::coreCallHook(object(callForPrice), 'hookDisplayCallForPriceCategoryButton', array('product' => object(ProductListingLazyArray), 'smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1))in Hook.php line 414
at HookCore::callHookOn(object(callForPrice), 'displayCallForPriceCategoryButton', array('product' => object(ProductListingLazyArray), 'smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1))in Hook.php line 927
at HookCore::exec('displayCallForPriceCategoryButton', array('product' => object(ProductListingLazyArray), 'smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1), null)in smarty.config.inc.php line 167
at smartyHook(array('h' => 'displayCallForPriceCategoryButton', 'product' => object(ProductListingLazyArray)), object(SmartyDevTemplate))in SmartyLazyRegister.php line 83
at SmartyLazyRegister->__call('smartyHook', array(array('h' => 'displayCallForPriceCategoryButton', 'product' => object(ProductListingLazyArray)), object(SmartyDevTemplate)))in 79b98982a951c425ace57b1dc779c1aaa2a4239e_2.file.product-home-grid.tpl.cache.php line 169
at Block_162683571360b3dd47c72e38_07447593->callBlock(object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 248
at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_162683571360b3dd47c72e38_07447593), object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 184
at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_162683571360b3dd47c72e38_07447593))in smarty_internal_runtime_inheritance.php line 156
at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_162683571360b3dd47c72e38_07447593', 'product_buttons', 0)in 79b98982a951c425ace57b1dc779c1aaa2a4239e_2.file.product-home-grid.tpl.cache.php line 305
at Block_89875668460b3dd47c59c55_49836825->callBlock(object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 248
at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_89875668460b3dd47c59c55_49836825), object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 184
at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_89875668460b3dd47c59c55_49836825))in smarty_internal_runtime_inheritance.php line 156
at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_89875668460b3dd47c59c55_49836825', 'product_miniature_item')in 79b98982a951c425ace57b1dc779c1aaa2a4239e_2.file.product-home-grid.tpl.cache.php line 36
at content_60b3dd47c78b46_51699875(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 383
at Smarty_Internal_Template->_subTemplateRender('file:catalog/_partials/miniatures/product-home-grid.tpl', 'zonehomeblocks|home_middle|device0|1|1|1|1|1|21', 'ZOneTheme', 9999, 31536000, array('product' => object(ProductListingLazyArray)), 0, true)in 9a25d643b37e83467108b248671b1c25e7cb2a69_2.module.zonehomeblocksviewstempla.cache.php line 136
at content_60b3dd47c4f141_63272823(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 383
at Smarty_Internal_Template->_subTemplateRender('module:zonehomeblocks/views/templates/hook/block-product.tpl', 'zonehomeblocks|home_middle|device0|1|1|1|1|1|21', 'ZOneTheme', 9999, 31536000, array('ablock' => array('id' => '8', 'title' => 'Featured Products', 'block_type' => 'blocktype_product', 'custom_class' => '', 'products' => array(object(ProductListingLazyArray), object(ProductListingLazyArray), object(ProductListingLazyArray), object(ProductListingLazyArray), object(ProductListingLazyArray), object(ProductListingLazyArray), object(ProductListingLazyArray), object(ProductListingLazyArray), object(ProductListingLazyArray), object(ProductListingLazyArray), object(ProductListingLazyArray), object(ProductListingLazyArray), object(ProductListingLazyArray), object(ProductListingLazyArray), object(ProductListingLazyArray), object(ProductListingLazyArray), object(ProductListingLazyArray), object(ProductListingLazyArray), object(ProductListingLazyArray), object(ProductListingLazyArray), object(ProductListingLazyArray)), 'show_more_link' => false, 'enable_slider' => '', 'number_column' => 3)), 0, true)in f0299ce0026269365b364fbf6debf4fe68295a92_2.module.zonehomeblocksviewstempla.cache.php line 53
at content_60b3dd47c215a7_32371776(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 383
at Smarty_Internal_Template->_subTemplateRender('module:zonehomeblocks/views/templates/hook/homeblocks.tpl', 'zonehomeblocks|home_middle|device0|1|1|1|1|1|21', 'ZOneTheme', 9999, 31536000, array(), 0, false)in 7cd7801963674e83000534e0b14f33efc74da9d1_2.module.zonehomeblocksviewstempla.cache.php line 29
at content_60b3dd47c04038_67387065(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_runtime_updatecache.php line 38
at Smarty_Internal_Runtime_UpdateCache->updateCache(object(Smarty_Template_Cached), object(SmartyDevTemplate), false)in smarty_template_cached.php line 143
at Smarty_Template_Cached->render(object(SmartyDevTemplate), false)in smarty_internal_template.php line 211
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 Module.php line 2488
at ModuleCore->fetch('module:zonehomeblocks/views/templates/hook/zonehomeblocks.tpl', 'zonehomeblocks|home_middle|device0|1|1|1|1|1|21')in zonehomeblocks.php line 1935
at ZOneHomeBlocks->hookDisplayHome(array('cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1))in Hook.php line 990
at HookCore::coreCallHook(object(ZOneHomeBlocks), 'hookDisplayHome', array('cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1))in Hook.php line 414
at HookCore::callHookOn(object(ZOneHomeBlocks), 'displayHome', array('cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1))in Hook.php line 927
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

Most of the smary_template look like they might be from my theme: ZOne  a few others look like they might be my shipping module "Call for Price". Obviously, would like to be error free, just not sure which ones are most important to fix (fi any of them really need fixed). Advice?

Any of these need immediate attention?

Link to comment
Share on other sites

3 hours ago, El Patron said:

it's not an error, it's a notice....script keeps running...same with warnings....

unless there is a problem identified, i.e. blank screen or some feature not working leave debug mode off.

Thanks for the information, I shut it right back off because debug mode takes website down. Good to know they are not errors and instead just script notices.

  • Like 1
Link to comment
Share on other sites

  • El Patron changed the title to Debugging Errors - Which ones are bad? (answered)

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...