cancel
Showing results for 
Search instead for 
Did you mean: 

fatal error error on all admin pages

fatal error error on all admin pages

Hi all, getting an error on the bottom of  all admin pages, (which i think is also behind an issue with creating magento attribute values)

 

Fatal error: Call to a member function getAllowedLocales() on a non-object in /public_html/app/code/core/Mage/Core/Model/Locale.php on line 418

 

Can anyone shed any light?

22 REPLIES 22

Re: fatal error error on all admin pages

Hi @adibranch,

 

Which version of Magento are you using?

You've mentioned Magento2 but the error message show a Magento1 path.

Re: fatal error error on all admin pages

sorry, yes you're right it seems its magento 1.9. I'd just assumed it was v2 but obviously couldnt see by glancing as the footer is missing.

Re: fatal error error on all admin pages

@adibranch,

 

Can you check (and share) you system.log, excpetion.log and webserver error log too?

Also, can you disable third-party modules?

I can't imagine which out-of-the-box module or parameter can generate that error so I guess that there is something with your server or custom modules.

Re: fatal error error on all admin pages

Also, we need a Moderator to move this post to Magento 1 forum.

Re: fatal error error on all admin pages

Hi, most errors in there relate to a payment plugin, and seem unrelated.

 

2017-01-03T17:35:36+00:00 ERR (3): 
exception 'Exception' with message 'String could not be parsed as XML' in /home/bison/public_html/app/code/local/Ebizmarts/SagePaySuite/Model/Feed/Updates.php:35
Stack trace:
#0 /home/bison/public_html/app/code/local/Ebizmarts/SagePaySuite/Model/Feed/Updates.php(35): SimpleXMLElement->__construct('<html>\r\n<head><...')
#1 /home/bison/public_html/app/code/local/Ebizmarts/SagePaySuite/Model/Feed/Updates.php(106): Ebizmarts_SagePaySuite_Model_Feed_Updates->getFeedData('http://store.eb...')
#2 /home/bison/public_html/app/code/local/Ebizmarts/SagePaySuite/Model/Feed/Updates.php(95): Ebizmarts_SagePaySuite_Model_Feed_Updates->_getUpdates('Ebizmarts_Globa...')
#3 /home/bison/public_html/app/code/core/Mage/Core/Model/App.php(1338): Ebizmarts_SagePaySuite_Model_Feed_Updates->check(Object(Varien_Event_Observer))
#4 /home/bison/public_html/app/code/core/Mage/Core/Model/App.php(1311): Mage_Core_Model_App->_callObserverMethod(Object(Ebizmarts_SagePaySuite_Model_Feed_Updates), 'check', Object(Varien_Event_Observer))
#5 /home/bison/public_html/app/Mage.php(448): Mage_Core_Model_App->dispatchEvent('controller_acti...', Array)
#6 /home/bison/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(531): Mage::dispatchEvent('controller_acti...', Array)
#7 /home/bison/public_html/app/code/core/Mage/Adminhtml/Controller/Action.php(160): Mage_Core_Controller_Varien_Action->preDispatch()
#8 /home/bison/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(407): Mage_Adminhtml_Controller_Action->preDispatch()
#9 /home/bison/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('index')
#10 /home/bison/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#11 /home/bison/public_html/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
#12 /home/bison/public_html/app/Mage.php(684): Mage_Core_Model_App->run(Array)
#13 /home/bison/public_html/index.php(87): Mage::run('', 'store')
#14 {main}
2017-01-03T17:35:36+00:00 ERR (3): 
exception 'Exception' with message 'String could not be parsed as XML' in /home/bison/public_html/app/code/local/Ebizmarts/SagePaySuite/Model/Feed/Updates.php:35
Stack trace:
#0 /home/bison/public_html/app/code/local/Ebizmarts/SagePaySuite/Model/Feed/Updates.php(35): SimpleXMLElement->__construct('<html>\r\n<head><...')
#1 /home/bison/public_html/app/code/local/Ebizmarts/SagePaySuite/Model/Feed/Updates.php(106): Ebizmarts_SagePaySuite_Model_Feed_Updates->getFeedData('http://store.eb...')
#2 /home/bison/public_html/app/code/local/Ebizmarts/SagePaySuite/Model/Feed/Updates.php(95): Ebizmarts_SagePaySuite_Model_Feed_Updates->_getUpdates('Ebizmarts_SageP...')
#3 /home/bison/public_html/app/code/core/Mage/Core/Model/App.php(1338): Ebizmarts_SagePaySuite_Model_Feed_Updates->check(Object(Varien_Event_Observer))
#4 /home/bison/public_html/app/code/core/Mage/Core/Model/App.php(1311): Mage_Core_Model_App->_callObserverMethod(Object(Ebizmarts_SagePaySuite_Model_Feed_Updates), 'check', Object(Varien_Event_Observer))
#5 /home/bison/public_html/app/Mage.php(448): Mage_Core_Model_App->dispatchEvent('controller_acti...', Array)
#6 /home/bison/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(531): Mage::dispatchEvent('controller_acti...', Array)
#7 /home/bison/public_html/app/code/core/Mage/Adminhtml/Controller/Action.php(160): Mage_Core_Controller_Varien_Action->preDispatch()
#8 /home/bison/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(407): Mage_Adminhtml_Controller_Action->preDispatch()
#9 /home/bison/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('index')
#10 /home/bison/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#11 /home/bison/public_html/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
#12 /home/bison/public_html/app/Mage.php(684): Mage_Core_Model_App->run(Array)
#13 /home/bison/public_html/index.php(87): Mage::run('', 'store')
#14 {main}

 

 

2017-01-03T17:35:22+00:00 ERR (3): Notice: Undefined variable: gc  in /home/bison/public_html/app/design/frontend/ultimo/default/template/catalog/product/list_featured_slider.phtml on line 219
2017-01-03T17:35:22+00:00 ERR (3): Notice: Undefined variable: gc  in /home/bison/public_html/app/design/frontend/ultimo/default/template/catalog/product/list_featured_slider.phtml on line 219
2017-01-03T17:35:22+00:00 ERR (3): Notice: Undefined variable: gc  in /home/bison/public_html/app/design/frontend/ultimo/default/template/catalog/product/list_featured_slider.phtml on line 219
2017-01-03T17:35:22+00:00 ERR (3): Notice: Undefined variable: gc  in /home/bison/public_html/app/design/frontend/ultimo/default/template/catalog/product/list_featured_slider.phtml on line 219
2017-01-03T17:35:22+00:00 ERR (3): Notice: Undefined variable: gc  in /home/bison/public_html/app/design/frontend/ultimo/default/template/catalog/product/list_featured_slider.phtml on line 219
2017-01-03T17:35:22+00:00 ERR (3): Notice: Undefined variable: gc  in /home/bison/public_html/app/design/frontend/ultimo/default/template/catalog/product/list_featured_slider.phtml on line 219
2017-01-03T17:35:22+00:00 ERR (3): Notice: Undefined variable: gc  in /home/bison/public_html/app/design/frontend/ultimo/default/template/catalog/product/list_featured_slider.phtml on line 219
2017-01-03T17:35:22+00:00 ERR (3): Notice: Undefined variable: gc  in /home/bison/public_html/app/design/frontend/ultimo/default/template/catalog/product/list_featured_slider.phtml on line 219
2017-01-03T17:35:22+00:00 ERR (3): Notice: Undefined variable: gc  in /home/bison/public_html/app/design/frontend/ultimo/default/template/catalog/product/list_featured_slider.phtml on line 219
2017-01-03T17:35:22+00:00 ERR (3): Notice: Undefined variable: gc  in /home/bison/public_html/app/design/frontend/ultimo/default/template/catalog/product/list_featured_slider.phtml on line 219
2017-01-03T17:35:22+00:00 ERR (3): Notice: Undefined variable: gc  in /home/bison/public_html/app/design/frontend/ultimo/default/template/catalog/product/list_featured_slider.phtml on line 219
2017-01-03T17:35:22+00:00 ERR (3): Notice: Undefined variable: gc  in /home/bison/public_html/app/design/frontend/ultimo/default/template/catalog/product/list_featured_slider.phtml on line 219
2017-01-03T17:35:22+00:00 ERR (3): Notice: Undefined variable: gc  in /home/bison/public_html/app/design/frontend/ultimo/default/template/catalog/product/list_featured_slider.phtml on line 219
2017-01-03T17:35:22+00:00 ERR (3): Notice: Undefined variable: gc  in /home/bison/public_html/app/design/frontend/ultimo/default/template/catalog/product/list_featured_slider.phtml on line 219
2017-01-03T17:35:22+00:00 ERR (3): Notice: Undefined variable: gc  in /home/bison/public_html/app/design/frontend/ultimo/default/template/catalog/product/list_featured_slider.phtml on line 219
2017-01-03T17:35:22+00:00 ERR (3): Notice: Undefined variable: gc  in /home/bison/public_html/app/design/frontend/ultimo/default/template/catalog/product/list_featured_slider.phtml on line 219
2017-01-03T17:35:36+00:00 ERR (3): Warning: SimpleXMLElement::__construct(): Entity: line 6: parser error : Opening and ending tag mismatch: hr line 5 and body  in /home/bison/public_html/app/code/local/Ebizmarts/SagePaySuite/Model/Feed/Updates.php on line 35
2017-01-03T17:35:36+00:00 ERR (3): Warning: SimpleXMLElement::__construct(): &lt;/body&gt;  in /home/bison/public_html/app/code/local/Ebizmarts/SagePaySuite/Model/Feed/Updates.php on line 35
2017-01-03T17:35:36+00:00 ERR (3): Warning: SimpleXMLElement::__construct():        ^  in /home/bison/public_html/app/code/local/Ebizmarts/SagePaySuite/Model/Feed/Updates.php on line 35
2017-01-03T17:35:36+00:00 ERR (3): Warning: SimpleXMLElement::__construct(): Entity: line 7: parser error : Opening and ending tag mismatch: body line 3 and html  in /home/bison/public_html/app/code/local/Ebizmarts/SagePaySuite/Model/Feed/Updates.php on line 35
2017-01-03T17:35:36+00:00 ERR (3): Warning: SimpleXMLElement::__construct(): &lt;/html&gt;  in /home/bison/public_html/app/code/local/Ebizmarts/SagePaySuite/Model/Feed/Updates.php on line 35
2017-01-03T17:35:36+00:00 ERR (3): Warning: SimpleXMLElement::__construct():        ^  in /home/bison/public_html/app/code/local/Ebizmarts/SagePaySuite/Model/Feed/Updates.php on line 35
2017-01-03T17:35:36+00:00 ERR (3): Warning: SimpleXMLElement::__construct(): Entity: line 7: parser error : Premature end of data in tag html line 1  in /home/bison/public_html/app/code/local/Ebizmarts/SagePaySuite/Model/Feed/Updates.php on line 35
2017-01-03T17:35:36+00:00 ERR (3): Warning: SimpleXMLElement::__construct(): &lt;/html&gt;  in /home/bison/public_html/app/code/local/Ebizmarts/SagePaySuite/Model/Feed/Updates.php on line 35
2017-01-03T17:35:36+00:00 ERR (3): Warning: SimpleXMLElement::__construct():        ^  in /home/bison/public_html/app/code/local/Ebizmarts/SagePaySuite/Model/Feed/Updates.php on line 35
2017-01-03T17:35:36+00:00 ERR (3): Warning: SimpleXMLElement::__construct(): Entity: line 6: parser error : Opening and ending tag mismatch: hr line 5 and body  in /home/bison/public_html/app/code/local/Ebizmarts/SagePaySuite/Model/Feed/Updates.php on line 35
2017-01-03T17:35:36+00:00 ERR (3): Warning: SimpleXMLElement::__construct(): &lt;/body&gt;  in /home/bison/public_html/app/code/local/Ebizmarts/SagePaySuite/Model/Feed/Updates.php on line 35
2017-01-03T17:35:36+00:00 ERR (3): Warning: SimpleXMLElement::__construct():        ^  in /home/bison/public_html/app/code/local/Ebizmarts/SagePaySuite/Model/Feed/Updates.php on line 35
2017-01-03T17:35:36+00:00 ERR (3): Warning: SimpleXMLElement::__construct(): Entity: line 7: parser error : Opening and ending tag mismatch: body line 3 and html  in /home/bison/public_html/app/code/local/Ebizmarts/SagePaySuite/Model/Feed/Updates.php on line 35
2017-01-03T17:35:36+00:00 ERR (3): Warning: SimpleXMLElement::__construct(): &lt;/html&gt;  in /home/bison/public_html/app/code/local/Ebizmarts/SagePaySuite/Model/Feed/Updates.php on line 35
2017-01-03T17:35:36+00:00 ERR (3): Warning: SimpleXMLElement::__construct():        ^  in /home/bison/public_html/app/code/local/Ebizmarts/SagePaySuite/Model/Feed/Updates.php on line 35
2017-01-03T17:35:36+00:00 ERR (3): Warning: SimpleXMLElement::__construct(): Entity: line 7: parser error : Premature end of data in tag html line 1  in /home/bison/public_html/app/code/local/Ebizmarts/SagePaySuite/Model/Feed/Updates.php on line 35
2017-01-03T17:35:36+00:00 ERR (3): Warning: SimpleXMLElement::__construct(): &lt;/html&gt;  in /home/bison/public_html/app/code/local/Ebizmarts/SagePaySuite/Model/Feed/Updates.php on line 35
2017-01-03T17:35:36+00:00 ERR (3): Warning: SimpleXMLElement::__construct():        ^  in /home/bison/public_html/app/code/local/Ebizmarts/SagePaySuite/Model/Feed/Updates.php on line 35

 

Re: fatal error error on all admin pages

@adibranch,

 

Can you make a test changing the design to RWD and disabling modules from local pool? It seems that you have some issue with some module (or maybe the ultimo theme).

Re: fatal error error on all admin pages

hi Damian, i've disabled added modules by renaming the xml file, and still the error was there.

Am i likely to lose any settings etc in the current theme by switching to the RWD theme?

Re: fatal error error on all admin pages

@adibranch,

 

Basically you're having 2 errors:

 

1) The ultimo theme has an undefined variable (that's why I've asked you to change the theme)

 

2) It seems that Ebizmarts_SagePaySuite has a problem loading a feed. I recommend you to ask them into their forums. They have an awesome support: https://ebizmarts.com/forums

 

You said that you "disabled added modules by renaming the xml file". Which xml file did you renamed?

Re: fatal error error on all admin pages

Any ones that weren't standard.