please help: when I try to modify attribute size or key or anything, I am getting this errors:
TypeScript
Deprecated: strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /usr/src/code/vendor/utopia-php/database/src/Database/Validator/Index.php on line 62
[Error] Timestamp: 2025-06-30T21:48:17+00:00
[Error] Method: PATCH
[Error] URL: /v1/databases/:databaseId/collections/:collectionId/attributes/string/:key
[Error] Type: Appwrite\Extend\Exception
[Error] Message: Invalid index attribute "" not found
[Error] File: /usr/src/code/app/controllers/api/databases.php
[Error] Line: 409
TL;DR
Developers on appwrite 1.7.4 facing issues modifying attributes due to deprecated function call. Error message indicates invalid index attribute not found. To fix, update to the latest version of appwrite, as this issue may have been resolved in newer releases.I am using appwrite 1.7.4. is it safe to use the migrate command?
Recommended threads
- function subdomain ssl certs
The generated subdomain isn't getting a valid ssl cert, I was wondering if appwrite automatically generates one or uses a wildcard for *.functions.domain.com? ...
- Whats best practise for Appwrite Cloud?
Appwrite Teams map very nicely to my needs, it is how i group users together. ... I use roles to define permissions. Should I also map a table to each team ? ...
- Error getting preview of file
Rest Response: ``` { "message": "Server Error", "code": 500, "type": "general_unknown", "version": "1.8.1" } ``` Appwrite Logs ``` appwrite ...