-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Bug report
What I did
After following the automatic installation, when trying to create a new model (even without adding any particular filed), when saving I end up with a 500 error.
'Trying to access array offset on value of type null'
What I expected to happen
The new model to be at least saved.
What happened
Got a 500 error Trying to access array offset on value of type null
What I've already tried to fix it
Tried to simplify the new model to the bare minimum. Also, restarting Mysql or php artisan serve, as well as a composer update. No change.
Backpack, Laravel, PHP, DB version
When I run php artisan backpack:version
the output is:
PHP VERSION:
PHP 8.1.2 (cli) (built: Jan 19 2022 10:18:23) (ZTS Visual C++ 2019 x64)
Copyright (c) The PHP Group
Zend Engine v4.1.2, Copyright (c) Zend Technologies
with Xdebug v3.1.2, Copyright (c) 2002-2021, by Derick Rethans
LARAVEL VERSION:
v9.48.0@c78ae7aeb0cbcb1a205050d3592247ba07f5b711
BACKPACK PACKAGE VERSIONS:
backpack/crud: 5.0.19
backpack/pagemanager: 3.0.11
backpack/permissionmanager: 6.0.15
backpack/pro: 1.0.18
backpack/generators: v3.1.13
Operating System and Server Setup
I encountered the problem above on my Windows 10 machine, and my web server is set up using XAMPP.