Questions tagged [fatal-error]

Denotes question related to php fatal error

107 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5
votes
3answers
256 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
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 - ...
3
votes
1answer
148 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 ...
2
votes
1answer
40 views

Out of memory when compiling Magento 2 - increasing memory doesn't work

When compiling Magento 2, I'm getting the error: Fatal error: Out of memory (allocated 294125568) (tried to allocate 32 bytes) in /vendor/zendframework/zend-code/src/Scanner/FileScanner.php on ...
2
votes
1answer
119 views

Compilation error due to final class Vault in Magento version before 2.2.0

I am writing a plugin on class Magento\Payment\Model\MethodInterface: <type name=“Magento\Payment\Model\MethodInterface”> <plugin name=“mageworx_ordereditor_change_title_print_order” ...
2
votes
0answers
143 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
1answer
254 views

Magento 1.9.3.4 PHP Fatal error: Call to a member function refund() on null

When I am about to issue a credit/refund, I go to the Invoice > Credit Memo and try to > Refund Online, then I receive a fatal error 500. Looking in error_log this is the record: PHP Fatal error: ...
2
votes
2answers
875 views

Fatal error in magento 2 compilation

After running compilation code php bin/magento setup:di:compile I'am getting the following error Fatal error: Cannot use 'Void' as class name as it is reserved in /va r/www/html/m2/vendor/...
2
votes
0answers
954 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
1answer
823 views

Checkout page is empty

I tried to run Magento 2.1.1 in my server but it seems that my checkout page isn't displaying anything, just header and footer. Some error is generated: Fatal error: Allowed memory size of ...
2
votes
0answers
666 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
1answer
41 views

Fatal error… Can sombody help me

if ($generator !== null) { $this->tryToLoadSourceClass($className, $generator); if (!($file = $generator->generate())) { $errors = $generator->getErrors(); ...
1
vote
1answer
43 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 ...
1
vote
0answers
62 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
2answers
30 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\...
1
vote
0answers
112 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
467 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
1
vote
1answer
389 views

Magento2: Fatal error: Uncaught Error: Cannot instantiate interface

Got the error below: Fatal error: Uncaught Error: Cannot instantiate interface Magento\Framework\Config\DataInterface in /var/www/html/public_html/vendor/magento/framework/ObjectManager/Factory/...
1
vote
2answers
400 views

After installing a module, I can't login to my back-end

I can get to the login page, but as I am trying to login, I am getting this error: Fatal error: Uncaught Error: Call to a member function getNext() on null in /home/geekcoreco/public_html/generated/...
1
vote
1answer
270 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 ...
1
vote
1answer
258 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
0answers
46 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
59 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
1answer
947 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 ...
1
vote
0answers
1k 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
1answer
589 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 ...
1
vote
0answers
361 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
387 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
74 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
180 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
2answers
363 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....
1
vote
0answers
803 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
148 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
1answer
366 views

Magento 2: How to create custom ui_component form to submit data by ajax

I tried to create a custom ui_component form to submit data by ajax on the frontend. But it didn't appear. This is the error I got. Fatal error: Method Magento\Ui\TemplateEngine\Xhtml\Result::...
1
vote
1answer
795 views

Code Issue i think -Warning: include(Mage/Core/Model/App.php)

I had to delete the app.php file and then restore it. now I have a fully functioning back end but the front end shows the below code. Warning: include(Mage/Core/Model/App.php): failed to open ...
1
vote
0answers
53 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
1answer
77 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/...
1
vote
1answer
243 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 ...
1
vote
0answers
444 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
1answer
68 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' ...
1
vote
0answers
57 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
186 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
170 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
705 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
1answer
190 views

Mage_Install_Controller_Router_Install failing to autoload

I patched our site with SUPEE 6482 and, once clearing the cache, I get the same issue described here and here: Fatal error: Class 'Mage_Install_Controller_Router_Install' not found in /var/www/.../...
1
vote
1answer
378 views

Magento admin page helper not found error

I am trying to create new link in admin panel, which leads to helper not found error. My config files are as follows. app\code\local\Ddevs\Ebayaff\etc\config.xml <?xml version="1.0"?> <...
1
vote
0answers
259 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 ...
1
vote
1answer
111 views

Magento 2: Error in magento2 product list when i have reviews with rating

I'm new developer and I'm trying to learn magento. I have installed Magento 2 CE (with sample data, but I removed them and I have only a few products) on Debian 9. The mode is the developer and I have ...