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
in my case i change file /vendor/trntv/yii2-command-bus/src/middlewares/BackgroundCommandMiddleware.php use yii\base\Object; to use yii\base\BaseObject; and class BackgroundCommandMiddleware extends Object implements Middleware to ; class BackgroundCommandMiddleware extends BaseObject implements Middleware