PHP throwing error over static property that doesn't exist
<p>I'm changing around some code in my project and PHP is throwing a very weird error about class property that no longer exists. The following is the error message:</p>

<blockquote>
  <p>Message: Undefined property: stdClass::$limit<br>
  File: C:\xampp\htdocs\site\Classes\model.php<br>
  Line: 48</p>
</blockquote>

<p>And here's most of the method that's throwing the error, with line 48 marked:</p>

<pre><code>$this-&gt;st-&gt;execute();
$this-&gt;st-&gt;setFetchMode(PDO::FETCH_OBJ);

if($row = $this-&gt;st-&gt;fetch()) {
    return $max - $row-&gt;limit; // line 48
}

return $max;
</code></pre>

<p><code>Config::$limit</code> used to exist, but I got rid of it when I made changes to the code. I've verified through a number of text editors that the code above is the real code saved in the PHP file, so it's not my text editor on the fritz.</p>

<p>What could be causing this?</p>
