Skip to content

Compatibility with php 7.2 #31

@Simutin32

Description

@Simutin32

PHP Compile Error 'yii\base\ErrorException' with message 'Cannot use yii\base\Object as Object because 'Object' is a special class name'

in ../vendor/frostealth/yii2-aws-s3/src/HandlerResolver.php:9

Stack trace:
#0 [internal function]: yii\base\ErrorHandler->handleFatalError()
#1 {main}

As sujesting yii2 team in upgrade note:
"For extensions that have classes extending from yii\base\Object, to be compatible with PHP 7.2, you need to require "yiisoft/yii2": "~2.0.13" in composer.json and change affected classes to extend from yii\base\BaseObject instead. It is not possible to allow Yii versions <2.0.13 and be compatible with PHP 7.2 or higher."

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions