{"action":"created","issue":{"url":"https://api.github.com/repos/greggilbert/recaptcha/issues/46","labels_url":"https://api.github.com/repos/greggilbert/recaptcha/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/greggilbert/recaptcha/issues/46/comments","events_url":"https://api.github.com/repos/greggilbert/recaptcha/issues/46/events","html_url":"https://github.com/greggilbert/recaptcha/issues/46","id":53746180,"number":46,"title":"Problem after a while of working (RecaptchaServiceProvider)","user":{"login":"mmatecki","id":530527,"avatar_url":"https://avatars.githubusercontent.com/u/530527?v=3","gravatar_id":"","url":"https://api.github.com/users/mmatecki","html_url":"https://github.com/mmatecki","followers_url":"https://api.github.com/users/mmatecki/followers","following_url":"https://api.github.com/users/mmatecki/following{/other_user}","gists_url":"https://api.github.com/users/mmatecki/gists{/gist_id}","starred_url":"https://api.github.com/users/mmatecki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmatecki/subscriptions","organizations_url":"https://api.github.com/users/mmatecki/orgs","repos_url":"https://api.github.com/users/mmatecki/repos","events_url":"https://api.github.com/users/mmatecki/events{/privacy}","received_events_url":"https://api.github.com/users/mmatecki/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-01-08T12:38:48Z","updated_at":"2015-06-17T15:53:12Z","closed_at":"2015-01-22T04:00:05Z","body":"Hi,\r\nI've got very strange problem on one site using your library.\r\nAfter uploading to server everything works well, after a few minutes (random) it stops. I've got exception: production.ERROR: exception 'ErrorException' with message 'trim() expects parameter 1 to be string, array given' at /vendor/greggilbert/recaptcha/src/Greggilbert/Recaptcha/RecaptchaServiceProvider.php:80\r\n\r\nHowever if I upload RecaptchaServiceProvider again to server it starts to work again for a while.\r\nI compared the RecaptchaServiceProvider before and after issue and it's the same!\r\nAny ideas what could be wrong?\r\nThanks in advance for assistance.\r\nRegards,\r\nMaciej Matecki"},"comment":{"url":"https://api.github.com/repos/greggilbert/recaptcha/issues/comments/112858333","html_url":"https://github.com/greggilbert/recaptcha/issues/46#issuecomment-112858333","issue_url":"https://api.github.com/repos/greggilbert/recaptcha/issues/46","id":112858333,"user":{"login":"kjbstar","id":4302939,"avatar_url":"https://avatars.githubusercontent.com/u/4302939?v=3","gravatar_id":"","url":"https://api.github.com/users/kjbstar","html_url":"https://github.com/kjbstar","followers_url":"https://api.github.com/users/kjbstar/followers","following_url":"https://api.github.com/users/kjbstar/following{/other_user}","gists_url":"https://api.github.com/users/kjbstar/gists{/gist_id}","starred_url":"https://api.github.com/users/kjbstar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kjbstar/subscriptions","organizations_url":"https://api.github.com/users/kjbstar/orgs","repos_url":"https://api.github.com/users/kjbstar/repos","events_url":"https://api.github.com/users/kjbstar/events{/privacy}","received_events_url":"https://api.github.com/users/kjbstar/received_events","type":"User","site_admin":false},"created_at":"2015-06-17T15:53:12Z","updated_at":"2015-06-17T15:53:12Z","body":"Hello,\r\n\r\nI had the same problem (on Laravel 4.2).\r\nEven with the recaptcha html hardcoded in the form, I still had validation issues (g-recaptcha-response field is correct).\r\n\r\nAfter a while, the only way I found to solve the issues was to put the configuration values in my app.php (in a \"recaptcha\" array), and in the package files, to replace every\r\napp('config')->get('recaptcha::\r\nby\r\napp('config')->get('app.recaptcha."}}