Havouza Posted July 14, 2022 Posted July 14, 2022 We show dual prices for the products, both ex and inc vat. The module we use has stopped working after update to Edge and there seems to be no solution. Is there any other modules that works with TB? If not, can I force the shop to show prices ex VAT?
datakick Posted July 14, 2022 Posted July 14, 2022 What is the reason your current module stopped working? Did it use override?
Havouza Posted July 14, 2022 Author Posted July 14, 2022 I dont know yet. I have given the developer access and wait for some answers. The module is from 2016 and installed before we migrated to TB 1.0.
Havouza Posted July 14, 2022 Author Posted July 14, 2022 @datakick Can this be the problem? [Thu Jul 14 14:53:56.602927 2022] [proxy_fcgi:error] [pid 10370] [client 185.60.237.38:47824] AH01071: Got error 'PHP message: PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/jv74/public_html/classes/module/Module.php(966) : eval()'d code on line 2194PHP message: PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/jv74/public_html/classes/module/Module.php(966) : eval()'d code on line 2194PHP message: PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/jv74/public_html/classes/module/Module.php(966) : eval()'d code on line 2196PHP message: PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/jv74/public_html/classes/module/Module.php(966) : eval()'d code on line 2196PHP message: PHP Deprecated: Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in /home/jv74/public_html/classes/module/Module.php(966) : eval()'d code on line 2219', referer: https/index.php?controller=AdminModules&configure=dualpricedisplay&token=ce198036a69a035c871909399e1ec7da
datakick Posted July 14, 2022 Posted July 14, 2022 Nope, just a couple of Deprecation warnings. Your module code contains some syntax that newer PHP does not like so much, but it still tolerates it.
Havouza Posted July 14, 2022 Author Posted July 14, 2022 Its very strange. Yesterday it all worked and today not. In one shop the only things that happened overnight was minor price updates and in the other shop nothing. Both stopped working over night. The VPS is not updated either.
Havouza Posted July 14, 2022 Author Posted July 14, 2022 @datakick Well I dont know why but I decided to switch off the smartycache and clear the cache and now all is back to normal. Dont ask me why
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