Questions tagged [fatal-error]
Denotes question related to php fatal error
362
questions
38
votes
3
answers
14k
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 ...
24
votes
2
answers
38k
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\...
18
votes
7
answers
73k
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/...
15
votes
3
answers
36k
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.
12
votes
1
answer
15k
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;
...
10
votes
2
answers
11k
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 ...
9
votes
1
answer
17k
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\...
9
votes
6
answers
16k
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/...
9
votes
5
answers
21k
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....
9
votes
2
answers
6k
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 "...
8
votes
5
answers
15k
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 ...
6
votes
1
answer
8k
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
2
answers
486
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
5
answers
9k
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 ...
6
votes
6
answers
9k
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
4
answers
22k
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
2
answers
22k
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 ...
5
votes
1
answer
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
2
answers
564
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
1
answer
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
3
answers
335
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
6
answers
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
2
answers
3k
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
3
answers
6k
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
2
answers
3k
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
2
answers
2k
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
2
answers
951
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
1
answer
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
1
answer
4k
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
1
answer
707
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
2
answers
647
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
3
answers
4k
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
1
answer
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
3
answers
617
views
Full Error Message Not Truncated Magento 2 PHP Stack Trace Cutoff
Basically the same as this question: https://stackoverflow.com/questions/12356260/magento-how-to-show-full-error-message-instead-of-truncated-one but for Magento 2
I searched for this function but ...
4
votes
0
answers
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
0
answers
354
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
3
answers
25k
views
Magento 2: How to get order data in observer on success page
I'm here domain.com/checkout/onepage/success/
Calling my observer on checkout_onepage_controller_success_action
$order = $observer->getEvent()->getOrder();
echo $order->getCustomerId()
echo ...
3
votes
2
answers
4k
views
addAttributeToSelect Call to undefined method M2
I have two custom modules and am calling one collectionfactory in other module and getting `
Call to undefined method addAttributeToSelect
Collection file look like
class Collection extends \...
3
votes
1
answer
4k
views
Cannot instantiate abstract class Magento\Catalog\Block\Product\View\AbstractView
After Magento 2.1 compilation i have this error when I try to open product page in the frontend (in the backend it work):
in
/var/www/vhosts/mywebsite/httpdocs/mywebsitemarketplace/vendor/magento/...
3
votes
4
answers
6k
views
check file uploaded or not without $_FILES in Magento 2
I'm checking condition like file uploaded or not, for that I used $_FILES but as magento 2 coding standards we cannot use $_FILES.
if ($id) {
$model->load($id);
}
//if (isset($_FILES['file']) ...
3
votes
3
answers
7k
views
PHP Fatal error: Cannot redeclare __() (previously declared in /vendor/magento/framework/Phrase/__.php:15) in /app/functions.php on line 23
Hello I am facing the issue after upgrade from 2.2.6 to 2.3.0
Can you suggest what is needed to be modified?
file __.php :
<?php
declare(strict_types=1);
function __()
{
$argc = ...
3
votes
2
answers
7k
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
3
answers
272
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
2
answers
4k
views
Magento 2 : Fatal error - Cannot instantiate abstract class Magento\Wishlist\Block\AbstractBlock
Here is the screenshot of error....
And here is my Block class...
/**
* Categories slider get categories class file
*/
namespace MGS\Fewclicks_startsite_category\Block;
use Magento\Catalog\Api\...
3
votes
3
answers
11k
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
3
answers
5k
views
Magento 2 PHP Fatal error when saving custom attribute to customers
I got this error when trying to save custom data to customer,
43766 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught TypeError: Argument 2 passed to Magento\Eav\Model\Attribute\Data\...
3
votes
2
answers
959
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
2
answers
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
2
answers
2k
views
lib class not found
I am loading a custom class from the lib folder and I'm getting the following error:
Fatal error: Class 'NameSpace_MyClass' not found in /dir/to/site/app/code/local/NameSpace/Module/controllers/...
3
votes
2
answers
7k
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 ...