INSERT IGNORE INTO missing_images (FileName) VALUES ('/home2/reviews/public_html/images/resized/300-401-image955533491.jpg'

array(2) {
  [0]=>
  array(4) {
    ["file"]=>
    string(36) "/home2/reviews/public_html/image.php"
    ["line"]=>
    int(115)
    ["function"]=>
    string(7) "doQuery"
    ["args"]=>
    array(1) {
      [0]=>
      string(123) "INSERT IGNORE INTO missing_images (FileName) VALUES ('/home2/reviews/public_html/images/resized/300-401-image955533491.jpg'"
    }
  }
  [1]=>
  array(4) {
    ["file"]=>
    string(36) "/home2/reviews/public_html/image.php"
    ["line"]=>
    int(365)
    ["function"]=>
    string(12) "displayImage"
    ["args"]=>
    array(5) {
      [0]=>
      string(54) "image-activating-the-on-board-camera-300-600-58196.jpg"
      [1]=>
      string(68) "/home2/reviews/public_html/images/resized/300-401-image955533491.jpg"
      [2]=>
      int(0)
      [3]=>
      int(0)
      [4]=>
      string(3) "jpg"
    }
  }
}

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 '' at line 1 -