{"action":"created","issue":{"url":"https://api.github.com/repos/Cacti/plugin_reportit/issues/72","repository_url":"https://api.github.com/repos/Cacti/plugin_reportit","labels_url":"https://api.github.com/repos/Cacti/plugin_reportit/issues/72/labels{/name}","comments_url":"https://api.github.com/repos/Cacti/plugin_reportit/issues/72/comments","events_url":"https://api.github.com/repos/Cacti/plugin_reportit/issues/72/events","html_url":"https://github.com/Cacti/plugin_reportit/issues/72","id":371292902,"node_id":"MDU6SXNzdWUzNzEyOTI5MDI=","number":72,"title":"Non well formed numeric value issued by pclzip.lib.php","user":{"login":"ikorzha","id":11211789,"node_id":"MDQ6VXNlcjExMjExNzg5","avatar_url":"https://avatars1.githubusercontent.com/u/11211789?v=4","gravatar_id":"","url":"https://api.github.com/users/ikorzha","html_url":"https://github.com/ikorzha","followers_url":"https://api.github.com/users/ikorzha/followers","following_url":"https://api.github.com/users/ikorzha/following{/other_user}","gists_url":"https://api.github.com/users/ikorzha/gists{/gist_id}","starred_url":"https://api.github.com/users/ikorzha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ikorzha/subscriptions","organizations_url":"https://api.github.com/users/ikorzha/orgs","repos_url":"https://api.github.com/users/ikorzha/repos","events_url":"https://api.github.com/users/ikorzha/events{/privacy}","received_events_url":"https://api.github.com/users/ikorzha/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-10-17T22:34:47Z","updated_at":"2018-10-17T23:05:26Z","closed_at":"2018-10-17T23:05:26Z","author_association":"NONE","body":"netniV, last item remaining when running report from command prompt:\r\nPHP Notice:  A non well formed numeric value encountered in /var/www/html/plugins/reportit/include/vendor/pclzip/pclzip.lib.php on line 1846\r\n\r\nI did some research and found I fix referenced here, I have tested the fix and it does solve the php notice errors and error in cacti log.  Can you please merge it into git development branch if allowed?\r\n\r\nhttps://github.com/Piwigo/Piwigo/issues/693\r\n\r\nCode: \r\n```diff\r\ndiff --git a/admin/include/pclzip.lib.php b/admin/include/pclzip.lib.php\r\nindex c2d09a5..3bb44d6 100644\r\n--- a/admin/include/pclzip.lib.php\r\n+++ b/admin/include/pclzip.lib.php\r\n@@ -1836,6 +1836,7 @@\r\n     $v_memory_limit = ini_get('memory_limit');\r\n     $v_memory_limit = trim($v_memory_limit);\r\n     $last = strtolower(substr($v_memory_limit, -1));\r\n+    $v_memory_limit = intval($v_memory_limit);\r\n  \r\n     if($last == 'g')\r\n```"},"comment":{"url":"https://api.github.com/repos/Cacti/plugin_reportit/issues/comments/430819519","html_url":"https://github.com/Cacti/plugin_reportit/issues/72#issuecomment-430819519","issue_url":"https://api.github.com/repos/Cacti/plugin_reportit/issues/72","id":430819519,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMDgxOTUxOQ==","user":{"login":"netniV","id":9052188,"node_id":"MDQ6VXNlcjkwNTIxODg=","avatar_url":"https://avatars0.githubusercontent.com/u/9052188?v=4","gravatar_id":"","url":"https://api.github.com/users/netniV","html_url":"https://github.com/netniV","followers_url":"https://api.github.com/users/netniV/followers","following_url":"https://api.github.com/users/netniV/following{/other_user}","gists_url":"https://api.github.com/users/netniV/gists{/gist_id}","starred_url":"https://api.github.com/users/netniV/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/netniV/subscriptions","organizations_url":"https://api.github.com/users/netniV/orgs","repos_url":"https://api.github.com/users/netniV/repos","events_url":"https://api.github.com/users/netniV/events{/privacy}","received_events_url":"https://api.github.com/users/netniV/received_events","type":"User","site_admin":false},"created_at":"2018-10-17T23:05:26Z","updated_at":"2018-10-17T23:05:26Z","author_association":"CONTRIBUTOR","body":"This has now been committed to the development code."}}
{"actor":{"display_login":"netniV"}}