{"action":"created","issue":{"url":"https://api.github.com/repos/Star2Billing/a2billing/issues/110","labels_url":"https://api.github.com/repos/Star2Billing/a2billing/issues/110/labels{/name}","comments_url":"https://api.github.com/repos/Star2Billing/a2billing/issues/110/comments","events_url":"https://api.github.com/repos/Star2Billing/a2billing/issues/110/events","html_url":"https://github.com/Star2Billing/a2billing/issues/110","id":95020045,"number":110,"title":"php errors after a3billing upgrade to 2.1.1","user":{"login":"ccguerrero","id":13338265,"avatar_url":"https://avatars.githubusercontent.com/u/13338265?v=3","gravatar_id":"","url":"https://api.github.com/users/ccguerrero","html_url":"https://github.com/ccguerrero","followers_url":"https://api.github.com/users/ccguerrero/followers","following_url":"https://api.github.com/users/ccguerrero/following{/other_user}","gists_url":"https://api.github.com/users/ccguerrero/gists{/gist_id}","starred_url":"https://api.github.com/users/ccguerrero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ccguerrero/subscriptions","organizations_url":"https://api.github.com/users/ccguerrero/orgs","repos_url":"https://api.github.com/users/ccguerrero/repos","events_url":"https://api.github.com/users/ccguerrero/events{/privacy}","received_events_url":"https://api.github.com/users/ccguerrero/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-14T19:31:09Z","updated_at":"2015-07-20T23:35:39Z","closed_at":null,"body":"yesterday after upgrade from 2.0.11 to 2.1.1 to try to fix issues in currencies with yahoo finance i got the following errors.\r\n\r\n    [Tue Jul 14 00:48:19 2015] [error] [client xxx.xxx.xxx.xxx] PHP Parse error:  syntax error, unexpected '[' in /var/www/html/common/lib/Misc. php on line 1290\r\n\r\ni had to change line 1290 on Misc.php to:\r\n`$base_value = explode(',', $line_base_value);`\r\n\r\nThis gives a blank page, had to remove the [1] at the end, i don't know if this is correct, because i'm not a programmer but just wanted a2billing to work.\r\n\r\nthen got this error in the same file\r\n\r\n     [Tue Jul 14 01:33:57 2015] [error] [client xxx.xxx.xxx.xxx] PHP Parse error:  syntax error, unexpected ';' in /usr/src/a2billing/common/lib/Misc.php on line 1302\r\n\r\nHad to modify again line 1302, to add a \")\" and remove [1], again this just to make a2billing to work.\r\n\r\nFinally, a2billing worked, but currencies couldn't been update anyway, with error:\r\n\r\n### The base_currency is too small. Currency update ABORTED!\r\n\r\njust before upgrade a2billing, i upgraded php fom 5.3.3.40 to php 5.3.3.46, do you think this may be a problem?\r\n\r\n**system info**\r\n* CentOS release 6.6 (Final)\r\n* Linux  2.6.32-431.1.2.0.1.el6.x86_64\r\n* x86_64\r\n\r\n* PHP 5.3.3 (cli) (built: Jul  9 2015 17:39:00) \r\n  Copyright (c) 1997-2010 The PHP Group\r\n  Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies\r\n\r\n* Asterisk 11.13.0\r\n\r\nAny sugestion would be appreciated.\r\n\r\nRegards,\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Star2Billing/a2billing/issues/comments/123093059","html_url":"https://github.com/Star2Billing/a2billing/issues/110#issuecomment-123093059","issue_url":"https://api.github.com/repos/Star2Billing/a2billing/issues/110","id":123093059,"user":{"login":"areski","id":53455,"avatar_url":"https://avatars.githubusercontent.com/u/53455?v=3","gravatar_id":"","url":"https://api.github.com/users/areski","html_url":"https://github.com/areski","followers_url":"https://api.github.com/users/areski/followers","following_url":"https://api.github.com/users/areski/following{/other_user}","gists_url":"https://api.github.com/users/areski/gists{/gist_id}","starred_url":"https://api.github.com/users/areski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/areski/subscriptions","organizations_url":"https://api.github.com/users/areski/orgs","repos_url":"https://api.github.com/users/areski/repos","events_url":"https://api.github.com/users/areski/events{/privacy}","received_events_url":"https://api.github.com/users/areski/received_events","type":"User","site_admin":false},"created_at":"2015-07-20T23:35:39Z","updated_at":"2015-07-20T23:35:39Z","body":"when do you get this error? only when you try to update the currency?"}}