We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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? Sign in to your account
Version: 3.x-dev
Problem with get data from database on PHP 7.3, possible dependency with #208? Same method, another bug.
public function getRandomOfferProducts(int $count = 1): array { return $this->db->table($this->repository) ->where([ 'product.is_random_offer = ?' => 1, 'product.is_active = ?' => 1, 'is_primary = ?' => 1 ]) ->order('RAND()') ->limit($count) ->fetchAll(); }
1.) ...\vendor\nette\database\src\Database\Connection.php:185 $params | array (4) 0 => "SELECT * FROM product_product_category ORDER BY RAND() LIMIT 5" 1 => 1 2 => 1 3 => 1 -- | --
product_product_category
2.) ...\vendor\nette\database\src\Database\Connection.php:160 ... 8.) ...\nette\database\src\Database\Table\Selection.php:241
The text was updated successfully, but these errors were encountered:
SqlBuilder: fixed compatiblity with PCRE2 used in PHP 7.3 [Closes #208][
388b172
Closes #210] related to PCRE bug https://bugs.exim.org/show_bug.cgi?id=2332
3d7522b
No branches or pull requests
Version: 3.x-dev
Bug Description
Problem with get data from database on PHP 7.3, possible dependency with #208?
Same method, another bug.
Steps To Reproduce
Stack trace
1.) ...\vendor\nette\database\src\Database\Connection.php:185
$params | array (4)
0 => "SELECT * FROM
product_product_category
ORDER BY RAND() LIMIT 5"1 => 1
2 => 1
3 => 1
-- | --
2.) ...\vendor\nette\database\src\Database\Connection.php:160
...
8.) ...\nette\database\src\Database\Table\Selection.php:241
The text was updated successfully, but these errors were encountered: