Skip to content

Array to string conversion at yii\mongodb/LogBuilder line 38 #396

@ngbsoft

Description

@ngbsoft

public function generateToken($namespace, $data = []) { if (is_array($namespace)) { $namespace = implode('.', $namespace); } return $namespace . '(' . $this->encodeData($data) . ')'; }

I know it is not really an error but this line
$namespace = implode('.', $namespace);
=> break my app.

Just to let you guys know
PHP Warning
Array to string conversion
2
yii\base\ErrorException

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions