Carbon\Traits\Units.php:69
Looks like the new warning in PHP 7.1
Probably you have an empty SESSION_LIFETIME in the .env which cause this
warning by calling the addRealUnit($unit, $value = 1) with the $value = ""
Solution: Update the .env and set a value to SESSION_LIFETIME or remove the
SESSION_LIFETIME and the problem should be solved.
Also in PHP:
- Warning: file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages: error:
- date fromate YMD
- date method php
- base code 64 a image in php
- base64decode php
- delete all laravel cache
- centos excecutable php
- char to uppercase php
- 16 digit random password generator php code
- 1071 specified key was too long max key length is 1000 bytes ) larAVEL
- create new laravel project
- create project with laravel
- convert date to timetamp in php
- check if string contains a symbol php
- date format php l with capital
- array merge in php
- check that array key exists
- data() php
- check website ssl certificate using php openssl_x509_parse
- catch an exception within a catch block php
- ajax php form submit
- THROW EXPECTION PHP
- auto refresh page in php
- call seeder laravel