Skip to main content

Questions tagged [error]

Questions about PHP error messages and error logs

Filter by
Sorted by
Tagged with
45 votes
2 answers
22k views

What's the preferred way of throwing exceptions in Magento?

All of the following methods are used in Magento core so which one is the preferred (or the latest "best practice") way? Mage::throwException('Some Message') - 732 Usages throw new Exception('Some ...
Salman's user avatar
  • 553
39 votes
3 answers
32k views

Enable exception printing on the webpage in Magento2

I was installing Magento 2 and got the following error. There has been an error processing your request Exception printing is disabled by default for security reasons. Error log record ...
amitshree's user avatar
  • 7,036
37 votes
2 answers
9k views

Error after successfull patch SUPEE-5994: Class 'Mage_Install_Controller_Router_Install' not found

I successfully installed the SUPEE-5994 patch : [root@x]# sh PATCH_SUPEE-5994_EE_1.14.1.0_v1-2015-05-14-05-05-02.sh Checking if patch can be applied/reverted successfully... Patch was applied/...
Cqke's user avatar
  • 483
32 votes
4 answers
80k views

Magento 2 - There are no commands defined in the "setup" namespace on windows [duplicate]

I have a problem when I run this command: php bin/magento setup:upgrade Display error: [InvalidArgumentException] There are no commands defined in the "setup" namespace. I found some ...
MrTo-Kane's user avatar
  • 3,664
31 votes
2 answers
28k views

Magento CSS and JavaScript not loading due to using file system path

I was unable to install a module using Magento Connect, getting a Connection Error try again later error. Following the instructions of the module developer I attempted to fix permissions in the ...
Navarr's user avatar
  • 1,712
27 votes
3 answers
52k views

Error after magento upgrade

After firing this command in CLI php bin/magento setup:upgrade I am getting below error -: Fatal error: Uncaught exception 'Magento\Framework\Exception\LocalizedException' with message 'Can't ...
Murtuza Zabuawala's user avatar
25 votes
7 answers
19k views

Magento2 CLI module:enable gives error "Unkown module(s)"

In Magento2 I've built a simple custom module and want to enable it by CLI: bin/magento module:enable Vendorname_Modulename But it is giving me the following error: Unknown module(s): '...
7ochem's user avatar
  • 7,552
23 votes
9 answers
22k views

CE1.9.1 Please make sure your password match issue during User registration

I am encountering this issue in CE1.9.1. When a User registers (doesn't matter if it's during checkout or from the Create an Account link) the user keeps getting the password mismatch error even ...
Bill's user avatar
  • 241
22 votes
4 answers
12k views

My magento 2 website is crashed: Unknown or bad timezone () error

When i am accessing my magento website i am getting errors DateTimeZone::__construct(): Unknown or bad timezone () on Block and CMS pages and all my product list pages on frontend shows 404 page ...
Murtuza Zabuawala's user avatar
21 votes
2 answers
14k views

Error while printing invoice

I've got a standard Magento 1.8.0.0 installation on Windows 7 using the BitNami Magento installation for XAMPP. When I open the Sales -> Invoices screen and click on an invoice and then click on the ...
John Sonderson's user avatar
19 votes
2 answers
35k views

How to enable error and exception logging in Magento2?

I am unable to see any type of error in magento2. i am implementing custom payment gateway but when i add a dropdown list in backend admin panel of magento2 At that time its shows blank page and when ...
Ayush Mittal's user avatar
19 votes
3 answers
38k views

How to diagnose "Invalid block type .." error?

Not sure how to figure out this error, I've been googling for a week and I can't seem to find a solution. Any ideas? 2013-06-10T04:04:28+00:00 ERR (3): exception 'Mage_Core_Exception' with message '...
riskywebmaster's user avatar
18 votes
5 answers
8k views

Magento 2.3.3 Fails on magento setup:di:compile with an error mentioning InvoiceFlexFieldProcessorInterface

I have installed the new Magento 2.3.3 version. After I have run the command: php bin/magento setup:di:compile I have Faced the following error: PHP Fatal error: Interface 'Vertex\Tax\Model\...
Hardik Makwana's user avatar
17 votes
7 answers
21k views

Constant name is expected. Error

I am receiving this error: Uncaught exception 'InvalidArgumentException' with message 'Constant name is expected. While running php bin/magento setup:upgrade in command line. i got this http://...
het21's user avatar
  • 177
16 votes
5 answers
3k views

Index error after upgrade to EE 1.14.2.0: table catalog_product_entity_tmp_indexer doesn't exist

After I've upgraded my Magento to EE 1.14.2.0 the cron enterprise_refresh_index always gets this error: exception 'PDOException' with message 'SQLSTATE[42S02]: Base table or view not found: 1146 ...
Joke Puts's user avatar
  • 341
16 votes
2 answers
20k views

Magento 2 error: We're sorry, an error has occurred while generating this email

I am getting below error in magento 2 local system. We're sorry, an error has occurred while generating this email.
Rakesh Verma's user avatar
16 votes
2 answers
4k views

How can i scroll up error message after click on place order magento2

If a user is a small screen device, there are many situations where they will never see an error message. I referred to this link Usability issues with error/notice/success messages. But do not get ...
Jaimin's user avatar
  • 2,146
15 votes
7 answers
74k views

Exception printing is disabled by default for security reasons [closed]

I tried to setup my magento to my hosting. So i created a new database and i did import my sql file and changed the settings in the local.xml for the database. but now i’m getting Exception printing ...
Danny's user avatar
  • 151
15 votes
3 answers
11k views

Magento 2 StoreManagerInterface already exists in context object in compilation

I am getting this error in my extension. PackageName\ModuleName\Block\Enhanced Incorrect dependency in class PackageName\ModuleName\Block\Enhanced in /var/www/html/app/code/...
Ramesh's user avatar
  • 986
15 votes
3 answers
27k views

What is the cause of "Front controller reached 100 router match iterations" error?

As a Magento developer I have faced this problem tons of times, I know it is a misconfiguration problem when it occurs some modules are not loaded, neither their routers, causing the error. Most of ...
Raul Sanchez's user avatar
  • 3,125
15 votes
3 answers
566 views

Dealing with neutered type hinting in Magento

Just wondering if anyone has better strategies than I've thought of for type checking to co-exist with Magento's custom error handler. Specifically, I'm wondering about a "Catchable Fatal Errors" as ...
mpw's user avatar
  • 1,050
14 votes
2 answers
8k views

Magento 2 - Error on running update/cron.php

I'm getting an error on running update/cron.php I setup the cronjob according to the documentation. But it gives the following error: PHP Warning: require_once(update/vendor/autoload.php): failed ...
TFS's user avatar
  • 4,339
14 votes
15 answers
35k views

There are no commands defined in the "setup" namespace : Magento 2

I have installed the latest version of Magento 2, everything is working fine frontend, backend and functionality. I have one issue with bin/magento setup:upgrade command, when I run this command in ...
Deepak Mankotia's user avatar
13 votes
1 answer
12k views

Magento system.log 'Warning: SimpleXMLElement' - (adminNotification/Model/Feed.php)

Magento has me stumped again! Within /var/log/system.log I'm seeing the following warnings and I have been unable to track down the cause. Going by the timestamp, it appears as though they're all ...
riskywebmaster's user avatar
13 votes
1 answer
11k views

How i can fix error Invalid backend model specified

when i try run magento, i see in log file next error: a:5:{i:0;s:74:"Invalid backend model specified: eav/entity_attribute_backend_time_updated";i:1;s:6088:"#0 \app\code\core\Mage\Eav\Model\...
John Genry's user avatar
13 votes
8 answers
15k views

Data migration Eav step error

Anyone having this issue? data migration > EAV Step SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1-Migration_Default' for key '...
Richard's user avatar
  • 171
12 votes
17 answers
15k views

Magento migration product error: UiComponentFactory->argumentsResolver('created_by', NULL)

I'm trying to migrate my Magento 1.9.3.4 to Magento 2.2.2 with the data-migration-tool. I did it and the store is working in localhost; I have the customers, sales, static pages and products. I ...
davincy's user avatar
  • 121
12 votes
4 answers
5k views

Order mail confirmation generates DOMXPath::query() error

on order place the email contains the following error and does not display properly CSS Inline Error: Warning: DOMXPath::query(): Invalid expression in .../vendor/pelago/emogrifier/Classes/Emogrifier....
deroccha's user avatar
  • 687
11 votes
4 answers
21k views

Installation at 51% Module 'Magento_Theme' Error in Magento 2

Magento 2 Installation error at 51%. I am having an issue installing Magento 2. I followed every step and everything went fine until installation.The installation stops at 66% I tried to find a ...
sayur_patel's user avatar
11 votes
13 answers
98k views

Magento 2: 500 Internal Server Error

I followed the Magento dev docs per below: If you add a new .html template, and then edit it, the changes will not apply until you do the following: delete all files in the pub/static/frontend ...
Matthew McLennan's user avatar
11 votes
5 answers
20k views

Getting this error message: dbModel read resource does not implement Zend_Db_Adapter_Abstract

I put my magento project on a linux server. First the error log messages shown up, but the folder var was missed. Then I created the var folder, I give it the 777 permissions and same with cache, ...
Attila Naghi's user avatar
  • 4,023
10 votes
2 answers
11k views

Magento 1.9.2 and php7 - image upload error

I'm just testing Magento 1.9.2 with Php 7. All seemed to work, but suddenly I tried to upload image for the product. I got error like below: Fatal error</b>: Uncaught Error: Function name must ...
sellio's user avatar
  • 536
10 votes
2 answers
8k views

magento 1.7 : Cannot reindex product_flat_data

I get the following error while trying to reindex my magento database.. Product Flat Data index process unknown error: exception 'PDOException' with message 'SQLSTATE[23000]: Integrity constraint ...
David Vendryes's user avatar
10 votes
4 answers
15k views

Error after deleting all cache in Magento 2

On deleting all cache as rm -rf var/cache/* var/page_cache/* var/view_preprocessed/* var/generation/* I got below error Warning: ltrim() expects parameter 1 to be string, object given in vendor\...
sagar sapkota's user avatar
10 votes
1 answer
6k views

Incorrect dependency ScopeConfigInterface already exists in context object in compilation of magento2

<?php /** * Copyright © 2015 Magento. All rights reserved. * See COPYING.txt for license details. */ namespace Ortho\Featuredproduct\Helper; use Magento\Framework\App\Helper\AbstractHelper; /** ...
user3921091's user avatar
10 votes
2 answers
20k views

What does "SQLSTATE[HY000] [2002] No such file or directory" in error log mean?

This page just started coming up: There has been an error processing your request a:4:{i:0;s:48:"SQLSTATE[HY000] [2002] No such file or directory";i:1;s:2075:"#0 /home/dtacolle/public_html/lib/Zend/...
Hector's user avatar
  • 299
9 votes
6 answers
26k views

Integrity constraint violation: 1052 Column 'increment_id' in where clause is ambiguous

I am trying to create a customer grid module that accesses different table columns from sales_order information such as billing, payment method etc.. I have the grids show the correct data but when I ...
user1704524's user avatar
  • 2,483
9 votes
3 answers
10k views

Creating custom module in magento2 show fatal error

I working on creating custom module in magento 2, but it's not working. Could you please suggest me where i went wrong?. My module code: app/etc/config.php: 'modules' => array ( '...
Ramesh's user avatar
  • 91
9 votes
8 answers
24k views

Magento image upload not working even after giving all folders 777 permissions

I am unable to upload images in magento admin panel , getting error "Destination folder is not writable or doen't exist". Recently moved all files from one hosting to another. Any solution for this?
user3164549's user avatar
9 votes
6 answers
4k views

Can anyone help me fix this error regarding 404 Media_URL styles.css?

I am seeing this error in the error console 404 (Not Found) %7B%7BMEDIA_URL%7D%7Dstyles.css. Can anyone offer a solution to fix this?
Candy's user avatar
  • 91
9 votes
5 answers
11k views

Mysql access denied error

I have a common problem but the usual solutions are not working so apologies for what on first appearance may seem like a previously asked question. I have the following error when trying to view my ...
develophper's user avatar
  • 2,214
9 votes
2 answers
6k views

Magento 2 Full Page Cache not working

Whenver I turn on FPC(Full Page Cache) feature in my Magento CE 2.0.2 site (doesn't matter if default theme or custom theme is running.) and when I open the Homepage of this site, then it gives "...
Vicky Dev's user avatar
  • 1,992
9 votes
3 answers
3k views

Cron crashes MySQL

After moving to a new server I am getting the MySQL crash [1] issue once a day, which is coming to my email and annoying not to mention potential impact. Any hints on how to debug this issue? ...
Zifius's user avatar
  • 1,218
9 votes
3 answers
15k views

Getting TypeError: $.widget is not a function Magento 2

I am getting a JavaScript type error in Minicart, Product view page, and Checkout page. TypeError: $.widget is not a function $.widget('mage.priceBox') $.widget('mage.dataPost') ...
Nikul's user avatar
  • 1,306
9 votes
4 answers
10k views

Magento 1.9.0.1 Paypal error The totals of the cart item amounts do not match order amounts (#10413:

is this using magento 1.9.0.1 has integrated the box expres paypal, in addition to this you have the plugin pro rewards points as reward points to buy some productosen which when it became the ...
ZeroBathory's user avatar
8 votes
4 answers
21k views

Export file problem in Magento 2.3

Error: "Message is added to queue, wait to get your file soon" enter code here Open admin panel/system/Data Transfer/Export After that select all export setting and click the continue button. When ...
Monark Bhawani's user avatar
8 votes
8 answers
14k views

Magento2 exception during installation: 'LogicException' with message 'Unknown module in the requested list: 'Magento_BundleSampleData'

I got this error while installing Magento2 [ERROR] exception 'LogicException' with message 'Unknown module in the requested list: 'Magento_BundleSampleData'' in setup\src\Magento\Setup\Model\...
Jeffery's user avatar
  • 305
8 votes
6 answers
6k views

Magento 1.9.2.1 SUPEE-7405 admin not working

I installed the new patch today - SUPEE-7405 via FTP from this site. https://magentary.com/kb/install-supee-7405-without-ssh/ Now, it looks like my front end store is still working, however when I ...
MuhuPower's user avatar
  • 205
8 votes
5 answers
18k views

Warning: DOMDocument::loadXML(): Empty string supplied as input

Warning: DOMDocument::loadXML(): Empty string supplied as input in C:\xampp\htdocs\Magento2\vendor\magento\module-config\Model\Config\Structure\Reader.php on line 132
supriya mishra's user avatar
8 votes
3 answers
12k views

Magento2.2 - - Failed to read session data

If you open the front end with multiple tabs in the browser, the following error is output:. Exception #0 (Exception): Warning: session_start(): Failed to read session data: user (path: /var/opt/remi/...
mr.hironobu's user avatar

1
2 3 4 5
42