-5

Help me please, I really need help. I don't know how to fix it.

IMAGE

My php

  • If your jsondata is an array like `[1,2,3]`, you are not supposed to use a string like `'error'` as the index – qrsngky Jul 06 '22 at 08:54
  • 1
    Can you please provide your json output? – quoci Jul 06 '22 at 08:58
  • 2
    Don't post [images of code](https://meta.stackoverflow.com/questions/285551/why-not-upload-images-of-code-errors-when-asking-a-question)! – brombeer Jul 06 '22 at 09:00

1 Answers1

-1

This type mismatch error which means that you provide "String value " but needs of integer type value for more information you refere this link Type 'String' is not a subtype of type 'int' of 'index'

Jay Limbani
  • 134
  • 5