{"action":"opened","issue":{"url":"https://api.github.com/repos/mapbuh/onvif-client-php/issues/1","repository_url":"https://api.github.com/repos/mapbuh/onvif-client-php","labels_url":"https://api.github.com/repos/mapbuh/onvif-client-php/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/mapbuh/onvif-client-php/issues/1/comments","events_url":"https://api.github.com/repos/mapbuh/onvif-client-php/issues/1/events","html_url":"https://github.com/mapbuh/onvif-client-php/issues/1","id":209255114,"number":1,"title":"PHP 5.6.30 error","user":{"login":"HyperDevil","id":21219901,"avatar_url":"https://avatars.githubusercontent.com/u/21219901?v=3","gravatar_id":"","url":"https://api.github.com/users/HyperDevil","html_url":"https://github.com/HyperDevil","followers_url":"https://api.github.com/users/HyperDevil/followers","following_url":"https://api.github.com/users/HyperDevil/following{/other_user}","gists_url":"https://api.github.com/users/HyperDevil/gists{/gist_id}","starred_url":"https://api.github.com/users/HyperDevil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HyperDevil/subscriptions","organizations_url":"https://api.github.com/users/HyperDevil/orgs","repos_url":"https://api.github.com/users/HyperDevil/repos","events_url":"https://api.github.com/users/HyperDevil/events{/privacy}","received_events_url":"https://api.github.com/users/HyperDevil/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-02-21T19:55:25Z","updated_at":"2017-02-21T19:55:25Z","closed_at":null,"body":"PHP 5.6.30\r\n\r\nThis error Call to undefined method ONVIFMedia::get_system_date_and_time() in /var/www/html/onvif-client-php/inc/ONVIF.inc.php on line 45\r\n\r\n`<?php\r\ninclude( 'inc/ONVIFMedia.inc.php' );\r\nini_set( 'default_socket_timeout', 1800 ); \r\n$wsdl    = 'http://127.0.0.1/onvif-client-php/WSDL/media-mod.wsdl';\r\n$service = 'http://192.168.1.2/onvif/device_service';\r\n$username = 'admin';\r\n$password = 'admin';\r\n$client = new ONVIFMedia($wsdl,$service,$username,$password);\r\ntry {\r\n    $client->response_dump( 'GetProfiles', $client->get_profiles() );\r\n} catch ( Exception $e ) {\r\n    print \"SOAP error occured\\n\";\r\n    $res = $client->client->__getLastRequest();\r\n    print \"Last request:\\n\";\r\n    print( $res . \"\\n\" );\r\n    $res = $client->client->__getLastResponse();\r\n    print \"Last response:\\n\";\r\n    print( $res . \"\\n\");\r\n}\r\n\r\n?>\r\n`\r\n\r\n"}}
{"actor":{"display_login":"HyperDevil"}}