I just bougth a stronger pc, installed composer and wanted to continue my project on it but when I use gii it give me this error.
How can I fix it ? Why am I getting it ? Th
solved. since 2.0.13, the class name Object is invalid since PHP 7.2, use [[BaseObject]] instead. So in the vendor/yiisoft/yii2-gii/CodeFile.php just had to change Object to BaseObject.