30knees Posted May 13, 2023 Posted May 13, 2023 I'd like to test the Niara theme. I installed it but am getting this error when I open the website: Error Attempt to modify property "value" on null when rendering smarty template /themes/niara/modules/blockcart/includes/dropdown.tpl Source file: /themes/niara/modules/blockcart/includes/dropdown.tpl Does the Niara theme work with tb 1.4 and PHP 8.1? I thought Niara is the default theme now.
0 e-com Posted May 13, 2023 Posted May 13, 2023 You have very old theme templates. Download the current ones from github: https://github.com/thirtybees/niara 1
0 30knees Posted May 13, 2023 Author Posted May 13, 2023 The same error pops up after deactivating the block cart module for public_html/themes/niara/./breadcrumb.tpl
0 30knees Posted May 13, 2023 Author Posted May 13, 2023 1 hour ago, e-com said: You have very old theme templates. Download the current ones from github: https://github.com/thirtybees/niara Thank you! I wrongly thought it gets updated together with the store. Installing the current ones fixed the problem but led to a new one: TypeError Unsupported operand types: string - string when rendering smarty template /themes/niara/product.tpl Is this related to PHP 8 by any chance? My lay-person's internet search leads me to think this may be the case.
0 e-com Posted May 13, 2023 Posted May 13, 2023 3 hours ago, 30knees said: TypeError Unsupported operand types: string - string when rendering smarty template /themes/niara/product.tpl Is this related to PHP 8 by any chance? My lay-person's internet search leads me to think this may be the case. That's right, it's related to PHP 8. Somewhere in code is mathematical operation of subtraction on strings. PHP 7 ignores it, but PHP 8 already generates an error. You need to check exactly in error log where the string subtraction occurs. 1
0 30knees Posted May 14, 2023 Author Posted May 14, 2023 Hi @datakickAre there plans to update Niara to PHP 8?
0 e-com Posted May 15, 2023 Posted May 15, 2023 21 hours ago, 30knees said: Hi @datakickAre there plans to update Niara to PHP 8? Error definitely does not come from thirty bees and niara theme. Surely it is generated by some module plugged into hook on the product page. 1
Question
30knees
I'd like to test the Niara theme. I installed it but am getting this error when I open the website:
Error
Attempt to modify property "value" on null
when rendering smarty template /themes/niara/modules/blockcart/includes/dropdown.tpl
Source file: /themes/niara/modules/blockcart/includes/dropdown.tpl
Does the Niara theme work with tb 1.4 and PHP 8.1? I thought Niara is the default theme now.
7 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now