You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Uncaught TypeError: Rollbar\Payload\Person::__construct(): Argument #4 ($extra) must be of type array, App\Models\User given, called in /var/www/vendor/rollbar/rollbar/src/DataBuilder.php on line 949
#175
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
[2025-04-25 13:25:45] local.ERROR: Uncaught TypeError: Rollbar\Payload\Person::__construct(): Argument #4 ($extra) must be of type array, App\Models\User given, called in /var/www/vendor/rollbar/rollbar/src/DataBuilder.php on line 949 and defined in /var/www/vendor/rollbar/rollbar/src/Payload/Person.php:18
Stack trace:
#0 /var/www/vendor/rollbar/rollbar/src/DataBuilder.php(949): Rollbar\Payload\Person->__construct('18', NULL, '[email protected]', Object(App\Models\User))
#1 /var/www/vendor/rollbar/rollbar/src/DataBuilder.php(380): Rollbar\DataBuilder->getPerson()
#2 /var/www/vendor/rollbar/rollbar/src/Config.php(798): Rollbar\DataBuilder->makeData('error', Object(Illuminate\Database\Eloquent\ModelNotFoundException), Array)
#3 /var/www/vendor/rollbar/rollbar/src/RollbarLogger.php(433): Rollbar\Config->getRollbarData('error', Object(Illuminate\Database\Eloquent\ModelNotFoundException), Array)
#4 /var/www/vendor/rollbar/rollbar/src/RollbarLogger.php(256): Rollbar\RollbarLogger->getPayload('c04def903df748b4890e65135ff05500', 'error', Object(Illuminate\Database\Eloquent\ModelNotFoundException), Array)
#5 /var/www/vendor/rollbar/rollbar/src/Handlers/ExceptionHandler.php(27): Rollbar\RollbarLogger->report('error', Object(Illuminate\Database\Eloquent\ModelNotFoundException), Array, true)
#6 [internal function]: Rollbar\Handlers\ExceptionHandler->handle(Object(Illuminate\Database\Eloquent\ModelNotFoundException))
#7 {main}
thrown {"exception":"[object] (Symfony\\Component\\ErrorHandler\\Error\\FatalError(code: 0): Uncaught TypeError: Rollbar\\Payload\\Person::__construct(): Argument #4 ($extra) must be of type array, App\\Models\\User given, called in /var/www/vendor/rollbar/rollbar/src/DataBuilder.php on line 949 and defined in /var/www/vendor/rollbar/rollbar/src/Payload/Person.php:18
on a few occassions, I ignored it, simply assuming that it is #171, but it turned its not.
I experience the issue on rollbar/rollbar 4.1.1 and rollbar/rollbar-laravel 8.1.2.
Thanks,
Tom.
The text was updated successfully, but these errors were encountered:
@danielmorell , sorry to be a pain, but when I try to upgrade to version 8.1.3, the composer says that this version doesn't exist.
would it be related to the version 8.1.2 still being the newest on the packagist.org?
@azgooon No that's my bad. Packagist was being uncooperative the day I released 8.1.3. And I forgot to circle back later to get it sorted. You should be able to get 8.1.3 now.
Hi,
I am experiencing below error:
on a few occassions, I ignored it, simply assuming that it is #171, but it turned its not.
I experience the issue on rollbar/rollbar 4.1.1 and rollbar/rollbar-laravel 8.1.2.
Thanks,
Tom.
The text was updated successfully, but these errors were encountered: