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 [error]

Questions about PHP error messages and error logs

3
votes
4answers
14k views

Error: “Couldn't resolve host 'magento-community'” when installing a Extensions

I cannot install any Extensions on magento. I tried the solutions from other posts but none of them worked for me. I have magento on godaddy ver. 1.9. I tried keys in several formats like: http://...
3
votes
2answers
157 views

How can I display a custom maintenance message on Magento 2.2.4

I have to update several modules of Magento, also deactivate others and during that the frontend will not be available. How can I make a simple personalized message? Would you touch on some Magento ...
3
votes
4answers
12k views

PHP Fatal error: Uncaught Zend_Cache_Exception

SOLVED - see my answer below. I changed my theme and all pages showed only html without any styling. Then I ran sudo php bin/magento setup:static-content:deploy and after website doesnt work and ...
3
votes
2answers
5k views

Disallowed file format in Magento 1.9.2.2 after patch upload

I installed patch 8788 on my Magento shop, but now i get the error "Disalollowed file format." (I think they mean "Disallowed file format.") when i want to upload an image in at my products. How is ...
3
votes
4answers
2k views

Error on login after update to 1.9.3

This is the error, can anyone help me with a solution to this? There has been an error processing your request SQLSTATE[42S22]: Column not found: 1054 Unknown column '...
3
votes
2answers
1k views

How can I get rid of all the various database related erros of N98-magerun?

I wanted to test N98-magerun on my local Mac, using MAMP. I get a lot of errors, for example: "cache:list" results in: [Zend_Db_Adapter_Exception] SQLSTATE[HY000] [2002] No such file or ...
3
votes
1answer
2k views

Magento Module Depends Throws Exception

I'm building an extension, following the official Magento developer's guide, here: http://info.magento.com/rs/magentocommerce/images/Magento-Extension-Developers-Guide-v1.0.pdf In the app/etc/modules/...
3
votes
3answers
623 views

How edit the error page to show custom text instead of “There has been an error processing your request”

I would like to change the look of error page and put different text. What is the path to related file?
3
votes
1answer
420 views

Can anyone tell me how to reindex with Magento 2.0.2

I am not very comfortable with command line in admin but when I run php bin/magento indexer:reindex in the root directory I am getting Status: 404 Not Found X-Powered_By: PHP/5.5.33 content-type: ...
3
votes
2answers
5k views

Fatal error memory exhausted Zend Pdo

I am having an error with memory while browsing my site - my server has increased memory allocation to a large enough level (I think). Does anyone know why I'm getting these errors whilst browsing? ...
3
votes
1answer
6k views

magento session messages printing

I am using magento 1.8. I have custom theme. I am unable to get newsletter error/success messages when customer submit their email-id for subscription. I have done many changes to get and print ...
3
votes
3answers
7k views

Compiling Error: Enabled Compilation before Running a Compile

I went to System > Tools > Compilation and "enabled" before anything was actually compiled and my site returned this error: Fatal error: Class 'Mana_Filters_Resource_Setup' not found in /home/...
3
votes
2answers
2k views

Warning: array_filter() expects parameter 1 to be array

I am getting this warning when im trying to add a product: Warning: array_filter() expects parameter 1 to be array, string given in /html/vendor/magento/module-configurable-product/Controller/...
3
votes
5answers
5k views

TE[23000]: Integrity constraint violation: 1062 Duplicate entry '0' for key 'PRIMARY'

I moved my website from old hosting to new hosting and its giving me error every were like following please any one sort this out There has been an error processing your request SQLSTATE[23000]: ...
3
votes
3answers
462 views

How disable the module related to path Enterprise/GiftWrapping/Helper/Data.php

Recently we are getting the following warning. What is this? How to avoid it as it makes the log very big. ERR (3): Warning: include(Enterprise/GiftWrapping/Helper/Data.php): failed to open stream: ...
3
votes
1answer
3k views

Unable to save the invoice

I have set up a magento store with 5 stores for different sections of the charity. My problem exists in one store only 'fundraising'. The issue is this: when a ticket is purchased through the store ...
3
votes
2answers
3k views

Magento : Use custom error message in shipping method

i have created a shipping method extension in which shipping rate is correctly and even error message is also set when it conditions are sattisfied. My question is when i am trying to set a the error ...
3
votes
2answers
5k views

Magento system.log is filling up with errors

I do not see any obvious signs on the front end of my store however when I enable the system.log and exception.log I'm seeing A LOT of entries. First, from the system log, I'm seeing the following ...
3
votes
1answer
2k views

Template not found: 'include(): Filename cannot be empty' when viewing order details

I am trying to set up a webshop with Magento 1.9.2.4. So far creating orders seems to work on the frontend. However, when I try to view the orders in the admin backend (Sales > Orders > clicking on ...
3
votes
6answers
18k views

Adding a product in Magento “Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 139564 bytes)”

I'm new to Magento and I can see that it is a sophisticated system with a lot of depth, but I've come across many headaches since switching to it from OpenCart. The first and foremost is this error ...
3
votes
3answers
10k views

Magento white page at backend and frontend

After customizing some files last week, both the backend and frontend of the site I’m developing for went blank. I have already searched the internet and tried out some possible solutions, but none of ...
3
votes
3answers
14k views

With .htaccess file Server Gives error “500 : internal server error” [closed]

I installed Fresh Magento in Live Server with a subdomain (shop.example.com) And It given me error 500 : internal server error But If i delete .htaccess the site works properly Without .htaccess ...
3
votes
2answers
1k views

Magento 2: Same ID already exists

I'm having this error when entering one certain category in frontend: Exception #0 (Exception): Item (Magento\Review\Model\Review\Summary) with the same ID "519" already exists. Any ideas what that ...
3
votes
1answer
819 views

Warning: Division by zero in /var/www/magento/vendor/magento/module-backup/Model/Db.php on line 156

When i tried to start a DB backup via: php bin/magento setup:backup --db I got this error: Enabling maintenance mode DB backup is starting... Warning: Division by zero in /var/www/magento/vendor/...
3
votes
2answers
2k views

Magento 2 error occurs when using <preference> to override a model class

I'm trying to override a model class Customer.php, maybe I've configure it wrongly, this error occurs: a:4:{i:0;s:316:"Recoverable Error: Argument 21 passed to Magento\Customer\Model\...
3
votes
2answers
1k views

Magento - Recoverable Error: Argument 1 passed to Mage_Eav_Model_Attribute_Data::factory()

I have a big problem on my website. A few days ago i started getting erros in my system.log. I already looked into them, but due lack of time it was sceduled for tomorrow. But since now customers ...
3
votes
2answers
570 views

Why do bots hit report.php and captcha/refresh?

Lately, some of our clients have had some trouble with report mail spam. When tracing this back, report.php and captcha/refresh were hit alot. My guess is that someone is trying to force errors on our ...
3
votes
2answers
6k views

How to delete extension completely

I tried to install ADDTHISS social networks extension, on first attempt it installed successfully but it was not working properly so I tried re-installing. Now if I try installation, I am getting this ...
3
votes
3answers
2k views

How to set canonical url for homepage in Magento 2.2

I have tried setting below code but i get the below error. <head> <link rel="canonical" src="https://www.example.com/" src_type="url"/> </head> Please correct the XML data ...
3
votes
1answer
1k views

Product page 404 error only sometimes [closed]

I have a weird problem I can say. I'm using Magento 1.9.3.6, and SOMETIMES, NOT ALWAYS, when I want to access the product page, of any product, it gives me an 404 page not found error and if I ...
3
votes
1answer
504 views

Trouble Shooting : Warning: Invalid argument supplied for foreach()

We are having a log build up of errors starting with the title error: 2017-07-12T16:32:09+00:00 ERR (3): Warning: Invalid argument supplied for foreach() in /chroot/home/apollode/apollooutlet.com/...
3
votes
2answers
2k views

Get error when running php bin/magento setup:di:compile

After firing this command in command line php bin/magento setup:di:compile I am getting this error: Cannot declare interface Magento\Framework\App\DeploymentConfig\Writer\FormatterInterface, ...
3
votes
2answers
3k views

Error while sending QUERY packet on static-content:deploy

I get the following error when I use static-content:deploy -vvv. How can I remedy this? If it is an issue with SQL max_allowed_packet, I am on a shared server so cannot change this myself, but may be ...
3
votes
2answers
936 views

Fatal error: Call to a member function getEntityTypeId() on a non-object in /vagrant/app/code/core/Mage/Catalog/Model/Resource/Url.php

I have downgrade the magento from ee to ce edition but , while indexing i am facing this issue .does any one have solution for this. ( ! ) Fatal error: Call to a member function getEntityTypeId() on ...
3
votes
1answer
63 views

Zend error trying to log into admin when switching from shared hosting to VPS hosting

Since I moved from a shared hosting to a VPS hosting plan to get a lot more memory for my website, I have had an issue where i'm completely unable to login to the admin of magento. I'm completely ...
3
votes
1answer
6k views

Magento 2: How to solve an error when reindex by CLI?

I used Magento 2 stable version. when I run Magento setup:upgrade, following error occurred. [InvalidArgumentException] There are no commands defined in the "setup" namespace. And when I run Magento ...
3
votes
2answers
240 views

magento custom module keep throwing error even after deleting all files

i created a module in magento 1.9 CE to override list.php, and there was some issue, then i removed all the files for that module (the xml under module and all files under app/local/mycompany/), but ...
3
votes
1answer
1k views

Magento 1.9.0.1: Email stuck in queque? 'This letter cannot be sent.'

something strange is going on with my Magento install. Everything with the emails used to work fine, but now I have these messages in my exception.log: 2015-05-11T10:00:02+00:00 ERR (3): exception '...
3
votes
3answers
4k views

error 404 after login to admin, nginx and index.php issue, how to solve

I did set NGINX for my server, and use DirectAdmin, also I changed nginx.conf for Magento configs, everything is ok but I have a problem with admin area! I can not login to dashboard, login page ...
3
votes
4answers
2k views

Magento is not installing in localhost(windows): SQLSTATE[42S01]: Base table or view already exists:

I was a regular user of magento 1 month before but now i found difficult to install the magento. Magento is not installing in localhost neither in XAMPP nor in WAMP all the versions and keep on ...
3
votes
1answer
5k views

How to fix “Serve static content from a cookieless domain” to increase the speed of Magento site

I had completed my magento website called www.bookslab.in. I want to increase the speed of my website. I had checked my website speed on "tools.pingdom.com" it is coming "4.34s" page load time & ...
3
votes
1answer
119 views

Magento connect error

I have issue when install Image Optimizer plugins. http://connect20.magentocommerce.com/community/Tiny_Compresss_Images http://connect20.magentocommerce.com/community/Kraken_Image_Optimizer and i ...
3
votes
1answer
782 views

HTTP ERROR 500 when using require(_once) app/Mage.php

(Edit: The first line went missing, just the greetings) Hello guys! I'm both new to Stack Exchange and relatively new to Magento. What I want to do: Use a self-written JQuery Script to get the ID of ...
3
votes
3answers
1k views

Magento Error after transferring onto a different computer localhost

after importing my magento project to a different localhost, i've received the following error: There has been an error processing your request Item (Mage_Core_Model_Store) with the same id "0" ...
3
votes
1answer
136 views

Magento Freightquote Error: Source model “Freightquote_Shipping_Model_Carrier_Source_Class” not found for attribute “freightquote_class”

I installed the freightquote extension to try it out and didn't like it so I uninstalled it. When I uninstalled this extension and go to edit a product I get a fatal error. The error log is below. ...
3
votes
1answer
3k views

Magento REST Error 401 oauth_parameters_absent=oauth_token

Since a week i'm trying to get the REST API to work but without success, i searched the whole internet for a solution. Everytime when i try to connect to the Magento REST API i get the Error 401 ...
3
votes
2answers
3k views

Error importing csv - detected an illegal character in input string

I'm recently having an issue importing a csv file of new products (system>import/export>import). I select entity type: Products, Import Behavior: Append Complex Data, then I add my csv file. After ...
3
votes
1answer
629 views

What problem does this Magento Stack Trace report show?

I have been getting error messages like this one: > There has been an error processing your request Exception printing is > disabled by default for security reasons. > > Error log record ...
3
votes
1answer
5k views

What should Mage::throwException do?

I'm sorry if this is a bleedingly obvious question. I think I am going crazy. I have code that I know is stopping at a specific point. The file I am looking at is app/code/core/Mage/Downloadable/...
3
votes
1answer
123 views

Cannot select conditions for Cart and Catalog Price Rules

I currently have a problem with Magento 2 (2.2.7) where I cannot select conditions in the Catalog or Cart price rules. This problem also occurred on Magento 1 and seems to have migrated across along ...