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

1
vote
1answer
14 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
11 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->...
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\...
4
votes
2answers
44 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 ...
0
votes
1answer
35 views

Not able to save product after disabling all Magento_Inventory* modules (MSI)

Running Magento 2.3.0 which is migrated from Magento 1. We have been running sometime with MSI enabled, but now want to stop using it. I disabled all Magento_Inventory modules. Now when I open a ...
2
votes
1answer
29 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 ...
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 ...
3
votes
1answer
46 views

Backend fatal error when making a invoice

Now that the web store is almost ready, I am investigating how the processing of orders goes. When I go to sales - orders - promotion - view, I come to the order. Then I go to invoice (at the top of ...
0
votes
1answer
36 views

Overriding the contact form module gets the fatal error in Magento2.2.5?

I have overriden the contact form module, after disabling the default contact form validation and apply my custom validation gets the following error: Fatal error: Uncaught TypeError: Argument 1 ...
1
vote
0answers
37 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 ...
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
36 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
2answers
66 views

Magento 1.9 - HTTP ERROR 500 and PHP Fatal error:

We recently moved to a new hosting company and they set our Magento 1.9.1 website as parked on top of the main account's domain. It worked fine for about a week. We haven't made any changes and now we ...
3
votes
1answer
112 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 ...
1
vote
1answer
77 views

Magento 2 + Fatal error save() must be an instance interface not a model

Trying to save record in admin grid with create API interface but getting fatal Error link below Fatal error: Uncaught TypeError: Argument 1 passed to Mage2\Inquiry\Model\InquiryRepository::save()...
2
votes
1answer
48 views

Magento2 + UI component xml file stop working as mode of deployment change

Below is listing XML file under UI component which is working fine in default deploy mode, but its suddenly stop working in as mode change to developer <?xml version="1.0" encoding="UTF-8"?> &...
1
vote
2answers
29 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\...
0
votes
0answers
206 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
33 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....
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....
2
votes
2answers
160 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 ...
0
votes
0answers
314 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
769 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 = ...
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/...
1
vote
1answer
2k views

Magento 2 Setup error on latest xampp version 3.2.2

I've installed Xampp v.3.2.2 and downloaded Magento CE 2.2.4 & 2.3. but I am facing issue when installing them. I get the following error:: Fatal error: Uncaught Exception: Warning: "continue" ...
0
votes
0answers
24 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 ...
1
vote
2answers
319 views

Fatal error: Uncaught Error: Call to undefined method log()

when i click on Add product, i get the above error in the pic. Can anyone please help me on this how to solve?
0
votes
1answer
84 views

Call to a member function beginTransaction() on a non-object when deployed to live

On my laptop everything works fine but when I deploy to our live test server I get: Fatal error: Call to a member function beginTransaction() on a non-object in /var/www/html/magento82/app/code/core/...
0
votes
1answer
34 views

Update quantity showing error in Magento 2.1

I update my shopping cart but it showing me fatal error: Fatal error: Uncaught TypeError: Argument 1 passed to Magento\Framework\Exception\InputException::__construct() must be an instance of Magento\...
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/...
0
votes
0answers
111 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
1answer
406 views

Getting Fatal error: Class 'IntlDateFormatter' not found in Magento2 [duplicate]

I am getting Fatal error Class 'IntlDateFormatter' not found in /home/sanjeevkahali/public_html/sanjeev/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php on line 111:
2
votes
4answers
719 views

Fatal error: Uncaught TypeError: Argument 1 passed to __construct() must be of the type array, null give

Urgent help needed! After migrating data from M1 to M2 (Magento v2.2.5) using UB Data Migration Pro, when I click edit to any Customer at the Magento 2 Admin Panel, I get these error messages: ...
1
vote
1answer
145 views

ResultInterface Error

we are noticing a strange behaviour on a CE 2.2.6 which we can't interpret. We didn't do any updates, it's possible that an OpCache/Redis flush let come up an error from an update before. Each time we ...
0
votes
1answer
42 views

Getting error “Call to a member function setTitle()” after install extension

I have installed an extension on the website. After that I am getting error on the website: Fatal error: Uncaught Error: Call to a member function setTitle() on boolean in /var/www/example/app/...
1
vote
1answer
295 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
311 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/...
0
votes
0answers
358 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
1answer
304 views

facing this issue contains 1 abstract method and must therefore be declared abstract or implement the remaining method

Facing fatal error given as below. Fatal error: Class Sugarcode\Test\Model\Total\Fee contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (...
2
votes
2answers
649 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 ...
2
votes
1answer
101 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” ...
1
vote
1answer
249 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
204 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: ...
0
votes
1answer
120 views

How to get Quote subtotal by customer Id in magento 2?

I have used below code to get the quote object from customer id { protected $_objectManager = null; protected $_customerSession; protected $quoteFactory; public function __construct( \Magento\...
2
votes
2answers
586 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 \...
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.
2
votes
1answer
141 views

Fatal error: Uncaught Error: Call to a member function setSaveParametersInSession() on boolean in

I'm new in magento so I don't know why this is wrong. Please help. Thanks! Config.xml <?xml version="1.0"?> <config> <modules> <Mymodule_MemberShip> ...
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/...
3
votes
2answers
1k 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 ...