skip to Main Content

encountered an error and could not solve it : count(): Argument #1 ($value) must be of type Countable|array, string given – PHP Versions

I encountered the error when I try to sign in my application mede by laravel 8.41.0 and PHP 8.0.3. error TypeError count(): Argument #1 ($value) must be of type Countable|array, string given location vendor/laravel/framework/src/Illuminate/Database/Eloquent/Concerns/GuardsAttributes.php:235 file <?php namespace IlluminateDatabaseEloquentConcerns; use IlluminateSupportStr;…

VIEW QUESTION

How to prevent laravel changing folder owner – Apache

Now and then we face a destructive issue within a Laravel project: Storage log file production.ERROR: Unable to create lockable file: /var/www/html/storage/framework/cache/data/... Please ensure you have permission to creto create files in this location. #0 /var/www/html/vendor/laravel/framework/src/Illuminate/Filesystem/LockableFile.php(43) When the issue happens…

VIEW QUESTION
Back To Top
Search