Skip to content
This repository was archived by the owner on Oct 1, 2024. It is now read-only.

Trouble Shooting

David edited this page Aug 8, 2023 · 1 revision

In case you've found any vulnerability in QuickyPHP, read through our security policy very carefully. Any other issue or bug can either be reported via the GitHub Issue feature or via email to [email protected]. Common issues and solutions:


Exception: The returned response was not an instance of Response (...)!

Please make sure that you've returned the $response object at the end of every callback definition in a route.

The changes of the route behaviour/rules do not apply when accessing it!

In case you have enabled the router cache, try to delete the cache file before you re-try it again. It is located at /cache/router.cache

My error handling routines do not apply!

It is important in which order you perform certain commands. An error handler can just apply, after you have used the use() method.

The wrong callback is being used for a route!

It is very likely, that you added the routes in a order, where a "less-strong" pattern catched the request, before the router reached the intended route, internally. The router resolves matching routes either via the cache (see above) or while iterating over all added routes (in-order!). So, iff you have added a super-wildcard route before, it is very likely that this route "steals" the request. Simply change the order how you define the routes.

Clone this wiki locally