title: Deprecated: Non-static method SmartyPaginate::connect() should not be called statically
body: <p>I am using SmartyPaginate plugin for SMARTY Template and its throwing 6-7 errors of same type from this very plugin. All error came up when I upgraded to PHP 7. Although I can disable error showing but I would really like to resolve that permanently.</p>
  
  <p>Deprecated: Non-static method SmartyPaginate::getCurrentIndex() should not be called statically in libs\plugins\function.paginate_prev.php on line 58</p>
  
  <p>Codes that are throwing errors.</p>
  
  <pre><code>if (SmartyPaginate::getCurrentIndex($_id) === false) {
      $smarty-&gt;trigger_error("paginate_prev: total was not set");
      return;        
  }
  </code></pre>