简体   繁体   中英

Showing error even after deleting the file: Laravel 5.5

I'am getting this eror upon running

php artisan tail

[2018-01-02 05:51:27] local.ERROR: date() expects at least 1 parameter, 0 given {"exception":"[object] (ErrorException(code: 0): date() expects at least 1 parameter, 0 given at /var/www/html/laravel55api/database/factories/PostFactory.php:11)

even after deleting the file containing this error.

I tried clearing cache and config using artisan command.

But none solved the issue.

In the log file i have checked the time.

[2018-01-02 09:05:41] local.INFO: Listing products [2018-01-02 09:06:22] local.INFO: Listing products [2018-01-02 09:10:38] local.INFO: Listing products

It's justing showing the previous errors in the log.That's all.Something else is blocking my view in browser.

In laravel 5.5. version, they are keeping daily log.

cd storage/logs then run

tail -f laravel.log

will shows the last log

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM