Restore backup to new FreePBX not working

PHP Fatal Error: Class ‘FreePBX’ not found in /var/www/html/admin/modules/xmpp/presence.php on line 12

This is the error that I get after a new install of FreePBX and loading a backup config from a FreePBX 2.10.0-28 running Asterisk Ver. 1.8.18.0 on CenOS 5.8.

I am trying to figure out the best way to migrate from my old FreePBX to the latest and greatest.

Thanks