{"action":"created","issue":{"url":"https://api.github.com/repos/HDInnovations/UNIT3D/issues/464","repository_url":"https://api.github.com/repos/HDInnovations/UNIT3D","labels_url":"https://api.github.com/repos/HDInnovations/UNIT3D/issues/464/labels{/name}","comments_url":"https://api.github.com/repos/HDInnovations/UNIT3D/issues/464/comments","events_url":"https://api.github.com/repos/HDInnovations/UNIT3D/issues/464/events","html_url":"https://github.com/HDInnovations/UNIT3D/issues/464","id":386558506,"node_id":"MDU6SXNzdWUzODY1NTg1MDY=","number":464,"title":"IDE-Helper Meta nesting level of '256'","user":{"login":"tntsoft","id":5844176,"node_id":"MDQ6VXNlcjU4NDQxNzY=","avatar_url":"https://avatars3.githubusercontent.com/u/5844176?v=4","gravatar_id":"","url":"https://api.github.com/users/tntsoft","html_url":"https://github.com/tntsoft","followers_url":"https://api.github.com/users/tntsoft/followers","following_url":"https://api.github.com/users/tntsoft/following{/other_user}","gists_url":"https://api.github.com/users/tntsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/tntsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tntsoft/subscriptions","organizations_url":"https://api.github.com/users/tntsoft/orgs","repos_url":"https://api.github.com/users/tntsoft/repos","events_url":"https://api.github.com/users/tntsoft/events{/privacy}","received_events_url":"https://api.github.com/users/tntsoft/received_events","type":"User","site_admin":false},"labels":[{"id":1025223461,"node_id":"MDU6TGFiZWwxMDI1MjIzNDYx","url":"https://api.github.com/repos/HDInnovations/UNIT3D/labels/Automation","name":"Automation","color":"faffa3","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-12-02T13:13:10Z","updated_at":"2018-12-05T18:23:43Z","closed_at":null,"author_association":"NONE","body":"### Issue Type\r\n- [x] Bug Report\r\n\r\n### End User Info\r\n-- UNIT3D Version: Latest (unit3d.php says codebase version 1.8.8)\r\n\r\n-- Laravel Version: 2.0.1\r\n\r\n-- PHP Version: 7.2.12\r\n\r\n-- Database Driver & Version: MySQL 10.1.36-MariaDB\r\n\r\n-- Web Server Driver & Version: Xampp 7.2.12\r\n\r\n-- OS Driver and Version: Windows 10\r\n\r\n\r\n### Expected Behavior:\r\nShould construct a meta file to help with IDE auto complete.\r\n\r\n### Actual Behavior:\r\nphp artisan ide-helper:meta\r\n`Symfony\\Component\\Debug\\Exception\\FatalThrowableError  : Maximum function nesting level of '256' reached, aborting!\r\n\r\n  at C:\\xampp\\htdocs\\Tracker\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Container.php: 745\r\n  741:      * @return string|null\r\n  742:      */\r\n  743:     protected function findInContextualBindings($abstract)\r\n  744:     {\r\n  745:         if (isset($this->contextual[end($this->buildStack)][$abstract])) {\r\n  746:             return $this->contextual[end($this->buildStack)][$abstract];\r\n  747:         }\r\n  748:     }\r\n  749:\r\n  750:     /**\r\n\r\n  Exception trace:\r\n\r\n  1   end([])\r\n      C:\\xampp\\htdocs\\Tracker\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Container.php : 745\r\n\r\n  2   Illuminate\\Container\\Container::findInContextualBindings(\"Infinety\\Config\\Repository\")\r\n      C:\\xampp\\htdocs\\Tracker\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Container.php : 719\r\n\r\n  Please use the argument -v to see more details.`\r\n   \r\n\r\n### Steps To Reproduce The Problem:\r\n1. composer require barryvdh/laravel-ide-helper\r\n2. php artisan ide-helper:meta\r\n\r\n\r\n### Possible Fix:\r\nIt's probably because of a @OneToMany or @ManyToMany DB relationship that goes in an infinite loop. I looked for the issue but couldn't find it, I'm asking for the teams help as you know the code base the best!\r\n\r\nThanks in advance."},"comment":{"url":"https://api.github.com/repos/HDInnovations/UNIT3D/issues/comments/444589714","html_url":"https://github.com/HDInnovations/UNIT3D/issues/464#issuecomment-444589714","issue_url":"https://api.github.com/repos/HDInnovations/UNIT3D/issues/464","id":444589714,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NDU4OTcxNA==","user":{"login":"MrG01","id":13038237,"node_id":"MDQ6VXNlcjEzMDM4MjM3","avatar_url":"https://avatars1.githubusercontent.com/u/13038237?v=4","gravatar_id":"","url":"https://api.github.com/users/MrG01","html_url":"https://github.com/MrG01","followers_url":"https://api.github.com/users/MrG01/followers","following_url":"https://api.github.com/users/MrG01/following{/other_user}","gists_url":"https://api.github.com/users/MrG01/gists{/gist_id}","starred_url":"https://api.github.com/users/MrG01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrG01/subscriptions","organizations_url":"https://api.github.com/users/MrG01/orgs","repos_url":"https://api.github.com/users/MrG01/repos","events_url":"https://api.github.com/users/MrG01/events{/privacy}","received_events_url":"https://api.github.com/users/MrG01/received_events","type":"User","site_admin":false},"created_at":"2018-12-05T18:23:43Z","updated_at":"2018-12-05T18:23:43Z","author_association":"COLLABORATOR","body":"Hi,\r\n\r\nCould you please check what your \"memory_limit\" is, according to your php config?\r\n\r\nAccording to my testing, there seems to be two issues at play:\r\n1. The config manager as previously referenced, \r\n2. Amount of Ram php has access too.\r\n\r\nBased on my testing, due to the vast number of classes that the command loops through, the amount of ram needed to run `php artisan ide-helper:meta` is around 1G. \r\n\r\nMy tests involved running the commands in configurations of 2G, 1G and 512MB respectively, in which only the last configuration gave me `php fatal error: memory allocation` error.\r\n\r\nTherefore I am of the opinion that you temporarily need to raise the limit to run this command."}}
{"actor":{"display_login":"MrG01"}}