dg / dibi

Dibi - smart database abstraction layer
https://dibiphp.com
Other
487 stars 136 forks source link

Return value of Dibi\Helpers::dump() must be of the type string, none returned #256

Closed milo closed 7 years ago

milo commented 7 years ago
PHP Fatal error:  Uncaught TypeError: Return value of Dibi\Helpers::dump() must be of the type string, none returned in /home/milo/bidi-monitor/vendor/dibi/dibi/src/Dibi/Helpers.php:133
Stack trace:
#0 /home/milo/bidi-monitor/vendor/dibi/dibi/src/Dibi/Connection.php(231): Dibi\Helpers::dump(' \nINSERT INTO p...')
#1 /home/milo/bidi-monitor/src/grab.php(38): Dibi\Connection->test('INSERT INTO pow...', '127.0.0.1', '1', '-20.75')
#2 {main}
  thrown in /home/milo/bidi-monitor/vendor/dibi/dibi/src/Dibi/Helpers.php on line 133

Just quick report to not forget. Can send PR later.

dg commented 7 years ago

fixed

milo commented 7 years ago

Thanks for fix. I should reconsider using the word "later".

dg commented 7 years ago

:-)