Warning: Attempt to read property "items" on bool in /var/www/common/classes/dao/PartDao.php on line 1069
Warning: foreach() argument must be of type array|object, null given in /var/www/common/classes/dao/PartDao.php on line 1069
Fatal error: Uncaught mysqli_sql_exception: 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 ')
INNER JOIN (
...' at line 3 in /var/www/common/libraries/maximlib/mysqli/MySqliStatement.php:72
Stack trace:
#0 /var/www/common/libraries/maximlib/mysqli/MySqliStatement.php(72): mysqli->prepare()
#1 /var/www/common/classes/dao/PartDao.php(1093): MySqliStatement->execute()
#2 /var/www/common/classes/objects/Part.php(378): PartDao::getSimilarParts()
#3 /var/www/common/classes/dao/PartDao.php(28): Part->getSimilar()
#4 /var/www/common/classes/objects/Part.php(362): PartDao::getPartById()
#5 /var/www/common/classes/object_loaders/ContactObjectLoader.php(52): Part::getById()
#6 /var/www/common/classes/CommonWebpage.php(215): ContactObjectLoader->__construct()
#7 /var/www/common/classes/CommonWebpage.php(69): CommonWebpage->setWebpageAreas()
#8 /var/www/common/public_html/index.php(144): CommonWebpage->__construct()
#9 /var/www/common/public_html/index.php(395): Index->processPage()
#10 {main}
thrown in /var/www/common/libraries/maximlib/mysqli/MySqliStatement.php on line 72