title: A non-numeric value encountered PHP MYSQL opencart
body: <blockquote>
    <p>Warning: A non-numeric value encountered in
    /home/u914452720/domains/e-gilius.com/public_html/system/storagefnpzt1uybylm/modification/admin/model/catalog/manufacturer.php
    on line 349Warning: A non-numeric value encountered in
    /home/u914452720/domains/e-gilius.com/public_html/system/storagefnpzt1uybylm/modification/admin/model/catalog/manufacturer.php
    on line 349</p>
  </blockquote>
  
  <p>I get this error when I execute delete function:
  admin/controller/catalog/manufacturer_download.php</p>
  
  <pre><code>function delete(){
          // var_dump("I AM IN DELETE");
          $this-&gt;load-&gt;model('catalog/manufacturer');
          $postData = array();
          if(isset($_POST['submitdelete'])){
              //  var_dump("DELETE SUBMITTED");
              $entryID = $_POST['entryID'];// &lt;-- gotta protect from sql injection.
              //  var_dump($entryID);
              $this-&gt;model_catalog_manufacturer-&gt;deleteManufacturersDownload($entryID);
          }
      }
  </code></pre>
  
  <p>If I var_dump($entryID) it gives result: string(1) "5"</p>
  
  <p>admin/model/catalog/manufacturer.php</p>
  
  <pre><code>public function deleteManufacturersDownload($id){
          $this-&gt;db-&gt;query("DELETE FROM ". DB_PREFIX . "manufacturer_downloads WHERE id =" + "'"+$id+"'");
          return "success";
      }
  </code></pre>
  
  <p>Where I made mistake?</p>