pessoal2004 Posted December 29, 2022 Posted December 29, 2022 Hi, I update the TB 1.4 from PHP 7.4 to 8.1 Now I have the error: “Array and string offset access syntax with curly braces is no longer supported” in file /var/www/html/override/classes/Link.php at line 115 110: $url = $row['url']; 111: if ($this->debug) 112: print "url=$url<br />\n"; 113: $id_product = $row['id_product']; 114: $useCopy = $row['int_primary']; 115: if (empty($url) || $url{0} == ' ') 116: return false; This is a TB bug with PHP 8.1 or I missed some step on the update? Cheers
the.rampage.rado Posted December 29, 2022 Posted December 29, 2022 This is a bug with some module or function you have installed that adds this override. Install Override check and check what is using this file if you don't know. Then it would be best to ask the dev to fix it. 1
nickz Posted December 29, 2022 Posted December 29, 2022 (edited) If you go 1.4 you should be aware that some modules won't be as updated as the core. Edited December 30, 2022 by nickz 1
pessoal2004 Posted December 30, 2022 Author Posted December 30, 2022 You are right. The module makes the error. Thank you very much for your great help
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