mirror of
https://github.com/appwrite/appwrite
synced 2026-05-16 05:28:31 +00:00
It's possible for the route to be null (no match) which leads to an error like: ``` appwrite | [Error] Timestamp: 2023-08-30T21:39:58+00:00 appwrite | [Error] Type: Error appwrite | [Error] Message: Call to a member function label() on null appwrite | [Error] File: /usr/src/code/app/controllers/general.php appwrite | [Error] Line: 50 ``` This adds a null check to prevent the error. |
||
|---|---|---|
| .. | ||
| api | ||
| shared | ||
| web | ||
| general.php | ||
| mock.php | ||