thedevdojo / voyager

Voyager - The Missing Laravel Admin
https://voyager.devdojo.com
MIT License
11.77k stars 2.67k forks source link

Deprecation warning for json_decode() for MenutItem model #5737

Closed marcomertenslv closed 1 year ago

marcomertenslv commented 1 year ago

Laravel version

9.52.0

PHP version

8.2.3

Voyager version

1.6.0

Database

MySQL 8.0

Description

json_decode(): Passing null to parameter #1 ($json) of type string is deprecated in ... vendor/tcg/voyager/src/Models/MenuItem.php on line 93

Steps to reproduce

Setup voyager with Laravel 9, Valet and PHP 8.2. Have a look at tail -f storage/logs/php-deprecation-warnings.log

Expected behavior

The log file should contain deprecation warnings

Screenshots

No response

Additional context

No response

BaraoVlask commented 1 year ago

Same problem here

u01jmg3 commented 1 year ago

Dupe of #5603

github-actions[bot] commented 1 year ago

This issue has been automatically locked since there has not been any recent activity after it was closed. If you have further questions please ask in our Slack group.