Stack Exchange Network

Stack Exchange network consists of 174 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

Denotes question related to php fatal error

1
vote
1answer
22 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/...
0
votes
2answers
37 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
24 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
29 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
1answer
79 views

Magento 2.2.5 Fatal Error in Category and Search Page

Could someone help me with this error below? 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: ...
0
votes
0answers
19 views

Error in Magento 2 email template

I was creating email template in Magento 2 but get these errors: Fatal error: Uncaught Error: Call to a member function getAllItems() on null in D:\xampp\htdocs\yuptrends\app\code\Ced\CsMarketplace\...
2
votes
1answer
37 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
2answers
78 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
43 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
15 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
147 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
23 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
24 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
36 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/...
2
votes
2answers
219 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 ...
0
votes
0answers
32 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 ...
1
vote
1answer
289 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
33 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?
0
votes
0answers
29 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/...
1
vote
1answer
76 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
28 views
0
votes
0answers
67 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
26 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
34 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 ...
1
vote
0answers
74 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 ...
0
votes
0answers
15 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/...
1
vote
1answer
696 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 ...
0
votes
0answers
95 views

Error 503 after setup:upgrade (cannot find working solution anywhere) - Magento 2.1

Error 503: Service Unavailable The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later. Additionally, a 503 ...
0
votes
1answer
483 views

Uncaught TypeError: Argument 3 passed to Mage_Catalog_Model_Resource_Abstract::_canUpdateAttribute() must be of the type array, null given

I'm getting the following error: [15-Apr-2018 04:10:22 UTC] PHP Fatal error: Uncaught TypeError: Argument 3 passed to Mage_Catalog_Model_Resource_Abstract::_canUpdateAttribute() must be of the type ...
0
votes
2answers
49 views

URGENT HELP NEEDED! in magento 2 getting list of errors after enabling developer mode through command line

i was having an error on frontend after looking for an answer here i got an answer :Magento 2 error: We're sorry, an error has occurred while generating this email according to which i enabled ...
0
votes
0answers
21 views

I'm using Magento 1.9.x and the Swatches give me problems

I'm trying to set this website for a long time. It seems like my swatches are giving me several errors. The first one is with the Brands tab in the menu. First Magento is not reading all the images - ...
1
vote
0answers
572 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 ...
0
votes
1answer
211 views

500 internal server error- Magento 2

i am having an error on my website. following is the image : i've been trying to fix the error but can't find what excatly sould i do? can anyone give me a solution?
0
votes
0answers
40 views

Restored Backup and face Fatal error: Class

Im new to Magento and am stuck with a problem I hope someone is able to assist with. I restored a backup of my site and now I cant access either the front or backend. Any advice would be greatly ...
0
votes
0answers
265 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
1answer
269 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
0
votes
2answers
156 views

fatal error “invalid image file type” import file - magento 1.9

I am running script for importing products. For some of the skus it is giving -> Fatal error: Uncaught exception 'Mage_Core_Exception' with message 'Invalid image file type.' in /home/oceanf7p/...
0
votes
1answer
45 views

urgent help fatal error magento 2 website is working but all the styles are gone after running command

need serious and urgent help. i was trying to disable a module in magento2.2 by command line. first i run the command: php bin/magento setup:upgrade and after that i ran the command to disable the ...
0
votes
0answers
25 views

Fatal error when user try to access my account on Magento 1.9+

We are getting a fatal error whenever trying to access the My Account section for a logged in user. Fatal error: Call to a member function getReviewSummary() on a non-object in /var/www/html/app/...
0
votes
1answer
180 views

setup-di-compile | PHP Fatal | Cannot declare class Magento\Framework\Console\Cli

When I try to run command setup:di:compile I get the following error: [http]$ php-7.0 bin/magento setup:di:compile The directory "/microcloud/domains/operm2/domains/domainname.co.uk/http/var/...
1
vote
1answer
377 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
1answer
111 views

Fatal error on product export

There are only 3 products in the catalog, when I try to export them using System -> Import/Export -> Export I get this error: Fatal error: Call to undefined method ...
1
vote
0answers
259 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
226 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 ...
6
votes
2answers
6k views

Magento 2.2.2 : Allowed memory size of 792723456 bytes exhausted (tried to allocate 184320 bytes)

I am working in magento 2.2.2 and when I save product It will display this error. Fatal error: Allowed memory size of 792723456 bytes exhausted (tried to allocate 184320 bytes) in /var/www/html/...
2
votes
1answer
141 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: ...
0
votes
0answers
465 views

Checkout 502 bad gateway error in magento

When I try to check out on my website it sends me the following error 502 Bad Gateway nginx/1.12.2 It also does this when I try the checkout with Pay Pal button. This is for Magento Community ...
0
votes
2answers
387 views

error on magento 2 after update php 5 to 7, Warning: require(/var/www/html/vendor/magento/framework/registration.php):?

Error on Magento 2 after update from PHP 5 to PHP 7: Warning: require(/var/www/html/vendor/magento/framework/registration.php): failed to open stream: No such file or directory in /var/www/html/...
2
votes
2answers
74 views

Fatal error when accessing magento admin

I have Magento 1.9, If i try to access magento admin area by just putting the URL: www.domain.com/admin then i dont see login area but i just see this error: Fatal error: Call to a member function ...
0
votes
0answers
64 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 ...