{"action":"created","issue":{"url":"https://api.github.com/repos/InfotelGLPI/accounts/issues/20","repository_url":"https://api.github.com/repos/InfotelGLPI/accounts","labels_url":"https://api.github.com/repos/InfotelGLPI/accounts/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/InfotelGLPI/accounts/issues/20/comments","events_url":"https://api.github.com/repos/InfotelGLPI/accounts/issues/20/events","html_url":"https://github.com/InfotelGLPI/accounts/issues/20","id":251531280,"number":20,"title":"PHP Fatal error:  Uncaught Error: Call to a member function fetch_assoc() Using Plugin","user":{"login":"akira345","id":655764,"avatar_url":"https://avatars0.githubusercontent.com/u/655764?v=4","gravatar_id":"","url":"https://api.github.com/users/akira345","html_url":"https://github.com/akira345","followers_url":"https://api.github.com/users/akira345/followers","following_url":"https://api.github.com/users/akira345/following{/other_user}","gists_url":"https://api.github.com/users/akira345/gists{/gist_id}","starred_url":"https://api.github.com/users/akira345/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akira345/subscriptions","organizations_url":"https://api.github.com/users/akira345/orgs","repos_url":"https://api.github.com/users/akira345/repos","events_url":"https://api.github.com/users/akira345/events{/privacy}","received_events_url":"https://api.github.com/users/akira345/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-08-21T01:50:56Z","updated_at":"2018-04-05T20:33:35Z","closed_at":"2018-02-06T13:00:16Z","author_association":"NONE","body":"Hi.\r\nI'm using GLPI.\r\nI found an error in the Apache log.\r\n`[Mon Aug 21 10:33:19 2017] [error] [client 192.168.x.xxx] PHP Fatal error:  Uncaught Error: Call to a member function fetch_assoc() on boolean in /var/www/html/GLPI/inc/dbmysql.class.php:308\\nStack trace:\\n#0 /var/www/html/GLPI/plugins/accounts/inc/account.class.php(729): DBmysql->fetch_assoc(false)\\n#1 /var/www/html/GLPI/plugins/accounts/inc/account_item.class.php(514): PluginAccountsAccount::dropdownAccount(Array)\\n#2 /var/www/html/GLPI/plugins/accounts/inc/account_item.class.php(134): PluginAccountsAccount_Item::showForItem(Object(Computer))\\n#3 /var/www/html/GLPI/inc/commonglpi.class.php(483): PluginAccountsAccount_Item::displayTabContentForItem(Object(Computer), '1', '')\\n#4 /var/www/html/GLPI/ajax/common.tabs.php(97): CommonGLPI::displayStandardTab(Object(Computer), 'PluginAccountsA...', '', Array)\\n#5 {main}\\n  thrown in /var/www/html/GLPI/inc/dbmysql.class.php on line 308, referer: http://192.168.xxx.xxx/GLPI/front/computer.form.php?id=263`\r\n\r\nThis error makes the account display loading forever.\r\n![error](https://user-images.githubusercontent.com/655764/29500700-1e12b894-865e-11e7-9a8e-adb1ce2de0d3.jpg)\r\nI have one hint.\r\nIt happens when the authority is \"super-admin\", it does not occur if it is \"normal\".\r\n\r\nOS:CentOS release 6.9 (Final)\r\nGLPI:9.1.6\r\nPlugin:2.2.0\r\nPHP:7.0.22 (cli) (built: Aug  2 2017 14:07:24) ( NTS )\r\n\r\nWhat's the problem??"},"comment":{"url":"https://api.github.com/repos/InfotelGLPI/accounts/issues/comments/379067679","html_url":"https://github.com/InfotelGLPI/accounts/issues/20#issuecomment-379067679","issue_url":"https://api.github.com/repos/InfotelGLPI/accounts/issues/20","id":379067679,"user":{"login":"wellington1993","id":6920053,"avatar_url":"https://avatars3.githubusercontent.com/u/6920053?v=4","gravatar_id":"","url":"https://api.github.com/users/wellington1993","html_url":"https://github.com/wellington1993","followers_url":"https://api.github.com/users/wellington1993/followers","following_url":"https://api.github.com/users/wellington1993/following{/other_user}","gists_url":"https://api.github.com/users/wellington1993/gists{/gist_id}","starred_url":"https://api.github.com/users/wellington1993/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wellington1993/subscriptions","organizations_url":"https://api.github.com/users/wellington1993/orgs","repos_url":"https://api.github.com/users/wellington1993/repos","events_url":"https://api.github.com/users/wellington1993/events{/privacy}","received_events_url":"https://api.github.com/users/wellington1993/received_events","type":"User","site_admin":false},"created_at":"2018-04-05T20:33:35Z","updated_at":"2018-04-05T20:33:35Z","author_association":"NONE","body":"Hi,\r\n\r\nI  have the same problems:\r\n\r\n`[Thu Apr 05 17:32:04.139957 2018] [:error] [pid 1042] [client 192.168.200.45:53604] PHP Fatal error:  Uncaught Error: Call to a member function showhbar() on null in /var/www/html/glpi/plugins/mreporting/inc/common.class.php:640\\nStack trace:\\n#0 /var/www/html/glpi/plugins/mreporting/front/graph.php(42): PluginMreportingCommon->showGraph(Array)\\n#1 {main}\\n  thrown in /var/www/html/glpi/plugins/mreporting/inc/common.class.php on line 640, referer: http://192.168.200.231/glpi/plugins/mreporting/front/graph.php?short_classname=Helpdesk&f_name=reportHgbarOpenTicketNumberByCategoryAndByType&gtype=hgbar`\r\n\r\nAny idea?\r\n\r\nThanks!"}}
{"actor":{"display_login":"wellington1993"}}