Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.
Already on GitHub?
to your account
With fix of #256 there is error in Tracy bar (Nette\Bridges\DatabaseTracy\ConnectionPanel)
Nette\InvalidArgumentException: Placeholder ?list expects array or Traversable object, integer given. in \vendor\nette\database\src\Database\SqlPreprocessor.php:290
By dumped data it looks that problem is with EXPLAIN statement, that not have array as parameter in added condition for IN operator:
0 => 'SELECT `id`, `use_options` FROM `user_role` WHERE (`id` IN (?))'
1 => array
0 => 2
0 => 'EXPLAIN SELECT `id`, `use_options` FROM `user_role` WHERE (`id` IN (?))'
1 => 2
The text was updated successfully, but these errors were encountered:
Fixed by f016c33 and 45a940d.
Same error described on Nette Forum.
Sorry, something went wrong.
ConnectionPanel: bypasses SqlPreprocessor for explain to avoid double…
… processing [Closes #259]
No branches or pull requests