Uncaught TemplumTemplateError

PDOStatement::execute(): 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 `StatsName` = 'C.212-100M'' at line 1 (file: /home/weaponsyst/domains/weaponsystems.net/public_html/oopTest/views/weaponsystem.tpl, line 92)

An uncaught TemplumTemplateError was thrown on line 341 of file templum_php5.php that prevented further execution of this request.

Where it happened:


Stack trace:

File Line Class Function Arguments
TemplumTemplate errorHandler integer , string , string , integer , array
variantsstats.class.php 92 PDOStatement execute
templum_php5.php(306) : eval()'d code 152 Variantsstats getStatsArray
templum_php5.php 306 eval NULL
weaponsystem.controller.php 40 TemplumTemplate render array
index.php 40 weaponsystemController show