Call to a member function getOptions() on a non-object in magento

It very simple.

Please the following files and folders need their permissions with 777

/var/.htaccess
/app/etc
/var