Jump to content
thirty bees forum

Error after updated TB 1.4 from PHP 7.4 to 8.1


Recommended Posts

Posted

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

Posted (edited)

If you go 1.4 you should be aware that some modules won't be as updated as the core.

Edited by nickz
  • Thanks 1

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