Questions tagged [fatal-error]

Denotes question related to php fatal error

Filter by
Sorted by
Tagged with
1
vote
0answers
54 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
444 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\...
5
votes
2answers
353 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
338 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
80 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 ...
3
votes
1answer
198 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
115 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
98 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
26 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
1answer
491 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
242 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
612 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
800 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
438 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
34 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
611 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\...
1
vote
0answers
261 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....
3
votes
2answers
253 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 ...
2
votes
1answer
1k 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
3
votes
3answers
4k 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 = ...
1
vote
1answer
5k 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" ...
1
vote
1answer
737 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
425 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
62 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
8k 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
287 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
1k 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
3k 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
391 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
102 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
1k 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/...
2
votes
2answers
911 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
623 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
2k 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 (...
4
votes
2answers
1k 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
301 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
401 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
715 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
194 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
2k 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
52 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
324 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
96 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/...
4
votes
4answers
5k 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 ...
2
votes
2answers
1k views

Warning in installation process

Getting Error Warning: require(C:\xampp\htdocs\Magento\vendor\composer/../symfony/polyfill-mbstring/bootstrap.php): failed to open stream: No such file or directory in C:\xampp\htdocs\Magento\vendor\...
1
vote
0answers
91 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
230 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 ...
0
votes
0answers
72 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
2answers
154 views

Magento 1.9.x - Compiler Error after install Extension

I tried a new extension for Magento Community (https://github.com/integer-net/solr-magento1) , after is produce many errors I deleted all the files. Now, its cause error when Magento-Compiler is ...
2
votes
0answers
221 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 ...

1
2
3 4 5
7