{"action":"created","issue":{"url":"https://api.github.com/repos/nerzhul/ocsms/issues/39","labels_url":"https://api.github.com/repos/nerzhul/ocsms/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/nerzhul/ocsms/issues/39/comments","events_url":"https://api.github.com/repos/nerzhul/ocsms/issues/39/events","html_url":"https://github.com/nerzhul/ocsms/issues/39","id":56133925,"number":39,"title":"Error in smsmapper.php and Appframwork","user":{"login":"enoch85","id":4511254,"avatar_url":"https://avatars.githubusercontent.com/u/4511254?v=3","gravatar_id":"","url":"https://api.github.com/users/enoch85","html_url":"https://github.com/enoch85","followers_url":"https://api.github.com/users/enoch85/followers","following_url":"https://api.github.com/users/enoch85/following{/other_user}","gists_url":"https://api.github.com/users/enoch85/gists{/gist_id}","starred_url":"https://api.github.com/users/enoch85/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enoch85/subscriptions","organizations_url":"https://api.github.com/users/enoch85/orgs","repos_url":"https://api.github.com/users/enoch85/repos","events_url":"https://api.github.com/users/enoch85/events{/privacy}","received_events_url":"https://api.github.com/users/enoch85/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nerzhul/ocsms/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"nerzhul","id":119752,"avatar_url":"https://avatars.githubusercontent.com/u/119752?v=3","gravatar_id":"","url":"https://api.github.com/users/nerzhul","html_url":"https://github.com/nerzhul","followers_url":"https://api.github.com/users/nerzhul/followers","following_url":"https://api.github.com/users/nerzhul/following{/other_user}","gists_url":"https://api.github.com/users/nerzhul/gists{/gist_id}","starred_url":"https://api.github.com/users/nerzhul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nerzhul/subscriptions","organizations_url":"https://api.github.com/users/nerzhul/orgs","repos_url":"https://api.github.com/users/nerzhul/repos","events_url":"https://api.github.com/users/nerzhul/events{/privacy}","received_events_url":"https://api.github.com/users/nerzhul/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/nerzhul/ocsms/milestones/5","labels_url":"https://api.github.com/repos/nerzhul/ocsms/milestones/5/labels","id":940627,"number":5,"title":"1.5","description":null,"creator":{"login":"nerzhul","id":119752,"avatar_url":"https://avatars.githubusercontent.com/u/119752?v=3","gravatar_id":"","url":"https://api.github.com/users/nerzhul","html_url":"https://github.com/nerzhul","followers_url":"https://api.github.com/users/nerzhul/followers","following_url":"https://api.github.com/users/nerzhul/following{/other_user}","gists_url":"https://api.github.com/users/nerzhul/gists{/gist_id}","starred_url":"https://api.github.com/users/nerzhul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nerzhul/subscriptions","organizations_url":"https://api.github.com/users/nerzhul/orgs","repos_url":"https://api.github.com/users/nerzhul/repos","events_url":"https://api.github.com/users/nerzhul/events{/privacy}","received_events_url":"https://api.github.com/users/nerzhul/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":3,"state":"open","created_at":"2015-01-18T16:06:53Z","updated_at":"2015-02-12T20:02:09Z","due_on":null,"closed_at":null},"comments":8,"created_at":"2015-01-31T18:25:44Z","updated_at":"2015-02-13T00:13:42Z","closed_at":null,"body":"I reeally wonder what this is:\r\n\r\n```\r\n{\"app\":\"PHP\",\"message\":\"Undefined index: 3 at \\/var\\/www\\/owncloud\\/apps\\/ocsms\\/db\\/smsmapper.php#45\",\"level\":3,\"time\":\"2015-01-30T00:20:43+00:00\"}\r\n{\"app\":\"PHP\",\"message\":\"Undefined index: 3 at \\/var\\/www\\/owncloud\\/apps\\/ocsms\\/db\\/smsmapper.php#45\",\"level\":3,\"time\":\"2015-01-30T01:20:34+00:00\"}\r\n{\"app\":\"PHP\",\"message\":\"Undefined index: 3 at \\/var\\/www\\/owncloud\\/apps\\/ocsms\\/db\\/smsmapper.php#45\",\"level\":3,\"time\":\"2015-01-30T04:20:35+00:00\"}\r\n{\"app\":\"PHP\",\"message\":\"Undefined index: 3 at \\/var\\/www\\/owncloud\\/apps\\/ocsms\\/db\\/smsmapper.php#45\",\"level\":3,\"time\":\"2015-01-30T07:21:05+00:00\"}\r\n{\"app\":\"PHP\",\"message\":\"Undefined index: 3 at \\/var\\/www\\/owncloud\\/apps\\/ocsms\\/db\\/smsmapper.php#45\",\"level\":3,\"time\":\"2015-01-30T10:22:06+00:00\"}\r\n{\"app\":\"PHP\",\"message\":\"Undefined index: 3 at \\/var\\/www\\/owncloud\\/apps\\/ocsms\\/db\\/smsmapper.php#45\",\"level\":3,\"time\":\"2015-01-30T13:22:06+00:00\"}\r\n{\"app\":\"PHP\",\"message\":\"Undefined index: 3 at \\/var\\/www\\/owncloud\\/apps\\/ocsms\\/db\\/smsmapper.php#45\",\"level\":3,\"time\":\"2015-01-30T16:22:08+00:00\"}\r\n{\"app\":\"PHP\",\"message\":\"call_user_func() expects parameter 1 to be a valid callback, class 'OCA\\\\OcSms\\\\Db\\\\Config' not found at \\/var\\/www\\/owncloud\\/lib\\/public\\/appframework\\/db\\/mapper.php#250\",\"level\":3,\"time\":\"2015-01-30T18:10:33+00:00\"}\r\n{\"app\":\"PHP\",\"message\":\"call_user_func() expects parameter 1 to be a valid callback, class 'OCA\\\\OcSms\\\\Db\\\\Config' not found at \\/var\\/www\\/owncloud\\/lib\\/public\\/appframework\\/db\\/mapper.php#250\",\"level\":3,\"time\":\"2015-01-30T18:10:37+00:00\"}\r\n{\"app\":\"PHP\",\"message\":\"call_user_func() expects parameter 1 to be a valid callback, class 'OCA\\\\OcSms\\\\Db\\\\Config' not found at \\/var\\/www\\/owncloud\\/lib\\/public\\/appframework\\/db\\/mapper.php#250\",\"level\":3,\"time\":\"2015-01-30T18:10:39+00:00\"}\r\n{\"app\":\"PHP\",\"message\":\"call_user_func() expects parameter 1 to be a valid callback, class 'OCA\\\\OcSms\\\\Db\\\\Config' not found at \\/var\\/www\\/owncloud\\/lib\\/public\\/appframework\\/db\\/mapper.php#250\",\"level\":3,\"time\":\"2015-01-30T18:11:05+00:00\"}\r\n{\"app\":\"PHP\",\"message\":\"call_user_func() expects parameter 1 to be a valid callback, class 'OCA\\\\OcSms\\\\Db\\\\Config' not found at \\/var\\/www\\/owncloud\\/lib\\/public\\/appframework\\/db\\/mapper.php#250\",\"level\":3,\"time\":\"2015-01-30T18:11:07+00:00\"}\r\n{\"app\":\"PHP\",\"message\":\"call_user_func() expects parameter 1 to be a valid callback, class 'OCA\\\\OcSms\\\\Db\\\\Config' not found at \\/var\\/www\\/owncloud\\/lib\\/public\\/appframework\\/db\\/mapper.php#250\",\"level\":3,\"time\":\"2015-01-30T18:11:23+00:00\"}\r\n{\"app\":\"PHP\",\"message\":\"call_user_func() expects parameter 1 to be a valid callback, class 'OCA\\\\OcSms\\\\Db\\\\Config' not found at \\/var\\/www\\/owncloud\\/lib\\/public\\/appframework\\/db\\/mapper.php#250\",\"level\":3,\"time\":\"2015-01-30T18:11:24+00:00\"}\r\n{\"app\":\"PHP\",\"message\":\"call_user_func() expects parameter 1 to be a valid callback, class 'OCA\\\\OcSms\\\\Db\\\\Config' not found at \\/var\\/www\\/owncloud\\/lib\\/public\\/appframework\\/db\\/mapper.php#250\",\"level\":3,\"time\":\"2015-01-30T18:11:26+00:00\"}\r\n{\"app\":\"PHP\",\"message\":\"Undefined index: 3 at \\/var\\/www\\/owncloud\\/apps\\/ocsms\\/db\\/smsmapper.php#45\",\"level\":3,\"time\":\"2015-01-30T19:22:08+00:00\"}\r\n{\"app\":\"PHP\",\"message\":\"Undefined index: 3 at \\/var\\/www\\/owncloud\\/apps\\/ocsms\\/db\\/smsmapper.php#45\",\"level\":3,\"time\":\"2015-01-30T22:22:35+00:00\"}\r\n```\r\n\r\nRunning 1.4.2."},"comment":{"url":"https://api.github.com/repos/nerzhul/ocsms/issues/comments/74181349","html_url":"https://github.com/nerzhul/ocsms/issues/39#issuecomment-74181349","issue_url":"https://api.github.com/repos/nerzhul/ocsms/issues/39","id":74181349,"user":{"login":"martin-rueegg","id":6409516,"avatar_url":"https://avatars.githubusercontent.com/u/6409516?v=3","gravatar_id":"","url":"https://api.github.com/users/martin-rueegg","html_url":"https://github.com/martin-rueegg","followers_url":"https://api.github.com/users/martin-rueegg/followers","following_url":"https://api.github.com/users/martin-rueegg/following{/other_user}","gists_url":"https://api.github.com/users/martin-rueegg/gists{/gist_id}","starred_url":"https://api.github.com/users/martin-rueegg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martin-rueegg/subscriptions","organizations_url":"https://api.github.com/users/martin-rueegg/orgs","repos_url":"https://api.github.com/users/martin-rueegg/repos","events_url":"https://api.github.com/users/martin-rueegg/events{/privacy}","received_events_url":"https://api.github.com/users/martin-rueegg/received_events","type":"User","site_admin":false},"created_at":"2015-02-13T00:13:42Z","updated_at":"2015-02-13T00:13:42Z","body":"###    send excemple data\r\n\r\nif there is no sensitive data (please check or edit data):\r\n```\r\nSELECT * FROM `oc_ocsms_smsdatas` WHERE `sms_mailbox` = 3\r\n```\r\n\r\notherwise avoid the message body using:\r\n```\r\nSELECT `id`, `user_id`, `added`, `lastmodified`, `sms_id`, `sms_address`, `sms_date`, `sms_flags`, `sms_type` FROM `oc_ocsms_smsdatas` WHERE `sms_mailbox` = 3\r\n```\r\n\r\n####  check if error is gone when sms_mailbox set to 2\r\n```\r\nUPDATE `oc_ocsms_smsdatas` SET `sms_mailbox` =2 WHERE `sms_mailbox` =3\r\n```\r\nthen check logs while syncing."}}