Jump to content

Welcome, Guest!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

  • 0
jn1

problems after updating to TB 1.4

Question

Hello

I will get the following errors after I have update to 1.4 unsing php 8.0.

any ideas where I should start to find the problems.

Best wishes

Josef

Error

Attempt to modify property "value" on null

when rendering smarty template /mnt/web306/e3/87/52118087/htdocs/ptsv/presta1_6/thirtybees/themes/ptsvshop-template/modules/blockcart/blockcart.tpl
 
vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123 source content_63c68dcfd19537_45880373()
2. vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114 source Smarty_Template_Resource_Base->getRenderedTemplateCode()
3. vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216 source Smarty_Template_Compiled->render()
4. vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:238 source Smarty_Internal_Template->render()
5. vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:116 source Smarty_Internal_TemplateBase->_execute()
6. classes/SmartyCustom.php:555 source Smarty_Internal_TemplateBase->fetch()
7. classes/SmartyCustom.php:530 source Smarty_Custom_Template->fetchWithRetries()
8. classes/module/Module.php:3170 source Smarty_Custom_Template->fetch()
9. modules/blockcart/blockcart.php:251 source ModuleCore->display()
10. modules/blockcart/blockcart.php:488 source BlockCart->hookRightColumn()
11. classes/Hook.php:769 source BlockCart->hookTop()
12. classes/Hook.php:473 source HookCore::coreCallHook()
13. classes/Hook.php:288 source HookCore::execWithoutCache()
14. classes/controller/FrontController.php:346 source HookCore::exec()
15. controllers/front/IndexController.php:53 source FrontControllerCore->initContent()
Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

Ftp to your server, edit file /themes/ptsvshop-template/modules/blockcart/dropdown.tpl and look for line

{assign var='free_ship' value=count($cart->getDeliveryAddressesWithoutCarriers(true, $errors))}

or something similar to it

Change it to look like this:

{assign var='free_ship' value=count($cart->getDeliveryAddressesWithoutCarriers(true))}

What has to be changed is highlighted in the link I posted above.

Link to comment
Share on other sites

  • 0

you are a genius. It worked. Thank you very much. Overall, it seems that the upgrade worked quite good. I just have one problem with an external module, which is for exporting orders. I would be glad to hear about good and free alternatives 😉 

Best wishes
Josef

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