0

I am getting the error: : Trying to get property of non-object in ...

$json_result = json_decode($result);

if ($json_result->status != 'success') { throw new Exception('Failed: ' . $json_result->data->error_message); }

But am not sure the issue as It just occurred as I changed operating system of my server.

Brad m
  • 97
  • 1
  • 1
  • 10

0 Answers0