PHP 8.2 support in Latte 2.11

mrcosgrove
Member | 11
+
0
-

Hi!

On the Latte website, it says 2.11 is PHP 8.2 compatible.

However when ever I use built in filters it throws errors and won't display the page.

The error I receive is:

Creation of dynamic property Latte\Runtime\FilterExecutor::$date is deprecated

It's not limited to the date filter, same error occurs on all built in filters.

should the website show that 2.11 is 8.1 compatible rather than 8.2 compatible? it seems as long as filters aren't used its fine, it just doesn't work on 8.2 with the filters.

David Grudl
Nette Core | 8227
+
0
-

Latte 2.11.6 should be compatible with PHP 8.2

mrcosgrove
Member | 11
+
0
-

ahhh I see what I have done now, sorry about that, it was set on 2.11 not 2.11.6 thanks!