I’ve recently updated our server to PHP 8.1 and the latest version of TinyButStrong. The latter now throws a fatal error:
PHP Fatal error: Cannot acquire reference to $GLOBALS in U:ivojoadmintinybutstrong3tbs_class.php on line 713
The line in question reads:
$this->VarRef =& $GLOBALS;
I’ve read up a bit on 8.1 and this type of assignment is no longer allowed but is there any way of getting TinyButStrong working again without downgrading PHP?
2
Answers
The next TBS and OpenTBS versions will be compatible with PHP 8.1.
Beta versions are already available on GitHub.
https://github.com/Skrol29/tinybutstrong
https://github.com/Skrol29/opentbs
I have the same problem; I try the beta version but it’s the same thing
Without the complete code i know it’s not easy but he is on many files.
Thank’s a lot