Back

[SOLVED] Cannot access offset of type string on string when deploying any function

  • 0
  • Self Hosted
  • Functions
ilikechicken77
21 Jun, 2023, 13:36

Methodology:

  • appwrite init function
  • appwrite deploy function Result:
  • deploying fails immediately
  • Errors: "Cannot access offset of type string on string

I tried different runtimes and also other functions which could be successfully deployed in the past..

Thx in advance<:appwriteheart:782571497393750036>

TL;DR
Title: [SOLVED] Error "Cannot access offset of type string on string" when deploying functions Message: I was getting an error message "Cannot access offset of type string on string" when trying to deploy any function. I followed these steps to solve the issue: 1. Backed up my files. 2. Upgraded to version 1.3.7. 3. Ran the "migrate" command. After doing these steps, I was able to deploy functions without encountering the error. Thank you to the person who provided the solution! <3
Binyamin
21 Jun, 2023, 13:37

Can you try

  1. Backup
  2. Upgrade to version 1.3.7
  3. Run migrate

Then redeploy and check?

ilikechicken77
21 Jun, 2023, 13:47

yes it works thx mate ur the best<:appwriterocket:823996226894692403> <:appwriteheart:782571497393750036>

ilikechicken77
21 Jun, 2023, 13:47

[SOLVED]Cannot access offset of type string on string when deploying any function

Drake
21 Jun, 2023, 16:30

[SOLVED] Cannot access offset of type string on string when deploying any function

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more