Notice: Trying to get property of non-object in /home/josephj/lab/sync-with-server/proxy.php on line 38