Closed
Description
Short description of the issue
The following lines:
echo $page->numChildren('level.name=suave');
echo $page->numChildren('level.name=medio');
echo $page->numChildren('level.name=fuerte');
work correctly in 3.0.155, but after upgrading to 3.0.159, I'm getting the following error:
SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'WHERE (pages.parent_id=1470) AND (pages.status<1024) AND pages.templates_id IN' at line 5 (in /wire/core/WireDatabasePDO.php line 547)
- ProcessWire version: 3.0.159
- (Optional) PHP version: 7.4.6
- (Optional) MySQL version: MariaDB on latest version of Plesk, Ubuntu 18.04.1