php - Google Beacon API - Diagnostics Calls Fail -


i @ complete loss here...the 2 calls bellow using same service yet 1 works great other fails...i hoping set of eyeballs might catch doing wrong. on google oauth playground both seem working fine

    !! crashes !! //googles class class google_service_proximitybeacon_beaconsdiagnostics_resource extends google_service_resource {   public function listbeaconsdiagnostics($beaconname, $optparams = array())   {     $params = array('beaconname' => $beaconname);     $params = array_merge($params, $optparams);     return $this->call('list', array($params), "google_service_proximitybeacon_listdiagnosticsresponse");   } }  //service $service = new google_service_proximitybeacon($client);  //call $beaconname = 'beacons/3!f7826da64fa24e9880243rgenfgv43kgekfe'; $request = $service->diagnostics->listbeaconsdiagnostics($beaconname);   !! works great !! //googles class class google_service_proximitybeacon_namespaces_resource extends google_service_resource {   public function listnamespaces($optparams = array())   {     $params = array();     $params = array_merge($params, $optparams);     return $this->call('list', array($params), "google_service_proximitybeacon_listnamespacesresponse");   } }  //service $service = new google_service_proximitybeacon($client);  //call $request = $service->namespaces->listnamespaces(); 

fatal error: uncaught error: call member function listbeaconsdiagnostics() on null in /home/xtractio/public_html/test4.php:121 stack trace: #0 {main} thrown in /home/xtractio/public_html/test4.php on line 121

this fatal error receiving, odd both calls above , other calls pretty identical these 2 extended classes attachments/diagnostics seem causing issue.

thanks in advance!


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -