skip to Main Content

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


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

    Login or Signup to reply.
  2. 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

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search