Questions tagged [fatal-error]

Denotes question related to php fatal error

Filter by
Sorted by
Tagged with
1 vote
1 answer
761 views

Fatal error: Call to a member function collect() on a non-object in app/code/core/Mage/Sales/Model/Quote/Address.php on line 1013

we are getting this error in frontend of the site. Fatal error: Call to a member function collect() on a non-object in /var/www/html/sitenanme/app/code/core/Mage/Sales/Model/Quote/Address.php on line ...
Baby in Magento's user avatar
1 vote
2 answers
5k views

How to debug a Fatal error: Call to a member function setTitle() on a non-object

I'm getting a "Fatal error: Call to a member function setTitle() on a non-object in /home/www/public_html/app/code/core/Mage/Customer/Block/Form/Login.php on line 40" The particular line contains: ...
Stefan's user avatar
  • 1,487
1 vote
1 answer
297 views

Getting an error message when trying to create an account or login

We are getting the error message you see below. This happens when trying to login or create a new account. Does anyone know a fix for this? Fatal error: Call to a member function setMessageBody(...
Tam's user avatar
  • 11
1 vote
1 answer
699 views

Magento 1.9.1: Fatal error: Call to a member function setLinkModel() on a non-object

When I try to see in the backend "Product Information"/"Related Products" I see this error: Fatal error: Call to a member function setLinkModel() on a non-object in /XXXXXXXXXX/app/code/core/Mage/...
Fausto's user avatar
  • 13
1 vote
1 answer
3k views

New Template: Call to a member function getSource() on a non-object in /var/www/app/code/core/Mage/Catalog/Model/Product.php on line 1390

I recently installed a new template: MT Bejewelry, and this error comes out in the product page. These are the lines on the php file. /** * Get attribute text by its code * * @param $...
gioiello's user avatar
1 vote
2 answers
92 views

PHP Fatal error after layered navigation is activated

I would like to activate layered navigation in our multi-store magento 1.7. As soon as I activate it in a category, the following exception appears in the error-log: `Call to a member function ...
JoZeff's user avatar
  • 33
1 vote
1 answer
615 views

Fatal Error Message Received

I loaded up our site to take a look at it but it is coming up blank. I made some modifications the the index.php file to show the error and this is what I've received: Fatal error: Method ...
Ang's user avatar
  • 95
1 vote
1 answer
4k views

Fix for Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry?

I last logged in 2 days ago and everything is fine but I went to my site today and my admin page is showing: Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[23000]: Integrity ...
Shane's user avatar
  • 81
1 vote
1 answer
775 views

PHP Fatal error: Call to a member function validate() on boolean

i am getting server error in magento 1.7 PHP Fatal error: Call to a member function validate() on boolean in app/code/core/Mage/Paypal/Model/Standard.php on line 137 How to solve this error.
Avinash Pandey's user avatar
1 vote
0 answers
19 views

fatal error: bms_class_helper_data not found

I created a custom module and its gives a error "fatal error: bms_class_helper_data not found " after that i removed the complete module, layout file and data enabler file and database, but ...
vinaysirige's user avatar
1 vote
1 answer
256 views

Magento 1.9 - Payment Gateway Success page empty or error

Error : PHP Fatal error: Call to a member function getMethodInstance() on boolean in /home/error/public_html/app/code/core/Mage/Payment/Helper/Data.php on line 119 I am using Paytm & Payubiz ...
Gem's user avatar
  • 669
1 vote
3 answers
1k views

Magento 2: Showing error on production mode

I'm facing an issue like errors are show on PRODUCTION mode, how can this be possible. Anyone have any idea how can this be resolved?
Mandar Parbate's user avatar
1 vote
2 answers
2k views

Magento 2.3.4 error after setup:upgrade command

Fatal error: Uncaught ReflectionException: Class Magento\Framework\App\ResourceConnection\Proxy does not exist in /var/www/html/magento2/vendor/magento/framework/Code/Reader/ClassReader.php:26 Stack ...
maya5510's user avatar
1 vote
2 answers
41 views

I am getting fatal error helper data not found

Fatal error: Uncaught Error: Class 'Bms_Banners_Helper_Data' not found in /var/www/html/app/Mage.php:547 But there is no Bms_Banners module please help
vinaysirige's user avatar
1 vote
0 answers
59 views

Issue in Extenction attribute ::setCode()

Fatal Error: 'Uncaught Error: Call to undefined method** SimplifiedMagento\\Database\\Api\\Data\\AffiliateMemberExtension::setCode() in \/var\/www\/html\/Magento2\/app\/code\/SimplifiedMagento\/...
Vivek's user avatar
  • 168
1 vote
1 answer
694 views

When I add a new custom Customer attribute I get Fatal Error on click save or submit button

I manage to add my custom customer attribute with InstallData on my custom module it appears everything is working fine, but when i try save or edit customer in front end or admin panel, when i click ...
Kristian Mijares's user avatar
1 vote
1 answer
60 views

Fatal error... Can sombody help me

if ($generator !== null) { $this->tryToLoadSourceClass($className, $generator); if (!($file = $generator->generate())) { $errors = $generator->getErrors(); ...
Furtuna Abel's user avatar
1 vote
1 answer
418 views

Magento 2 Uncaught TypeError: Argument 1 [...] \DataSetup::__construct() [...] must be an instance [...]

I have an Ubuntu Server 18.04 with PHP 7.0.33 and a working Magento 2.1.7 installation with a working (up to yesterday) module for credit card payment after adding some new modules, compiling and ...
fabio.ivona's user avatar
1 vote
0 answers
65 views

Magento2.3 how to add custom option of product when create order programatically? [duplicate]

I am using Magento2.3 I need to how to add custom option of product when create order programmatically? I used below code for add custom option to product but it is not working $product = $om->...
Rv Singh's user avatar
  • 1,617
1 vote
0 answers
164 views

Magento 1.9.3.1 Uncaught Error: Class 'Magento_Db_Adapter_Pdo_Mysql' not found

I am getting error frontend and backend both side Fatal error: Uncaught Error: Class 'Magento_Db_Adapter_Pdo_Mysql' not found in /app/code/core/Mage/Core/Model/Resource.php:175 Stack trace: #0 /...
Vinod Kumar's user avatar
  • 2,045
1 vote
0 answers
36 views

Product view does not work after the search results page. Magento2

When I go to the product view through the catalog view page after that it's works when i go to from search result, but if i don't open product view trough catalog view, when i go from search ...
Robinio's user avatar
  • 771
1 vote
2 answers
57 views

Get blank screen

I rewrite info.phtml but when I open my order view info tab it shows blank page. <preference for="Magento\Sales\Block\Adminhtml\Order\View\Tab\Info" type="Aalogics\TrainingVoucher\Block\Adminhtml\...
3434's user avatar
  • 203
1 vote
0 answers
354 views

Magento 2.3 Fatal error: '\self' is an invalid class name

I'm getting the following error on Magento 2.3: Fatal error: '\self' is an invalid class name in /private/var/www/xxx/generated/code/Magento/Indexer/Model/Indexer/DependencyDecorator/Interceptor....
user76932's user avatar
1 vote
1 answer
525 views

search not working - Fatal error - magento 2

My website is in Magento ver. 2.2.3 early my search functionality was working properly ..but no idea suddenly from last week i am getting below error message ... Fatal error: Uncaught Error: Call ...
user3209031's user avatar
1 vote
1 answer
1k 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: ...
Narayan's user avatar
  • 119
1 vote
0 answers
57 views

Magento 2 Category Search id issue

I have getting some error display in console but category search page is working properly and this error comes every time in console if any one know regarding this error reply me.
Rv Singh's user avatar
  • 1,617
1 vote
0 answers
102 views

Magento 1.9 fatal error Mage_Configurableswatches_Helper_Productimg' not found

i faced with a Fatal error: Class 'Mage_Configurableswatches_Helper_Productimg' not found in /app/Mage.php on line 547 while flushing the swatch image cache. Please let me know how to fix this issue?
Narayan's user avatar
  • 119
1 vote
2 answers
1k views

Upgrade Magento 2.2.3 to 2.2.4

I tried updating from magento 2.2.3 to 2.2.4 using the web setup wizard. However the upgrade finishes with a fatal error. I login to my admin and it shows that it is 2.2.4 however when I go to the ...
James Tsai's user avatar
1 vote
0 answers
3k views

magento 2- website showing: We're sorry, an error has occurred while generating this content

i haven't opened my website backend since two days and today when i went to frnt page www.xxxxxx.com it showed me a single line content We're sorry, an error has occurred while generating this ...
Laiba's user avatar
  • 63
1 vote
1 answer
5k views

Fatal error: Maximum function nesting level of '256' reached, aborting! in app/code/core/Mage/Core/Model/Config.php on line 596

Magento ver. 1.9.2.1 Getting fatal error while setup magento project on localhost. Localhost config: PHP 5.6.33-3+ubuntu16.04.1+deb.sury.org+1 (cli) mysql Ver 14.14 Distrib 5.7.11 apache
Pranav Murari's user avatar
1 vote
1 answer
778 views

Fatal Error - Magento update 2.1.2 --> 2.2.2 Manual Update (overwrite files) Fatal error: Uncaught Error: Cannot instantiate interface

Trying to update Magento 2.1.2 to 2.2.2. Having major issues. Tried updating via the admin area SYSTEM UPGRADE. Just hangs forever. Double checked the memory allocation with the host and it's set to ...
girdy's user avatar
  • 11
1 vote
0 answers
929 views

"Fatal error: Uncaught TypeError: Argument 1 passed to [...]::__construct() must be an instance of [...]" after (re-)compile

So I've inherited this weirdly behaving (and horribly tinkered) shop containing some external product and customer import scripts. One of these scripts ('importcustomer_fields.php', located in the ...
Christoph Farnleitner's user avatar
1 vote
0 answers
619 views

Magento 2 Constructor returns Fatal error: Uncaught TypeError. How to resolve?

<?php namespace Module\Name\Controller\Index; class Myclass extends \Magento\Framework\App\Action\Action { protected $formKey; protected $cart; protected $product; public function ...
Ramesh KR's user avatar
  • 866
1 vote
1 answer
106 views

Can't login it shows fatel error [closed]

When we try to login to admin it shows fatal error. So is there any solution for this problem? Fatal error: Access to undeclared static property: Mage::$_isDeveloperMode in /home/mominaslib/...
Shahbaz's user avatar
  • 11
1 vote
0 answers
131 views

How to debug in magento 2?

I'm new to magento and it's really difficult for me to debug codes if something went wrong. What are the best, free tools that we can use to speedup debugging, track the errors, find the exact point ...
P S's user avatar
  • 1,983
1 vote
0 answers
388 views

How to see all the observers currently registered?

I'm facing a problem in which I have created an observer as follows: <?php namespace Magento\SamplePaymentGateway\Observer; use Magento\Framework\Event\Observer; use Magento\Framework\Event\...
P S's user avatar
  • 1,983
1 vote
1 answer
2k views

Magento 2 - PHP fatal error

I ran into problem that no bin/magento commands are not working. I don't know what happened, because before everything was working fine. Whenever I run a command console outputs this: PHP Fatal ...
Rihards Repels's user avatar
1 vote
0 answers
77 views

cant make pdf invoice when in production mode

When in development mode I can create pdf invoices just fine but when in production mode I get an error. Under sales > Invoices I'm clicking the "Print" button to get a pdf of a invoice (see link) ...
Mike's user avatar
  • 21
1 vote
2 answers
975 views

After rewrite Magento\Customer\Model\AccountManagement giving me fatal error

I have successfully rewrite Magento\Customer\Model\AccountManagement using preference but after enabling paypal express its giving me error like below, on checkout and cart page. <?xml version="1....
Chirag Prajapati's user avatar
1 vote
0 answers
874 views

Magento 2 Fatal error: Uncaught Error: Cannot instantiate interface on catalog/product pages and widgets

Recently we've started experiencing issues on any pages that pull data from the catalog or individual products. I'm not quite sure what the cause of this change was, as everything was working fine ...
codestr's user avatar
  • 505
1 vote
0 answers
305 views

Magento 2 include wp-load.php from WordPress?

I've got a WordPress website with Magento in a sub-folder for the store functionality I'm trying to include wp-load.php from WordPress into Magento so that I have access to use some of the WordPress ...
lky's user avatar
  • 797
1 vote
2 answers
2k views

Magento - Fatal error: call to a member function getid() on null in app/code/core/Mage/Catalog/Model/Product/Type/Configurable.php on line this line

I am exporting related images data from CWS Extensions extension and I am getting an error by this line. public function getConfigurableAttributesAsArray($product = null) { $res = array(); ...
Muhammad Afzal's user avatar
1 vote
0 answers
220 views

Fatal error: Call to a member function toOptionArray() on boolean in [closed]

I have this issue in my Magento 1.9.0.1, when I try to go into Shipping methods I'm getting this message: Fatal error: Call to a member function toOptionArray() on boolean in /app/code/core/Mage/...
Elvis Demirovic's user avatar
1 vote
0 answers
56 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 ...
Ramkishan Suthar's user avatar
1 vote
1 answer
90 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/...
d3viliz3d's user avatar
1 vote
1 answer
327 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 ...
Coding Monkey's user avatar
1 vote
0 answers
478 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 ...
user3478148's user avatar
1 vote
1 answer
94 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' ...
Henry's user avatar
  • 51
1 vote
0 answers
80 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::...
Lan's user avatar
  • 21
1 vote
0 answers
231 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\...
Jackson's user avatar
  • 9,889

1 2 3
4
5
8