{"action":"created","issue":{"url":"https://api.github.com/repos/laravel/framework/issues/8993","labels_url":"https://api.github.com/repos/laravel/framework/issues/8993/labels{/name}","comments_url":"https://api.github.com/repos/laravel/framework/issues/8993/comments","events_url":"https://api.github.com/repos/laravel/framework/issues/8993/events","html_url":"https://github.com/laravel/framework/issues/8993","id":84043439,"number":8993,"title":"[5.1] Maximum function nesting level of '100' reached, aborting!","user":{"login":"Sladewill","id":6969435,"avatar_url":"https://avatars.githubusercontent.com/u/6969435?v=3","gravatar_id":"","url":"https://api.github.com/users/Sladewill","html_url":"https://github.com/Sladewill","followers_url":"https://api.github.com/users/Sladewill/followers","following_url":"https://api.github.com/users/Sladewill/following{/other_user}","gists_url":"https://api.github.com/users/Sladewill/gists{/gist_id}","starred_url":"https://api.github.com/users/Sladewill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sladewill/subscriptions","organizations_url":"https://api.github.com/users/Sladewill/orgs","repos_url":"https://api.github.com/users/Sladewill/repos","events_url":"https://api.github.com/users/Sladewill/events{/privacy}","received_events_url":"https://api.github.com/users/Sladewill/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-06-02T14:14:48Z","updated_at":"2015-06-02T14:28:45Z","closed_at":"2015-06-02T14:28:40Z","body":"https://github.com/laravel/framework/blob/5.1/src/Illuminate/Database/Eloquent/Model.php#L2268\r\n\r\nIlluminate/Database/Eloquent/Model.php 2268\r\n\r\n```php\r\n/**\r\n * Determine if the model is totally guarded.\r\n *\r\n * @return bool\r\n */\r\npublic function totallyGuarded()\r\n{\r\n    return count($this->fillable) == 0 && $this->guarded == ['*'];\r\n}\r\n```\r\nWhen you call create on a Eloquent model which should be forwarded to the query builder the error `Maximum function nesting level of '100' reached, aborting!` occurs.\r\n\r\nData is just an array of data and model is just an eloquent model that gets injected into the construct.\r\n\r\n```php\r\n// create product\r\n$product = $this->model->create($data);\r\n```"},"comment":{"url":"https://api.github.com/repos/laravel/framework/issues/comments/107972968","html_url":"https://github.com/laravel/framework/issues/8993#issuecomment-107972968","issue_url":"https://api.github.com/repos/laravel/framework/issues/8993","id":107972968,"user":{"login":"franzliedke","id":249125,"avatar_url":"https://avatars.githubusercontent.com/u/249125?v=3","gravatar_id":"","url":"https://api.github.com/users/franzliedke","html_url":"https://github.com/franzliedke","followers_url":"https://api.github.com/users/franzliedke/followers","following_url":"https://api.github.com/users/franzliedke/following{/other_user}","gists_url":"https://api.github.com/users/franzliedke/gists{/gist_id}","starred_url":"https://api.github.com/users/franzliedke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/franzliedke/subscriptions","organizations_url":"https://api.github.com/users/franzliedke/orgs","repos_url":"https://api.github.com/users/franzliedke/repos","events_url":"https://api.github.com/users/franzliedke/events{/privacy}","received_events_url":"https://api.github.com/users/franzliedke/received_events","type":"User","site_admin":false},"created_at":"2015-06-02T14:28:45Z","updated_at":"2015-06-02T14:28:45Z","body":"It's the default limit, though (or it was until recently), so we may see a bunch of these reports in the next days."}}