'TinyButStrong update for PHP 8.1?
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:\ivojoadmin\tinybutstrong3\tbs_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?
Solution 1:[1]
The next TBS and OpenTBS versions will be compatible with PHP 8.1. Beta versions are already available on GitHub.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Skrol29 |
