Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [fatal-error]

Denotes question related to php fatal error

3
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 - ...
2
votes
0answers
126 views

Magento2.2 PHP Fatar Error in config:show

I casually run php bin/magento config:show and it showed me the following PHP Fatal Error, but I don't have a clue, because the site works ok. ........ analytics/subscription/enabled - 1 PHP Fatal ...
2
votes
0answers
920 views

Fatal error: Uncaught exception 'Zend_Cache_Exception' with message 'cache_dir “/home/celtice1/public_html/var/cache/” is not writable' in

after i upgrade to magento 2.1.3 i see this error full Error is can someone help me to solve this issue Fatal error: Uncaught exception 'Zend_Cache_Exception' with message 'cache_dir "/home/...
2
votes
0answers
663 views

Fatal error: Uncaught exception 'Exception' with message 'Serialization of 'Mage_Core_Model_Config_Element' is not allowed'

I was trying to build a custom payment extension for magento. I noticed when I click "Place Order", I got this error from network tab. I tried testing with all cache disabled and enabled. Also I'm not ...
1
vote
0answers
35 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 /...
1
vote
0answers
21 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 ...
1
vote
0answers
86 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....
1
vote
0answers
45 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.
1
vote
0answers
54 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?
1
vote
0answers
993 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 ...
1
vote
0answers
345 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 ...
1
vote
0answers
376 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 ...
1
vote
0answers
62 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 ...
1
vote
0answers
149 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\...
1
vote
0answers
56 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) ...
1
vote
0answers
759 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 ...
1
vote
0answers
142 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 ...
1
vote
0answers
52 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 ...
1
vote
0answers
434 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 ...
1
vote
0answers
56 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::...
1
vote
0answers
181 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
0answers
168 views

Patch SUPEE-5994 broken Varien_Autoload

I have been going through all patches and applying them in order of oldest to recent, where relevant in regards to 1.7.0.2. I could not apply SUPEE-5994 as the shell triggered numerous errors (I ...
1
vote
0answers
695 views

Fatal error: Call to undefined method Mage_Catalog_Model_Resource_Category_Flat::getProductsPosition()

I have enabled flat catalog in the magento admin. When i want to post image and hyperlink to website from facebook it cause fatal error Fatal error: Call to undefined method ...
1
vote
0answers
256 views

How do I resolve unknown error?

I was editing config > web settings trying to fix an error that only happens in safari, and my fiddling, lack of experience/knowledge, trial and error approach all lead to the white screen of death ...
0
votes
0answers
18 views

Email not sending in magento 2

i'm using Kiwicommerce enhanced SMTP extension. when order is placed it'll automaticalaly get redirected to cart page. Fatal error: Uncaught Error: Call to undefined method Magento\Framework\Mail\...
0
votes
0answers
22 views

Fatal error: Class 'GT_Speed_Helper_Data' not found

I am trying to install the GT speed extension in magento 1.9.3. It is working fine on staging server but on live it is giving : Fatal error: Class 'GT_Speed_Helper_Data' not found in I have ...
0
votes
0answers
37 views

Product view page is blank , Magento 2

From the search result page when you go to the product view, it shows a blank page (product view), and from the category view it all shows normally, who can help, why this is so?
0
votes
0answers
35 views

Magento 2 + docker setup getting error of Redis

I have tried to set up one source in the local environment with docker image but getting an issue like below Fatal error: Uncaught CredisException: Connection to Redis failed after 2 failures....
0
votes
0answers
193 views

Magento 2 Fatal error: Uncaught Error: Call to undefined method Magento\Framework\Session\SaveHandler\Native::write()

I've been getting this error when I tried to access my project: Fatal error: Uncaught Error: Call to undefined method Magento\Framework\Session\SaveHandler\Native::write() in C:\xampp\htdocs\...
0
votes
0answers
32 views

Magento 2.3 instalation error

I'm getting following error while installing magento2.3 PHP Fatal error: Class 'Zend\Stdlib\Glob' not found in vendor/magento/framework/Filesystem/Glob.php on line 14 PHP Version 7.2.14 DB- 10....
0
votes
0answers
303 views

Magento 2.3 Fatal error: Uncaught Error: Call to undefined function mime_content_type()

Fatal error: Uncaught Error: Call to undefined function mime_content_type() in when trying to upload image from admin blocks. Please check screenshot
0
votes
0answers
31 views

unable to add/edit product on magento 1.9.2 after update

When I tried to add/edit products error msg shows "Fatal error: Call to a member function getUploaderConfig() on boolean in /home/elizona/public_html/includes/src/...
0
votes
0answers
23 views

getting error after run compilation magento 1!

I am getting below error after run compilation process on the website: Fatal error: Uncaught Error: Class 'Mage_ThemeOptionsBizarre_Helper_Data' not found in /var/www/example/app/Mage.php:547 ...
0
votes
0answers
106 views

How to solve this Fatal error: Interface 'Magento\Framework\Event\ObserverInterface' not found in magento 2.1?

When I go to Magento admin,it shows fatal error. This is the screenshot of my error Please guide me how to get rid of this.
0
votes
0answers
357 views

Fatal error: FileIterator contains 1 abstract method must therefore be declared abstract or implement the remaining methods

I need to add a custom shipping method. I was fallowging this tutorial: https://www.mageplaza.com/devdocs/magento-2-create-shipping-method/ I am receiving this error: Fatal error: Class Magento\...
0
votes
0answers
74 views

Magento 1.9: Password Reset giving Fatal Error

When customer enter email and press button this error comes Fatal error: Class 'Mage_Adminhtml_Model_System_Config_Source_Customer_Forgotpassword' not found in /home/public_html/app/code/...
0
votes
0answers
62 views

Magento2 fatal error on 2.2.2

I occasionally get the below error on our live website. Fatal error: Class Magento\Framework\Session\SaveHandler contains 3 abstract methods and must therefore be declared abstract or implement ...
0
votes
0answers
35 views

Fatal error: Call to a member function getCookieShouldBeReceived() on a non-object in Action.php on line 496

I am getting the following error in Google Search Console when I am fetching the website as Google: Fatal error: Call to a member function getCookieShouldBeReceived() on a non-object in app/code/...
0
votes
0answers
133 views

How to Solve this call to member function issue

I have upgraded my site from 2.1.6 to 2.2.4. I have got the below error while I am doing setup: upgrade command. PHP Fatal error: Uncaught Error: Call to undefined method Magento\Framework\Setup\...
0
votes
0answers
40 views

Creating new form in Magento 2 always getting error

I have created a custom module, it has a grid and also should have an add new button, the grid is working but the add new button is giving me errors. Below is given NewAction.php inside ...
0
votes
0answers
19 views

Getting issue randomly on visiting some pages in magento 2.2.0?

When I am visiting some pages(like customer login page) then getting the issue randomly. Error: ( ! ) Fatal error: Maximum function nesting level of '10000' reached, aborting! in /vendor/...
0
votes
0answers
448 views

Fatal Error in magento 2.2.2

I am using Magento 2.2.2 with the theme. Initially, everything worked fine. Suddenly it shows the error. Fatal error: Uncaught Error: Call to a member function unserialize() on null in /var/www/html/...
0
votes
0answers
114 views

Magento 2 : Uncaught Error: Class 'Mage_Customlogo_Helper_Data' not found

I just installed a new magento theme and I got this error: Uncaught Error: Class 'Mage_Customlogo_Helper_Data' not found in /var/www/unilinxx.com/public_html/magento/app/Mage.php:547 So I opened ...
0
votes
0answers
322 views

Fatal error: Uncaught Error: Cannot instantiate interface - LowestPriceOptionsProviderInterface

I moved fully working Magento 2 to a different host (same server settings) and now I'm getting following error: Fatal error: Uncaught Error: Cannot instantiate interface Magento\ConfigurableProduct\...
0
votes
0answers
846 views

Getting error : Fatal error: Call to a member function setLayer() on a non-object in

I have created the category page and created some attributes for the products but when i visit the page its giving me error: Fatal error: Call to a member function setLayer() on a non-object in /home/...
0
votes
0answers
50 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
76 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 ...
0
votes
0answers
74 views

Magento manage category show error

When I click on Manage Categories from admin it show me this error Magento Commerce There has been an error processing your request Exception printing is disabled by default for security reasons....
0
votes
0answers
780 views

getConfigurableAttributesAsArray causes fatal error

I am trying to write a script that creates configurable products. Ive been using this as a guide: http://inchoo.net/magento/programmatically-create-a-configurable-magento-product/ When I get to this ...
0
votes
0answers
886 views

Purchase Proccessed with Fatal Error : Maximum Execution Time Exceeded

After a customer hits submit order, the order gets processed & confirmation email goes out.. However, the page never loads and a PHP Fatal Error: Maximum Execution time occurs. We have increased ...