KDavies
KDavies

Reputation: 23

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?

Upvotes: 0

Views: 743

Answers (2)

Guillaume BARTHE
Guillaume BARTHE

Reputation: 3

I have the same problem; I try the beta version but it's the same thing

TinyButStrong Error in field [var.menu...]: parameter script with value '[val]' cannot be called because the current TBS settings do not allow to call scripts. This message can be cancelled using parameter 'noerr'.

Without the complete code i know it's not easy but he is on many files.

Thank's a lot

Upvotes: 0

Skrol29
Skrol29

Reputation: 5552

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

Upvotes: 1

Related Questions