Closed cscomfort closed 4 months ago
@cscomfort are you using a custom log driver in your app.php
?
I could not reproduce this with a fresh install:
composer create-project craftcms/craft gh-10297
cd gh-10297
composer require craftcms/cms:3.7.8 -W
./craft update craft:3.7.13
./craft
Yields normal output, no error.
Closed due to inactivity.
Description
In the process of trying to update to the latest version of Craft (3.7.8 -> 3.7.26), the
craft
console command errored out withCannot use object of type craft\log\FileTarget as array
. At that point, I began updating with incremental versions -- 3.7.9, 3.7.10, and so on -- until I reached 3.7.13, at which point the error presented.Steps to reproduce
./craft update craft:3.7.13
./craft
and./craft migrate/all
)Additional troubleshooting steps
The following all resulted in the same error:
composer require craftcms/cms:3.7.13
Additional info