perftools / php-profiler

A PHP profiling library based on XHGUI Data Collector
MIT License
147 stars 26 forks source link

invalid document for insert: keys cannot contain "." #60

Closed zengmm closed 3 years ago

zengmm commented 3 years ago

PHP Fatal error: Uncaught MongoDB\Driver\Exception\InvalidArgumentException: invalid document for insert: keys cannot contain "." /vendor/mongodb/mongodb/src/Operation/InsertOne.php:103

glensc commented 3 years ago

this is fixed in xhgui 0.16:

what version of xhgui you are using? please include versions of your bug report!

zengmm commented 3 years ago

I refer to https://github.com/perftools/php-profiler#installation and https://github.com/perftools/php-profiler#mongodb-saver

glensc commented 3 years ago

Use upload saver:

or if direct access to xhgui not possible, use file saver:

glensc commented 3 years ago

However, duplicated the fix in this project as well, for now: