[英]Argument 2 passed to Symfony\Component\HttpFoundation\Cookie::__construct() must be of the type string or null, array given
[英]Laravel 7 adminLTE Argument 1 passed::__construct() must be of the type array, null given
我嘗試為 Laravel 7 安裝和使用 adminLTE 3。
我有這個錯誤:
Argument 1 passed to JeroenNoten\LaravelAdminLte\AdminLte::__construct() must be of the type array, null given, called in /Applications/MAMP/htdocs/hedrinenew/vendor/jeroennoten/laravel-adminlte/src/AdminLteServiceProvider.php on line 23 (View: /Applications/MAMP/htdocs/hedrinenew/resources/views/adminlte.blade.php)
我按照此頁面的說明進行操作: https://github.com/jeroennoten/Laravel-AdminLTE
這不是我第一次安裝和使用 adminLTE,但這是我第一次遇到問題。
使用此代碼解決的問題:
php artisan config:clear
php artisan cache:clear
php artisan config:cache
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.