Questions tagged [fatal-error]

Denotes question related to php fatal error

Filter by
Sorted by
Tagged with
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/...
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 ...
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/...
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; ...
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\...
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 ...
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 ...
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 ...
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 "...
1
vote
2answers
4k views

Fatal error: Allowed memory size of 1073741824 bytes exhausted

I've seen this error elsewhere, but the general consensus seems to be "Increase the allowed memory PHP has". Ours is already at 1GB, so I'd like to figure out (if possible) what's going wrong here. ...
0
votes
2answers
632 views

can not able to login to admin panel

I am trying to login from the admin side of my site. But it is not logging me in with the correct user-name and password provided. I cleared browser history and tried in other browsers also. It ...
0
votes
1answer
593 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
3answers
4k views

Call to a member function extend() on a non-object

Anybody know a fix for that error? Never saw this one! Fatal error: Call to a member function extend() on a non-object in /var/www/..../..../lib/Varien/Simplexml/Config.php on line 600
3
votes
2answers
209 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 ...
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\...
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 ...
0
votes
1answer
182 views

Cat banner call results in fatal error

I have the following code in a custom block that is referenced in my three column layout. To get the category banner to show at the very top of each category page. <?php $_helper = $this->...
0
votes
0answers
36 views

Magento2 : purchased Theme inside testimonial module using when add testimonial than getting error

I am using magento2 and purchased theme inside testimonial module enable after add testimonial than frontend side getting error Fatal error: Uncaught Error: Cannot instantiate abstract class ...
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/...
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() == ...
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:...
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
1answer
288 views

Fatal error: Uncaught Error: Class 'Spyc' not found in app/code/DeviceDetector/Yaml/Spyc.php

I'm facing the issue with order placing on Magento ver. 2.2.2. After completing the payment when I redirect to the website https://domainname/paypal/express/placeOrder/ page and display on that page: ...
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
170 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
229 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 '...
0
votes
1answer
1k views

Call to a member function productAttribute() on a non-object

I have set a new custom attribute called actiekorting with a value of 25% on a product. It shows perfectly in detailed product page. But when I'm trying to copy the same line on a different page (...
0
votes
1answer
264 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 ...