Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [fatal-error]

Denotes question related to php fatal error

5
votes
3answers
251 views

Fatal errors are coming after i run static-content:deploy with third party theme

I am facing some strange issues in Magento 2.1.3, i have configured third party theme and working fine, once i run setup:static-content:deploy, am getting fatal errors like i added below from core ...
2
votes
0answers
935 views

Fatal error: Uncaught exception 'Zend_Cache_Exception' with message 'cache_dir “/home/celtice1/public_html/var/cache/” is not writable' in

after i upgrade to magento 2.1.3 i see this error full Error is can someone help me to solve this issue Fatal error: Uncaught exception 'Zend_Cache_Exception' with message 'cache_dir "/home/...
1
vote
0answers
53 views

Fatal error: Class 'Mage_Inchoo_Orders_Helper_Data in Magento 1.9?

I am using inchoo order extension in magento 1.9 and it's throwing this fatal error Fatal error: Class 'Mage_Inchoo_Orders_Helper_Data' not found in /opt/lampp/htdocs/vitadeals/app/Mage.php on line ...
2
votes
1answer
217 views

PHP Fatal error: Uncaught Error: Cannot re-assign $this in ../app/code/core/Mage/Core/Block/Template.php with PHP 7.1

I'm using magento C.E. 1.9.1.0 and PHP 7.1 and I get the following error when I visit a category page: PHP Fatal error: Uncaught Error: Cannot re-assign $this in /var/www/magento/app/code/core/Mage/...
2
votes
1answer
585 views

Getting the error while viewing the order in admin Call to a member function getMethodInstance() on boolean

I am getting the below error while opening/viewing admin -> sales -> order -> view. Call to a member function getMethodInstance() on boolean in /var/www/magento/app/code/core/Mage/Payment/Model/...
0
votes
2answers
1k views

Helper Data not found - Can't access admin panel

Admin Panel only shows the following message: Fatal error: Class 'Mage_Sean_Adminmerchant_Helper_Data' not found in /home/makeyou/public_html/app/Mage.php on line 546 I deleted all files within: ...
0
votes
0answers
852 views

Getting error : Fatal error: Call to a member function setLayer() on a non-object in

I have created the category page and created some attributes for the products but when i visit the page its giving me error: Fatal error: Call to a member function setLayer() on a non-object in /home/...
2
votes
1answer
803 views

Checkout page is empty

I tried to run Magento 2.1.1 in my server but it seems that my checkout page isn't displaying anything, just header and footer. Some error is generated: Fatal error: Allowed memory size of ...
1
vote
5answers
419 views

Controller not loading Grid container Error: Class 'Mage_Reviewmycompany_Helper_Data

I have created a custom module one part is working fine that is adminform now i have create a grid to show all the data saved in database. But all i get is blank page. Here is my grid.php file: <?...
1
vote
1answer
77 views

Fatal error on Magento shop only to some users

Some users in our shop are reporting a Fatal error that prevent them to access it. The error is: Fatal error: Class 'Wyomind_Notificationmanager_Model_Resource_Setup' not found in /home/yokkao5/...
1
vote
1answer
240 views

How to fix “Fatal error: Class 'Mage_Catalog_Block_Product_Abstract' not found” after restoring backup of Magento installation?

After some issues in a webshop which I'm managing technically, I did a restore of a backup from the files. The backup was only one week old and worked well previously. I removed all the files from ...
0
votes
1answer
426 views

Controller override issue Magento 2

I am trying to override customer/account/editpost controller. I am getting error Recoverable Error: Argument 1 passed to Magento\Customer\Controller\Account\EditPost::__construct() must be an ...
1
vote
2answers
3k views

How to get customer details in checkout_onepage_controller_success_action observer

I am creating an observer where I want to change group id of customer after placing an order. I am getting this error: Fatal error: Call to a member function getCustomerId() on null in C:\xampp\...
0
votes
1answer
246 views

Magento 1.9 after clearing layout cache now have white screen

Ever since i cleared the layout cache in magento my website now has a blank white screen i've tried to find the error by adding the following in my index.php file but returns nothing. ini_set('...
1
vote
0answers
441 views

Error in downloader

I'm getting this fatal error on the download page of my webshop: Fatal error: Undefined class constant 'DEFAULT_SCONFIG_FILENAME' in /downloader/Maged/Connect.php on line 167 I'm unable to find out ...
0
votes
1answer
702 views

Fatal error: Call to a member function getAttributeText() on string

Fatal error: Call to a member function getAttributeText() on string in/opt/lampp/htdocs/magento2_new/Sourcecode/app/design/frontend/Emthemes/em0150jewelry/jewelry/Magento_Catalog/templates/product/...
1
vote
1answer
68 views

Help!!! Http 500 error

My magento site suddenly stopped opening and is throwing an http 500 error. After activating diplay errors in my index.php file the site shows: Fatal error: Class 'Mage_Core_Model_Session_Abstract' ...
2
votes
2answers
231 views

Magento 2: Getting unknown error on Reviews tab on product details page

I'm getting this error suddenly on Reviews tab on product details page as: Fatal error: Uncaught exception 'Exception' with message 'Recoverable Error: Argument 1 passed to ...
0
votes
2answers
2k views

PHP Fatal error: Class 'Aschroder_SMTPPro_Model_Mysql4_Setup' not found

I have a similar problem. My compiler was turned on and I did the installation. Now, getting error 500 and log file shows this error [21-Sep-2016 01:25:37 UTC] PHP Fatal error: Class '...
1
vote
2answers
255 views

__construct() argument error when overriding 2 custom modules from same core module

I get the __construct() argument error while trying to override 2 custom modules from same core class as: In etc/di - Module1 <preference for="Magento\CatalogSearch\Controller\Result\Index" type="...
0
votes
1answer
929 views

Call to member function error - please help!

I am trying to fix an error with an extension. The error appears when you are in admin and changing a customer's password. The new password does get saved in the database, but the page throws this ...
4
votes
2answers
2k views

setup:di:compile error because of duplicated class of data-migration-tool

I'm running into following fatal error when trying to execute the setup:di:compile command: Fatal error: Cannot declare class Migration\Step\Version11410to2000Test, because the name is already in ...
1
vote
1answer
733 views

Fatal error Call to a member function insert() on boolean:Magento

I am facing an error during the checkout process when I select a payment method and press the button continue to next step to place order its an error as follows: Fatal error Call to a member ...
0
votes
1answer
28 views

Fatal error after updating template, skin, layout and default in 1.8 CE

I'm in serious need of help ASAP. I have numerous stores set up inside a Magento install, and they're all (including the Magento admin) resulting in the following error: Fatal error: Call to a member ...
1
vote
0answers
57 views

There has been an error processing your request, can't click on products

I'm getting this error when I click on any product in my magento store - There has been an error processing your request Invalid method Mage_Catalog_Block_Product_View_Type_Simple::...
4
votes
2answers
14k views

how to change magento order status programatically?

I'm using magento 1.9 and I have to change the order status from shipped to delivered, both status having the same state "complete" How can I able to change this? I have tried following code $order ...
1
vote
0answers
184 views

Magento 2 Admin Menu Fatal Error

I'm using Magento 2 CE Version 2.1.0 Sometimes it gives below kind of error Fatal error: Call to a member function getId() on null in {folder path}\magento2\vendor\magento\module-backend\Block\...
1
vote
1answer
890 views

sales_order_shipment_track_save_after get order ID

I want to integrate sms trigger on sales_order_shipment_track_save_after event. I have created a custom module and the trigger is being called but I am not able to get orderid from shipment. Following ...
1
vote
1answer
2k views

Magento 2: Fatal error: Call to a member function getUsername() on null in

While developing in Magento 2 after a while i get the following error: Fatal error: Call to a member function getUsername() on null in /home/magento2/domains/../public_html/magento2/vendor/magento/...
0
votes
1answer
556 views

Fatal Error on Controller Accessing Session

I am trying to access the session so I can redirect if the user is not logged in. Used what should be correct, from several sources: protected $_session; public function __construct(\Magento\...
0
votes
2answers
86 views

Error occurs when I try to observer order status change in magento

An error occurs when I try to observer order status change in Magento: Uncaught exception 'Mage_Core_Exception' with message 'Mage registry key "_singleton/" already exists' in app\Mage.php:595 Stack ...
1
vote
2answers
47 views

Error on User Role Management

I got this Fatal Error whenever I go to System > Permissions > Roles and Click any Role. Fatal error: Class 'Mage_Magentix_Fee_Helper_Data' not found in /public_html/app/Mage.php on line 547 but I ...
1
vote
1answer
1k views

Unable to search orders in admin order Grid by custom column(s) created

I had created 4 custom fields for the Order: pgs_order_website_names pgs_aramex_reference pgs_aramex_shipped pgs_aramex_shipped_date I had copied Grid.php to local/Mage/ class ...
3
votes
3answers
5k views

Class Mage not found in Magento 2

I'm new to Magento 2. Fatal error: Class 'Mage' not found in \vendor\magento\module-theme\view\base\templates\root.phtml on line 23 Can anybody tell me how to solve this?
0
votes
1answer
1k views

PHP Fatal error: Call to a member function getOptions() on a non-object [closed]

I get this message: PHP Fatal error: Call to a member function getOptions() on a non-object in /M2ePro/Model/Amazon/Listing/Product.php on line 299. The code on line 299 is: $options = $...
2
votes
2answers
1k views

Memory size exhausted when switching store views [closed]

I have a problem with memory size exhausted error. Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 16384 bytes) in /...../public_html/lib/Zend/Db/Statement/Pdo.php ...
11
votes
1answer
9k views

Cannot declare interface , because the name is already in use

After creating a simple interface in my new module. I typed in bin/magento setup:di:compile, and I get an error saying that the name is already in use. Here is my code: namespace Company\Test\Api; ...
0
votes
1answer
2k views

Declaration of … must be compatible with

I have this module enabled, and when I try to run setup:di:compile I get this error Fatal error: Declaration of Mirasvit\Helpdesk\Ui\Component\DataProvider\FulltextFilter::apply() must be compatible ...
1
vote
1answer
554 views

Magento Error after I deleted Cache and session files

I am giving up finding a solution to my problem and hence I came here to get help from you experts. I had my website smoothly running on Magento 2.0.0 until four days ago when I just wanted to speed ...
0
votes
1answer
243 views

Magento2 developer mode and fatal errors

Magento2 is set in developer mode (deploy:mode:set developer and checked env.php file) but it is showing a HTTP ERROR 500 page isn't working screen. Only if I add this to the index: error_reporting(...
0
votes
1answer
600 views

Fatal error: Allowed memory size on php 5.6.3 [duplicate]

initially good, but some time suddenly appear a message Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 36 bytes) in D:\xampp\htdocs\celebescomputer\app\code\...
0
votes
0answers
51 views

Site breaks when trying to disable cache on dev site

My dev site is an exact clone of my live site (barring the local.xml file to make the dev site talk to the cloned database), hosted under a separate domain name on the same web server. When I try to ...
0
votes
0answers
76 views

Custom Module Fatal error: Call to a member function toOptionArray() on a non-object

Fatal error: Call to a member function toOptionArray() on a non-object in /home/myName/public_html/app/code/core/Mage/Adminhtml/Block/System/Config/Form.php on line 463 I've looked at numerous sites ...
2
votes
2answers
4k views

fatal error : call to a member function toHtml() on boolean

fatal error : call to a member function toHtml() on boolean in D:\Projects\Php\Dev6\app\code\community\Foo\Bar\controllers\Adminhtml\BazController.php on line 140 Here is my code : <?php ...
1
vote
1answer
630 views

Magento 1: Cron fatal error in app/code/core/Mage/Cron/Model/Observer.php

One of my client's CRON daemon recently started sending those errors: PHP Fatal error: Call to a member function addFieldToFilter() on a non-object in /app/code/core/Mage/Cron/Model/Observer....
1
vote
2answers
199 views

Fatal error: Class 'StackExchange_Checkout_Helper_Data'

I followed @Marius answer here it worked fine in one site, in another site below error once i go to System > configuration > Sales > checkout , Fatal error: Class '...
0
votes
1answer
273 views

Error when rewriting classes: call to member function on non-object

Pre I'm trying to do a very basic rewrite just to see if I can make it work. Unfortunately, no matter what class I rewrite I get fatal errors somewhere in magento. This is my code for trying to ...
0
votes
1answer
612 views

Mage registry key “original_include_path” already exists

I'm trying to fix the error Fatal error: Call to a member function getBackend() on a non-object in Abstract line 514 Because i cant enter my manage customers in the backend I did a trace and it ...
0
votes
3answers
1k views

Fatal error: Call to undefined method Mage_Tm_Googlemap_Helper_Data

Fatal error: Call to undefined method Mage_Tm_Googlemap_Helper_Data::__() in /home/mypetshop/public_html/app/code/core/Mage/Admin/Model/Roles.php on line 160 I get this error when I try to Add ...
0
votes
1answer
385 views

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

we are facing fatal error in cart page as Fatal error: Call to a member function isVirtual() on a non-object in : return $this->getConfig()->isEnabled() && !$this->getProduct()-&...