We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

json_decode error

json_decode is working on my local , but when i want to import it on server its not working. ( my server has json functions)

what u think about that ?

My view: $json = json_decode($val->liked_users,true);



39.3k

not: json is working under website ( i mean on phalcon view not working)



39.3k

i solved it , cuz of my problem . json_decode($var) var is empty.

Sorry :)