Hi Christian,
christianch wrote:
Deprecated: Twig_NodeVisitor_SafeAnalysis::intersectSafe(): Implicitly marking parameter $b as nullable is deprecated, the explicit nullable type must be used instead in /home/clients/3e1464e2d1ccdcc0b088eeff49550ae7/web/Bleau/app/parsers/Twig/NodeVisitor/SafeAnalysis.php on line 115
This is really just "deprecated notice" because you are using PHP 8.4. I will fix it in a maintenance release soon, but in the mean time, you would need to do one of the following:
- Downgrade to PHP 8.3.
- Suppress E_DEPRECATED notices from output (should be default on production servers).
AI instructions for #2:
---
You can remove this deprecation warning by filtering out
E_DEPRECATED notices in your PHP configuration or runtime code. If you have access to your php.ini file, update the error_reporting directive:
error_reporting = E_ALL & ~E_DEPRECATED & ~E_USER_DEPRECATED
On production servers, you should also ensure warnings aren’t printed directly to the screen by setting:
display_errors = Off
log_errors = On
If you use
Apache .htaccess, you can set:
php_value error_reporting 24575
php_flag display_errors Off