You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by hugohiram August 8, 2023
Hello,
I have started migrating a project made on Phalcon 3 to the latest version of Phalcon (5.2.3) with PHP 8.2.8.
When mounting the first collection, I get the following error: Fatal error: Phalcon\Mvc\Router\Route::getRouteId(): Return value must be of type string, int returned in Unknown on line 0
I understand that the method "get" has changed the second param to accept a callable as the $handler instead of mixed, but I don't know if its related to the error I am getting. However in the documentation I see that there are examples similar to what I am posting, so I assume that this is still correct.
Discussed in https://github.com/orgs/phalcon/discussions/16394
Originally posted by hugohiram August 8, 2023
Hello,
I have started migrating a project made on Phalcon 3 to the latest version of Phalcon (5.2.3) with PHP 8.2.8.
When mounting the first collection, I get the following error:
Fatal error: Phalcon\Mvc\Router\Route::getRouteId(): Return value must be of type string, int returned in Unknown on line 0
This is how the code is:
I understand that the method "get" has changed the second param to accept a callable as the $handler instead of mixed, but I don't know if its related to the error I am getting. However in the documentation I see that there are examples similar to what I am posting, so I assume that this is still correct.
https://docs.phalcon.io/5.0/en/api/phalcon_mvc#mvc-micro-collection
Any ideas of what is wrong here?
Thanks.
The text was updated successfully, but these errors were encountered: