Search code examples
phptinybutstrong

Bug after php update


I have a bug on my application after upgrading my php version. The 8.0 php version is ok but if I try to update on 8.1 or 8.2 my appication block with an error I don't understand.

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

My application block on the identification page. I use the last tinybutstrong version. I tried the beta version but no changed.

If you have a solution ?

Thank's.


Solution

  • Since TBS version 3.14.0 , parameter script is not allowed by default. This is a security option.

    You can enable parameter script doing :

    $TBS->SetOption('scripts_allowed', true);