PHP Fatal Error in Magento ver. 1.9.2.1 - php

I keep having this problem flood by error_log:
PHP Fatal error: Call to a member function getRequestedRouteName() on a non-object in /home/bullion/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php on line 226
Here is the code snippet from lines 224-229
public function getFullActionName($delimiter='_')
{
return $this->getRequest()->getRequestedRouteName().$delimiter.
$this->getRequest()->getRequestedControllerName().$delimiter.
$this->getRequest()->getRequestedActionName();
}
Thank you in advance for your help!

Related

Fatal error: Call to undefined function description_site()

I'm having the following problem:
Fatal error: Call to undefined function description_site() in
C:\AppServ\www\host\includes\site_header.php on line 11
I go to the line. I do not have experience in modifying wrong?
The error in the following line
$template->rep_template('{description}',description_site());
Picture of the problem to be clarified more
Thanks in advance

Fatal error: Call to a member function getMethodInstance() on a non-object in magento

I am integrating magento payumoney gateway.I am using payumoney extension available on payumoney website.But it's through this error
Fatal error: Call to a member function getMethodInstance() on a non-object in D:\xampp\htdocs\build\store\app\code\core\Mage\Payment\Model\Observer.php on line 46
on this url
http://localhost/build/store/index.php/payucheckout/shared/redirect/
for this I follow this https://magento.stackexchange.com/questions/31517/magento-fatal-error-call-to-a-member-function-getmethodinstance-on-a-non-obje
but can't understand what going on.
my website observer code
$order = $observer->getEvent()->getOrder();
if ($order->getPayment()->getMethodInstance()->getCode() != 'free') {
return $this;
}
to remove this error i have update my magento from old version to new please help to find out.

"Invalid config field backend model: adminhtml/system_config_backend_secure" Error

I have apparently done a sloppy upgrade to Magento 1.4.2.
At first, I was getting this error:
Fatal error: Call to a member function toOptionArray() on a non-object in /home/rrmusicc/public_html/app/code/core/Mage/Adminhtml/Block/System/Config/Form.php on line 385.
I found a solution for this in a forum so I applied that fix, now I'm getting this error:
Invalid config field backend model: adminhtml/system_config_backend_secure
Any ideas?

Error : Call to a member function getAllOptions() on a non-object when upgraded magento from 1.5 to 1.7

I had magento site which was based on community edition 1.5 when i upgraded it to 1.7 the error came up : "Call to a member function getAllOptions() on a non-object..."
Have tried almost every solution but couldn't make it working.
The full error-message is:
Call to a member function getAllOptions() on a non-object in /site-path/app/code/core/Mage/Core/Model/Cache.php on line 434
Is your webshop using Aitoc Extensions ?
http://www.magentocommerce.com/boards/viewthread/279027/
You need to re-install or upgrade the extensions but what you can do in the meanwhile is:
comment App/Mage.php line 198
//self::$_appRoot = null;
Because this line is called on:
app/code/core/Mage/Core/Model/Config/Options.php line 54:
Hope it helps!
Fatal error: Call to a member function getAllOptions() on a
non-object. In the file app/code/core/Mage/Core/Model/Cache.php.
comment App/Mage.php line 198
//self::$_appRoot = null;

cakePHP: sporadic occurrence of "Call to a member function allow() on a non-object"

when I call a specifical controller-script of my Web-Application I sporadically get the following error:
Fatal error: Call to a member function allow() on a non-object in /srv/www/vhost/app/Controller/myController.php on line 11
Line 11 contains
$this->Auth->allow(array('get'));
Anyone an idea what this may cause?
Regards,
~MxAgent
Problem fixed. It was a caching-problem due to server doesn't support APC.

Categories