title: Fatal error: Call to undefined function: MDB2_Driver_MYSQL::getAll()
body: <p>I am upgrading a site from Fedora 14, PHP4, and PEAR DB to Fedora 16, PHP 5.4 and PEAR MDB2 2.5.0b3, and I am getting the error </p>
  
  <blockquote>
    <p>Fatal error: Call to undefined function: MDB2_Driver_MYSQL::getAll(). in /usr/share/php/MDB2.php on line 1892</p>
  </blockquote>
  
  <p>Obviously, I've checked line 1892 of the MDB2.php file, and it contains the error reporting code for the <code>__call</code> magic method (allows you to call a specific function by passing it into <code>__call</code>)</p>
  
  <p>I have checked for usages of <code>__call</code>, and there don't seem to be any. Likewise, when I try to find where <code>MDB2_Driver_MYSQL</code> is coming from, the only place it is even mentioned is in MDB2.php (as a comment about the driver for MySQL), in the class declaration (<code>class MDB2_Driver_mysql extends MDB2_Driver_Common</code>), and the description title in the .xml file.</p>
  
  <p>I have manually included the <code>/usr/share/php/MDB2/Extended.php</code> file in the file where the <code>MDB2_Driver_mysql</code> class is defined, and that didn't help (not that this would have been a permanant fix...)</p>
  
  <p>Has anyone encountered this error, and if so, what did you do to fix it? Google has proved nearly useless, as the only place it is <a href="http://www.sitepoint.com/forums/showthread.php?462193-PEAR-MDB2-Error" rel="nofollow">specifically mentioned</a> doesn't really deal with fixing it.</p>