Questions tagged [fatal-error]

Denotes question related to php fatal error

Filter by
Sorted by
Tagged with
36
votes
2answers
10k views

Magento 2 - Object manager tries to instantiate Abstract class. ( Fatal error )

Playing around with Magento 2 but run into a problem I can not wrap my head around. The object manager tries to instantiate Abstract class, this gives an Fatal Error. Does someone know what might ...
21
votes
2answers
31k 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\...
14
votes
3answers
20k views

I am getting Fatal error: Class 'IntlDateFormatter' not found in Magento2

I am getting the error Fatal error: Class 'IntlDateFormatter' not found in Magento2 after installation.
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; ...
9
votes
2answers
10k views

Magento 1.9.2 and php7 - image upload error

I'm just testing Magento 1.9.2 with Php 7. All seemed to work, but suddenly I tried to upload image for the product. I got error like below: Fatal error</b>: Uncaught Error: Function name must ...
8
votes
4answers
20k views

Magento 2.2.2 : Allowed memory size of 792723456 bytes exhausted (tried to allocate 184320 bytes)

I am working in magento 2.2.2 and when I save product It will display this error. Fatal error: Allowed memory size of 792723456 bytes exhausted (tried to allocate 184320 bytes) in /var/www/html/...
7
votes
1answer
11k views

Magento 2 Fatal Error :: Maximum Functions Nesting Level of '100' reached

I got this error after installing Magento 2 on my local machine over wamp software: Fatal error: Maximum function nesting level of ’100′ reached, aborting! in \magento2\lib\internal\Magento\...
7
votes
2answers
3k 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 "...
6
votes
1answer
5k views

Notice: unserialize(); Error at offset in Magento 2.2

This code not working in Magento 2.2, But it's working in Magento 2.1. I am facing this error Notice: unserialize(); Error at offset 0 of 168 bytes in /var/www/html/M2/app/code/Vendor/Module/Block/...
6
votes
2answers
386 views

Mage_Catalog_Model_Product_TYPE::TYPE_CONFIGURABLE vs 'configurable'

I'm working on an heavy customised magento version. Cancelling an order returned this fatal error: Mage_Catalog_Model_Product_TYPE not found on this line code: if($parent->getTypeId() == ...
6
votes
6answers
6k views

Magento 2.3.0 installation error

I am trying to install magento 2.3.0 on localhost i am getting following issue. Parse error: syntax error, unexpected '?', expecting variable (T_VARIABLE) in /var/www/html/m230/vendor/magento/...
5
votes
5answers
7k 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/...
5
votes
3answers
13k views

Uncaught TypeError: Argument 1 passed to […] must be an instance of

I have been having this issue for several weeks now and after looking through similar issues on this site and others, I still can't figure out how to solve this problem. After successfully executing ...
5
votes
4answers
6k views

getting Fatal error: Class 'IntlDateFormatter' not found in magento 2.1.8

When I deployed my magento store from local host to server then I am getting Fatal error: Class 'IntlDateFormatter' not found in vendor\magento\framework\ObjectManager\Factory\AbstractFactory....
5
votes
1answer
2k views

Fatal error: Call to a member function setArea() on a non-object in /home/hoods/public_html/app/code/core/Mage/Adminhtml/Controller/Action.php

Our website theme has been having issues with the Magento Patch 6788. The theme developers sent me their patch this morning and I went ahead and copied over the files that they provided for me. Now ...
5
votes
2answers
74 views

Fatal error on cart REST API calls: Cannot instantiate interface Magento\Framework\MessageQueue\ConfigInterface

I'm having issues on the cart page and checkout of my Magento 2.3.1 CE store. Most of the site is working totally fine but on the cart and checkout pages the shipping estimate and payment methods ...
5
votes
1answer
2k views

Fatal error: Call to a member function extend() on a non-object in /home/stevenst/public_html/upgrade/lib/Varien/Simplexml/Config.php on line 600 [closed]

I have created a clone of my original site in a subdomain. Now this is the error I keep getting. Fatal error: Call to a member function extend() on a non-object in /home/stevenst/public_html/...
5
votes
3answers
261 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 ...
4
votes
6answers
12k views

Fatal error: Uncaught Exception: can't create directory on upgrading Magento from 1.9.2 to 2.0.0

When I tried to upgrade Magento from 1.9.2 to 2.0.0 got the following error Fatal error: Uncaught exception 'Magento\Framework\Exception\LocalizedException' with message 'Can't create directory ...
4
votes
2answers
2k views

Fatal error when adding configurable product in cart and using “products subselection” in shopping cart price rules

I have this products subselection condition in a shoppng cart price rule: If ALL of these conditions are TRUE : If total amount less than 16 for a subselection of items in cart matching ALL of these ...
4
votes
3answers
4k views

How to resolve unserialize issue [closed]

My extension has stopped working since updating to Magento 2.2.0 When running di:compile we get the following error: Errors during compilation: Vendor\Module\Model\ResourceModel\...
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 ...
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 ...
4
votes
2answers
946 views

Magento 2.2.5 Fatal Error in Category and Search Page

It is a fatal error that happens when I open the search or try to open any category. I'm using magento 2.2.5 with apache 2.4 and php 7.1 Fatal error: Uncaught Error: Cannot instantiate interface ...
4
votes
2answers
570 views

Magento1 createBlock method returns “bool(false)” in livehost

I've made a module that, in my localhost works fine.. The block shows up and ok, but in "livehost" the block don't appear, so I created a controller to make some tests and see what is the problem. ...
4
votes
1answer
1k views

Magento2 Fatal error: Interface 'Iterator' not found

I am using Magento 2, when i tried to login from frontend , after submitting login this fatal error is showing Fatal error: Interface 'Iterator' not found in C:\xampp1\htdocs\magento\vendor\...
4
votes
3answers
4k views

Magento 2.2 error: Unable to unserialize value

After upgrade to the version 2.2 my modules which has serialized values does not work any more. Here is some info from the Magento 2.2 release notes: Significant enhancements in platform security ...
4
votes
1answer
3k views

Fatal error: Class 'Mage_Core_Model_App' not found in app/Mage.php on line 670

I updated from 1.9.1.1 to 1.9.2. After that first a SQL error showed up, admin panel was still working. So I decided to do: renew index management and clear cache. Then it was working again, a few ...
4
votes
1answer
633 views

Exporting products, Import/Export profiles - Fatal error: Call to undefined method Mage_Catalog_Model_Product_Type_Simple::getConfigurableAttributes()

I am trying to export all products using Magento's Import/Export profiles. However it is giving me this error: Fatal error: Call to undefined method Mage_Catalog_Model_Product_Type_Simple::...
4
votes
2answers
610 views

Fatal error: Class 'Fris_Socialbuttons_Helper_Data' not found in D:\xampp\htdocs\magento\app\Mage.php on line 547

I am trying to install Fris Social share in my Magento 1.9.3 store. I am getting the following error after installation: Fatal error: Class 'Fris_Socialbuttons_Helper_Data' not found in D:\xampp\...
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\...
4
votes
1answer
2k views

Fatal error: Call to a member function isRequired() on a non-object in app/code/core/Mage/Captcha/Model/Observer.php on line 167

I am getting a the fatal error message below appear on random occasions: Fatal error: Call to a member function isRequired() on a non-object in {SERVER_PATH}app/code/core/Mage/Captcha/Model/...
4
votes
0answers
1k views

Fatal error: Call to a member function getCode() on a non-object in Customer/Model/Session.php

I have done a multi-website setup in Magento. The second website is configured in a sub folder and is accessible using the folder name as in the URL path. Site 1 - http://192.165.3.193/ Site 2 - ...
4
votes
0answers
350 views

Magento Multistore categories giving error [closed]

This is my second store with second root category on my single magento installation. WEBSITE: main website (Code: base) MAIN WEBSITE STORE: (Root Category: Default Category) DEFAULT STORE VIEW: (Code:...
3
votes
2answers
5k views

Fatal error memory exhausted Zend Pdo

I am having an error with memory while browsing my site - my server has increased memory allocation to a large enough level (I think). Does anyone know why I'm getting these errors whilst browsing? ...
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?
3
votes
3answers
213 views

Fatal error: Class 'Mage_Inspiresettings_Helper_Data' not found Tried a lot, but still the error comes

Fatal error: Class 'Mage_Inspiresettings_Helper_Data' not found in /home/inpxcare/public_html/brandz/app/Mage.php on line 547 Currently my Data.php contains <?php class ...
3
votes
1answer
772 views

Fatal error: Uncaught Error: Call to a member function setSkipRenderTag() on boolean in Minicart.php

We have been getting this error every now and then: PHP Fatal error: Uncaught Error: Call to a member function setSkipRenderTag() on boolean in .../app/code/core/Enterprise/PageCache/Model/Container/...
3
votes
2answers
530 views

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

I am new to magento, I have a custom module for product advertising by registered user. When user check the phone check-box for adding phone number to Default Billing address (if not added the phone ...
3
votes
2answers
2k views

Error in “System > Configuration” Admin Page on Magento

Fatal error: Call to undefined method Zend_Locale::getAlias() in app/code/core/Mage/Core/Model/Locale.php on line 243 This error appears when I try to open the tab System > Configuration but also ...
3
votes
2answers
6k views

Magento Administration Configuration Page blank after upgrade to 1.9.1.0

I have seen many similar posts describing the problem I am experiencing, but I have been so far entirely unsuccessful in trying to resolve it. I recently upgraded to Magento CE 1.9.1.0, and now I get ...
3
votes
2answers
208 views

Suddenly Auth.net payments are not getting saved in Magento with a fatal error on the checkout

Suddenly, all of our Magento stores stopped saving auth.net payments. The payment would go through and show up in auth.net, but never actually saved to Magento. In the AJAX request which finishes the ...
3
votes
2answers
2k views

PHP Fatal error - Call to undefined method Magento\\Catalog\\Model\\Product\\Type\\Simple::getConfigurableAttributeCollection()

When I add a configurable product in Magento CE 2.2.3, I try to add variations. No problems so far. When I return to the product edit screen I see the variations. When I try to save the product I get ...
3
votes
2answers
3k views

Fatal error: Call to a member function getIdFieldName() on a non-object in abstract.php on line 151

Magento ver. 1.9.2.0 I have recently setup a clone staging environment of my live site for testing purposes. The backend and front-end home & other pages are loading fine. Except when I browse ...
3
votes
1answer
179 views

Fatal Error Layout.php on Frontend after staging environment setup

I have recently created a staging environment. Back-end works fine. But when I load my staging site I get the following error: Fatal error: Class 'Mage_Wishlist_Block_Customer_Sidebar' not found in ...
3
votes
1answer
340 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 ...
3
votes
1answer
68 views

Backend fatal error when making a invoice

Now that the web store is almost ready, I am investigating how the processing of orders goes. When I go to sales - orders - promotion - view, I come to the order. Then I go to invoice (at the top of ...
3
votes
1answer
170 views

Magento Fatal Error: Call to undefined function mcrypt_module_open() using WampServer

I am using Magento 1, installed on a Windows 10 php(7.2) WampServer. I tried to add this extension=php_mcrypt.dll in php.ini, but continued to receive the error. How to add extension=php_mcrypt.dll ...
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 { } ?> ...
3
votes
0answers
1k views

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

I'm trying to install Magento on the ipage server. In database connection setup stage I'm getting the error Fatal error: Call to a member function insert() on a non-object in /hermes/...