non existing alias, PHP 8.4 Internal Server Error
Passing E_USER_ERROR to trigger_error() is deprecated since 8.4, throw an exception or call exit with a string message instead
/vendor/bcosca/fatfree-core/base.php:1571
when calling $f3->alias() with a non existing alias
Just ran into this. Thanks for telling me the reason so I don't have to hack core to find out what 8.4 is cranky about.
We can only replace this with throwing an exception instead. I'll have a look if this might have other implications. In the meantime you can disable deprecation warnings to get rid of the error.
fixed.
https://github.com/f3-factory/fatfree-core/issues/393 https://github.com/f3-factory/fatfree-core/commit/442d446e8660f0732ad23effcceb2ac2dfbc54e4 when will it be released ?
it's out now