NoSuchMethodError: Class 'RuntimeContext' has no instance method 'error'. Receiver: Instance of 'RuntimeContext' Tried calling: error("Error: ", "NoSuchMethodError: Class 'RuntimeContext' has no instance method 'log'.\nReceiver: Instance of 'RuntimeContext'\nTried calling: log(Updated row count:, 31)") #0 Object.noSuchMethod (dart:core-patch/object_patch.dart:38) #1 _objectNoSuchMethod (dart:core-patch/object_patch.dart:85) #2 main (package:set_shop_and_line/main.dart:49) <asynchronous suspension> #3 Future.any.onValue (dart:async/future.dart:628) <asynchronous suspension>
The code works if I remove the logging. https://appwrite.io/docs/products/functions/develop#logging
Recommended threads
- Function connected custom domain error: ...
My domain is served through Cloudflare. Domain is now connected with the appwrite function. But when accessing the domain, I get the below error. Any suggestion...
- Error | general_unknown
I have built a website using Appwrite Cloud as backend, and also using sites for deployment. My website is live but sometimes it shows Appwrite's Error general_...
- Introducing new string column types made...
Adding new string types is hugely bennificial! Unfortunately it made the current column types not editable to change their types to the new longer field types.