Skip to content

Debugger: PHP error "implicit conversion from float" #356

@squio

Description

@squio

What steps will reproduce the problem?

Make sure the debug tab is enabled in development mode
On a page where a mongodb query runs, open the MongoDB query debug tab

What's expected?

The tab opens and shows the query details

What do you get instead?

A PHP error:

PHP Deprecated Warning – [yii\base\ErrorException](https://www.yiiframework.com/doc-2.0/yii-base-errorexception.html) Implicit conversion from float 1684451026.313708 to int loses precision 

Additional info

Q A
Yii version 2.0.47
Yii MongoDB version 3.0.0
MongoDB server version 6
PHP version 8.2.4
Operating system Mac OS

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions