did you update your php version, in php >7.1 object keyword is reserved yii2 had a class object defined in older version which has been updated, please update your yii
update your yii
use yii\base\BaseObject;
class MysqlBackup extends BaseObject
im sorry ,im looking for answer online to find how to update yii but i cant find it, can you help me? big thanks
run composer update
and make sure to update the references to your Object
class to BaseObject
just like @oim pointed out