JSON client side issues

JSON client side issues

OscarCOscarC Posts: 19Questions: 5Answers: 0

This is an Editor (version 1.2) that creates this JSON to be send to the server:
action: create
table:
id:
data[STATUS]: Proposed
data[STATE]: CA
data[OB_DATE]: 1-Jul-20
data[SITE_NAME]: oscar1
data[SITE_LOCATION]: MI
data[POINT_Y]: 27
data[POINT_X]: -70
data[PLOT_TYPE]: Release
data[ORIGIN]: Research
data[COMMENTS]:
data[OVERSTORY_AB_SP1]:
data[EAB_DENSITY]:
data[ASH_PCT]:
data[SIZE_WOODED_AREA]: 0
data[USERID]: perkins

all the data looks good. I cannot see errors on it.
However my response is
Notice: Undefined offset: 0 in C:\xxxxx\php\lib\Editor\Editor.php on line 507
{"id":"row_31260","error":"","fieldErrors":[],"data":[],"row":null}

any ideas on what to make the "undefined offset"

Replies

  • allanallan Posts: 63,213Questions: 1Answers: 10,415 Site admin

    Editor v1.2 is really old. 1.9.4 is the current release - I would suggest updating if you can. Also, what version of the Editor PHP libraries are you using?

    Allan

This discussion has been closed.