I have typed a script in which the script getting data from api and saving it into array, but when i use that array somewhere the php error occur like below.
Use of undefined constant product_id - assumed 'product_id'
if i correct it the script doesnt work anymore but if i don't correct it the script works fine.
what to do??
I have typed a script in which the script getting data from api and saving it into array, but when i use that array somewhere the php error occur like below.
Use of undefined constant product_id - assumed 'product_id'
if i correct it the script doesnt work anymore but if i don't correct it the script works fine.
what to do??
I have another question, is it possible to disable error log via addon?