Open tiagocaus opened 2 years ago
Tiago, estou tendo o mesmo problema. Conseguiu alguma solução?
@raphaelterre ainda não, caso consiga, compartilhe aqui.
Também tive o mesmo problema, creio que este projeto (plates) esteja abandonado.
A solução que encontrei utilizando a versão 3.4:
Substituir a instrução: Engine::create('/path/to/templates'); por: Engine('/path/to/templates');
Istó é. ignorar a função create().
Hello, I'm downgrading league/plates from v4.0.0-alpha to v3.4.0, because this version supports PHP 8.
When making this change I'm having a problem with this create:
IMG: https://i.imgur.com/fnsrTGz.png
How to fix it?
Code v4.0.0-alpha: