Questions tagged [fatal-error]

Denotes question related to php fatal error

Filter by
Sorted by
Tagged with
2
votes
2answers
266 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
329 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
1k 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
978 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
65 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
18k 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
211 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
1k 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
3k 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
701 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
92 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
53 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
8k 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
2k 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 on ...
12
votes
1answer
11k 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; ...
1
vote
1answer
4k 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
619 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
293 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
737 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
55 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
80 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
5k 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
681 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
205 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
487 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
688 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
2k 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
448 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()->...
3
votes
1answer
3k views

Magento 2 : Getting an error “syntax error, unexpected 'Abstract' (T_ABSTRACT)”

I have create 2 files as below : Namespace/Module/Model/Test.php <?php namespace Namespace\Module\Model; use Namespace\Module\Model\Payment\Method\Abstract; class Test extends Abstract { } ?> ...
0
votes
2answers
1k views

Magento 1.x site gives me an error message about Fatal error

I get this when I go to my site: Fatal error: Call to a member function children() on a non-object in app/code/core/Mage/Core/Model/Config.php on line 946 I have done anything on it today. May I ...
3
votes
1answer
352 views

Magento2 not picking up module's Block

I got this error: Fatal error: Call to a member function getPrice() on null in /home/.../public_html/vendor/magento/module-checkout/Block/Shipping/Price.php on line 71 So, after reading this ...
0
votes
1answer
68 views

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

If I press manage customers on the Magento backend I get this fatal error. Does anyone knows a fix for this? Fatal error: Call to a member function getBackend() on a non-object in /home/vhosts/...
4
votes
3answers
3k views

setup:upgrade is throwing error

When I try to do a setup upgrade using the below command, it throws a PHP Fatal Error: $ sudo bin/magento setup:upgrade PHP Fatal error: Uncaught TypeError: Argument 1 passed to Magento\Framework\...
2
votes
4answers
449 views

Error Call to a member function get ProductName () Error in configurable products

I have a little big problem. After the migration of the catalog for a new store in a "clean" installation of Magento I started to have problems with configurable products. When you select an option ...
0
votes
1answer
171 views

Magento getUpSellProducts fatal error

I'm trying to display upsell products on product page by getting upSellCollection as such: $_product = Mage::registry('current_product')->getId(); $upsell_product = $_product->...
9
votes
6answers
12k views

Magento 2.0.2 installation, fatal error: DOMDocument

I am trying to install Magento 2.0.2 on a GoDaddy "Ultimate Linux Hosting with cPanel" server. When I open the page I am given this error: Fatal error: Class 'DOMDocument' not found in /home/intx/...
24
votes
2answers
36k views

How can solve error Magento 1.xx on PHP 7? [duplicate]

Magento 1.9.4 not run with PHP 7, it showing error as below: Fatal error: Uncaught Error: Function name must be a string in app\code\core\Mage\Core\Model\Layout.php:555 Stack trace: #0 app\code\...
9
votes
2answers
4k views

Magento 2 Full Page Cache not working

Whenver I turn on FPC(Full Page Cache) feature in my Magento CE 2.0.2 site (doesn't matter if default theme or custom theme is running.) and when I open the Homepage of this site, then it gives "...
0
votes
3answers
3k views

Magento2 interface error

I do not understand what this error is and how it was produced ? I think it happend after I set up SetEnv MAGE_PROFILER "html" and after that I removed that line from the .htaccess file. And ...
0
votes
1answer
270 views

Magento Admin thrown error after applying SUPEE 7405 security patch

When i open admin url, I see this error Fatal error: Call to a member function getUsername() on a non-object in /app/design/adminhtml/default/default/template/page/header.phtml on line 33 Any ...
1
vote
2answers
78 views

** Error 503: Need help

I was adding a new magento extension to our website. After the install, this error happened. The website and admin panel is now unusable. We need to get our website back up ASAP. Why did this error ...
0
votes
2answers
39 views

Parse syntax error when accessing CMS->Pages inside admin

I am getting the following PHP fatal error and blank white screen when trying to access the CMS >Pages page inside admin: Parse error: syntax error, unexpected '%' in Mage/Adminhtml/...
0
votes
1answer
698 views

Fatal error - Call to a member function count

I wish to copy this content : app\design\frontend\base\default\template\catalog\navigation\left.phtl <?php if (!Mage::registry('current_category')) return ?> <?php $_categories = $this->...
0
votes
1answer
180 views

Fatal error in cart page after redirecting https to http

I have this problem : redirect https to http for catalog & Product pages so I followed this link : https://www.designhaven.co.uk/2013/06/redirecting-secure-https-non-secure-http-magento/ for ...
0
votes
3answers
254 views

Fatal error: Class 'Mage_Themeframework_Helper_Theme' not found in app/mage.php

For debugging our site , in app/etc/local.xml we set : <disable_local_modules>true</disable_local_modules> but now we are getting this error : Fatal error: Class '...

1
3 4
5
6 7