Error: Call to undefined method Error::get(): Class 'JAdapter' not found