As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [fatal-error]

Denotes question related to php fatal error

Filter by
Sorted by
Tagged with
0 votes
2 answers
507 views

Fatal error: Cannot declare class Product, because the name is already

This error pops up when I run php -dmemory_limit=-1 bin/magento s:d:c File; parseResource.php <?php class parseResource { public $resourcePath = ""; ...
faisal's user avatar
  • 1
0 votes
2 answers
54 views

Magento2 not showing errors

Magento2 not displaying errors while compile, I reinstall my unbutu and then install magento again but it is not displaying errors Developer mode is on Paste this code in the index.php error_reporting(...
Syed Hassan Zamir's user avatar
0 votes
1 answer
273 views

Magent 2.3.4 Installation error

I was do setup the magento 2.3.4 version in Php 7.3 version But Frontend throw error Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">...
user104747's user avatar
0 votes
1 answer
100 views

multiple fatal errors in Apache2 log after update to Magento 2.4.3 & php 7.4

Getting a lot of errors in the apache2 log after update. I am relatively new to Magento. Does this mean I need to troubleshoot one by one or I am missing one update that is causing multiple issues? ...
Anna Mouraviova's user avatar
0 votes
1 answer
259 views

Magento 2 setup:di:compile not work when create Interface and Repository

When i try to start command setup:di:compile i see this error: Uncaught Error: Interface 'WebbyTroops\Subscription\Api\SubscriptionRepositoryInterface' not found in /var/www/html/hajery/app/code/...
Mukesh Khatri's user avatar
0 votes
3 answers
117 views

Composer memory size fatal error

I keep getting this error every time i run anything related to composer (install, update, require, etc.) Ive tried almost every website or solution I could find to no avail. Can anyone tell me how to ...
Zyzzx's user avatar
  • 71
0 votes
1 answer
2k views

Uncaught Error: Cannot instantiate interface - Filesystem\DriverInterface

Suddenly I started getting following error on Magento 2.3 website, on product listing page, home page and other pages are working fine: <b>Fatal error</b>: Uncaught Error: Cannot ...
NileshPlus91's user avatar
0 votes
2 answers
242 views

phpunit.rest.xml fatal error could not read ""

I am trying to run the Magento web api tests by running the following command: vendor/bin/phpunit --config ./dev/tests/api-functional/phpunit_rest.xml But it gives this error: PHP Fatal error: ...
amjada's user avatar
  • 11
0 votes
1 answer
691 views

Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in Magento customer Create

I got this issue when creating the customer in magneto 2. Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in /vendor/magento/framework/Model/ResourceModel/...
Singhe's user avatar
  • 149
0 votes
1 answer
132 views

Magento Installation on xampp windows 10

I was installing Magento on my pc on xampp. First I had a lot of errors worked through it but now am getting the message below would please advise. Thank you in advance PHP Parse error: syntax error, ...
freddyb's user avatar
1 vote
1 answer
2k views

Fatal error: Uncaught Error: Call to a member function isSuggestionsAllowed() on null

Fatal error: Uncaught Error: Call to a member function isSuggestionsAllowed() on null in /opt/lampp/htdocs/magx/var/view_preprocessed/pub/static/vendor/magento/module-search/view/frontend/templates/...
Sayyed Hasan's user avatar
0 votes
1 answer
85 views

Catalog Page Crashes On Backend in Configuration

After logging into backend and navigating to Stores > Configuration > Catalog, Site crashes and shows this error, also the search on the site shows same error. Please note that Catalog Search on ...
Saqib Ali's user avatar
0 votes
1 answer
27 views

I added a Curl.php file in another location. Now I have a Fatal Error when accessing the backend of my store

I added a Curl.php file in another location. Now I have a Fatal Error when accessing the backend of my store. (Yes, I deleted the other location already, but I still receive the error) Does anyone ...
Mike.Bean's user avatar
0 votes
1 answer
113 views

Cart2Quote Quotations error: Element 'referenceBlock', attribute 'class': The attribute 'class' is not allowed

I got an error after installing cart2Quote free (Magento\Framework\Config\Dom\ValidationException): Element 'referenceBlock', attribute 'class': The attribute 'class' is not allowed. i am using ...
Uông Đức Tùng's user avatar
1 vote
1 answer
625 views

PHP Fatal error: Call to a member function validate() on boolean

i am getting server error in magento 1.7 PHP Fatal error: Call to a member function validate() on boolean in app/code/core/Mage/Paypal/Model/Standard.php on line 137 How to solve this error.
Avinash Pandey's user avatar
0 votes
0 answers
16 views

My code is this and there is no space at starting but still i am getting Fatal error what can I do please tell me?

<?php namespace Magento\Framework\View\Element\Template\File; use \Magento\Framework\App\Filesystem\DirectoryList; use \Magento\Framework\Component\ComponentRegistrar; use \Magento\Framework\...
Km Rashi BksljPwtFi's user avatar
1 vote
0 answers
19 views

fatal error: bms_class_helper_data not found

I created a custom module and its gives a error "fatal error: bms_class_helper_data not found " after that i removed the complete module, layout file and data enabler file and database, but ...
vinaysirige's user avatar
1 vote
2 answers
119 views

"Fatal error: Class 'Mage_Outgoing_Form_Helper_Data' not found in /var/www/html/app/Mage.php on line 547"

I am getting error "Fatal error: Class 'Mage_Outgoing_Form_Helper_Data' not found in /var/www/html/app/Mage.php on line 547" Even i removed module,layout file and module enabler file and i ...
vinaysirige's user avatar
1 vote
1 answer
228 views

Magento 1.9 - Payment Gateway Success page empty or error

Error : PHP Fatal error: Call to a member function getMethodInstance() on boolean in /home/error/public_html/app/code/core/Mage/Payment/Helper/Data.php on line 119 I am using Paytm & Payubiz ...
Gem's user avatar
  • 669
0 votes
0 answers
374 views

Magento 2 - php fatal error class not found

Whatever I try to run on my SSH-Server it displays the same error: $ php bin/magento cron:install [--force] PHP Fatal error: Uncaught Error: Class 'Magento\Setup\Mvc\Bootstrap\InitParamListener' not ...
user91013's user avatar
0 votes
1 answer
802 views

Uncaught Error: Using $this when not in object context

I am going through an older module created in PHP 5.x.x and we have just moved the website to the php 7.2.x so we suddenly got the error in a helper class Uncaught Error: Using $this when not in ...
shoaib Munir's user avatar
0 votes
0 answers
350 views

bin/magento command giving uncaught exception - fatal error

I have SSH access to a Magento 2 store and attempting to unlock an admin user. I can't run bin/magento or php bin/magento in the folder of the magento instance. How can I get this command to work? I'm ...
pjib12's user avatar
  • 1
1 vote
3 answers
1k views

Magento 2: Showing error on production mode

I'm facing an issue like errors are show on PRODUCTION mode, how can this be possible. Anyone have any idea how can this be resolved?
Mandar Parbate's user avatar
1 vote
2 answers
979 views

Shipment emails not sent for new orders after upgrade to 2.3.5 - can still send for old orders without errors

When I press "Send tracking information" in Magento admin panel for a shipment there is no email sent and Magento displays the tracking info in the browser. For old orders were shipments were created ...
user5198077's user avatar
1 vote
2 answers
1k views

Magento 2.3.4 error after setup:upgrade command

Fatal error: Uncaught ReflectionException: Class Magento\Framework\App\ResourceConnection\Proxy does not exist in /var/www/html/magento2/vendor/magento/framework/Code/Reader/ClassReader.php:26 Stack ...
maya5510's user avatar
0 votes
2 answers
107 views

Magento 1.x sites (live and staging on different cPanel accounts) suddenly gives Fatal Error

Both my Magento sites hosted on different cPanel accounts started giving the following error. [05-May-2020 08:42:52 UTC] PHP Fatal error: Uncaught exception '...
Dupdroid's user avatar
0 votes
2 answers
116 views

Magento 2.3.0 error while changing dropdown attribute to visual swatches

Fatal error: Uncaught Error: Call to a member function serialize() on null in /vendor/magento/module-swatches/Helper/Data.php:162 Stack trace: #0 /vendor/magento/module-swatches/Model/Plugin/...
Ram singh's user avatar
  • 121
0 votes
0 answers
168 views

Random error while creating storefront theme

Hi everyone I'm new to magento, few days ago I installed magento and now I was developing a sample storefront theme. But before i configure and install it, I just started facing an unknown error both ...
mobz's user avatar
  • 117
0 votes
1 answer
1k views

Magento 2 warning installing time

Warning: require(/var/www/html/xyz/vendor/composer/../symfony/polyfill-ctype/bootstrap.php): failed to open stream: No such file or directory in /var/www/html/magentopwa/vendor/composer/autoload_real....
sumeet bajaj's user avatar
  • 1,195
4 votes
3 answers
406 views

Full Error Message Not Truncated Magento 2 PHP Stack Trace Cutoff

Basically the same as this question: https://stackoverflow.com/questions/12356260/magento-how-to-show-full-error-message-instead-of-truncated-one but for Magento 2 I searched for this function but ...
Kevin Chavez's user avatar
0 votes
1 answer
275 views

Allowed memory size of 2097152 bytes exhausted (tried to allocate 8192 bytes) i

I am getting error while running the cli commands, I increased the memory_limit to 5G
vinaysirige's user avatar
0 votes
0 answers
151 views

Fatal error: Call to a member function extend() on boolean in /var/www/html/mage/lib/Varien/Simplexml/Config.php on line 600

I am trying to tranfer magento from server to localhost, but it is giving Fatal error: Call to a member function extend() on boolean in /var/www/html/mage/lib/Varien/Simplexml/Config.php on line 600 ...
vinaysirige's user avatar
1 vote
1 answer
2k views

Magento 2: Fatal Error: 'Uncaught Error: Call to undefined method setWebsiteId()

I had created a custom API for customer registration in Magento 2.3. I am checking that the weather the customer is already registered or not with below code. $email = $this->request->getParam('...
IntraPersonalLearner's user avatar
0 votes
1 answer
2k views

Magento 2: show list of all customers in custom grid

I created modal window similar functionality of when click on Add related products on product edit page, now in the modal window I need a list of all customers in grid. Currently its showing Error: ...
Sagar Parikh's user avatar
1 vote
2 answers
40 views

I am getting fatal error helper data not found

Fatal error: Uncaught Error: Class 'Bms_Banners_Helper_Data' not found in /var/www/html/app/Mage.php:547 But there is no Bms_Banners module please help
vinaysirige's user avatar
0 votes
0 answers
124 views

Fatal error in product detail page in Magento 2?

I am using Magento 2.3.3 I am getting below fatal error in product detail page: Fatal error: Uncaught Error: Cannot instantiate interface Magento\Framework\Config\ReaderInterface in /chroot/home/...
Chintan Kaneriya's user avatar
1 vote
1 answer
105 views

Magento 1.9 - User Roles Permission return Fatal error

If i click System -> Permission -> Roles if i click any of roles return following error, Fatal error: Class 'Mage_Cmsmquickview_Helper_Data' not found in /home/abc/public_html/app/Mage.php on line ...
zus's user avatar
  • 145
1 vote
0 answers
59 views

Issue in Extenction attribute ::setCode()

Fatal Error: 'Uncaught Error: Call to undefined method** SimplifiedMagento\\Database\\Api\\Data\\AffiliateMemberExtension::setCode() in \/var\/www\/html\/Magento2\/app\/code\/SimplifiedMagento\/...
Vivek's user avatar
  • 146
2 votes
1 answer
404 views

Fatal error: Call to undefined method Zend_CodeGenerator_Php_File

I get the following error returned when clicking Edit or Add New Customer in Admin >> Customers >> Manage Customers >> "Edit" or "Add New Customer" Fatal error: Call to undefined ...
Mark Kubala's user avatar
0 votes
1 answer
2k views

Syntax error or access violation: 1118 Row size too large Reindexing

I am facing : SQLSTATE[42000]: Syntax error or access violation: 1118 Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65535. This includes storage overhead, ...
Charanjeet Singh's user avatar
1 vote
1 answer
159 views

M2 Fatal error on saving customer account

Using Magento 2.3.1 we're getting the following error when trying to save any update to a customers account from the back-end... Fatal error: Uncaught Error: Call to a member function getProduct() on ...
TonyG's user avatar
  • 31
0 votes
1 answer
138 views

Error when running di compile after upgrade from 2.2.9 to 2.3.2 (TEMANDO)

I've tried disabling the temando module but i'm still getting the error. Repositories code generation... 1/7 [====>-----------------------] 14% < 1 sec 74.0 MiB Fatal error: Declaration of ...
cntrl esc --'s user avatar
1 vote
2 answers
563 views

Can't run any commands in terminal

I'm facing the terrible issue, I can't run any commands via terminal. It says the below error: Class Magento\Framework\App\ResourceConnection\Proxy does not exist In frontend: Can anyone please ...
Siva's user avatar
  • 1,124
-1 votes
1 answer
104 views

Magento2.3.2: Fatal Error on Logout

When I tried to logout, it's showing one error. Fatal error: Interface 'Webkul\Marketplace\Api\ControllersRepositoryInterface' not found in /home/myusername/public_html/app/code/Webkul/...
Teja Bhagavan Kollepara's user avatar
0 votes
0 answers
393 views

Magento2 : purchased Theme inside testimonial module using when add testimonial than getting error

I am using magento2 and purchased theme inside testimonial module enable after add testimonial than frontend side getting error Fatal error: Uncaught Error: Cannot instantiate abstract class ...
Rv Singh's user avatar
  • 1,607
1 vote
1 answer
651 views

When I add a new custom Customer attribute I get Fatal Error on click save or submit button

I manage to add my custom customer attribute with InstallData on my custom module it appears everything is working fine, but when i try save or edit customer in front end or admin panel, when i click ...
Kristian Mijares's user avatar
2 votes
1 answer
167 views

Magento2: Production Critical Error on Cloudinary

I am trying to run the setup:upgrade command I get the following error PHP Fatal error: Uncaught Error: Call to a member function getCloud() on null in /var/www/asprod/vendor/cloudinary/...
felixnyamweya's user avatar
1 vote
1 answer
2k views

Uncaught ArgumentCountError: Too few arguments to function?

I have namespace\module\Block\Display.php: <?php namespace Magento\History\Block; class Display extends \Magento\Framework\View\Element\Template { private $productRepository; ...
Michael T-rex's user avatar
0 votes
1 answer
2k views

Magento 2.3.1 Composer Fatal error when installing Ext

Trying to install anything on Magento 2.3.0 & 2.3.1 using Composer I get the following error. Does anyone know how to fix this? Fatal error: Uncaught TypeError: Return value of Magento\...
airsoftsupplydrop's user avatar
0 votes
0 answers
729 views

Magento 2.3.1 Composer Fatal error installing anything

After thing to install a few other extensions, I'm getting the Fatal error message with anything when using Composer. I have installed a fresh copy of Magento 2.3.1 and I'm trying to install the data ...
airsoftsupplydrop's user avatar

1
2 3 4 5
8