Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

Questions tagged [error]

Questions about PHP error messages and error logs

Filter by
Sorted by
Tagged with
4
votes
2answers
52 views

broken minicart - urgent

I have attempted to edit the minicart on our webstore, however this resulted in an error occurring which seems to be quite common but no one seems to have an easy fix. The minicart now outputs a JS ...
4
votes
0answers
343 views

No ack for postMessage cookie_check (Onepage Checkout error)

In onepage checkout page, in browser's console, I can see the following error Error: No ack for postMessage cookie_check .......... post-robot.js:268:32 This is a file located here https://www....
4
votes
0answers
666 views

Multiple Category Image Attributes Not Working Together (Uncaught TypeError: value.map is not a function)

I've created a custom module to get an additional image uploader on my categories using the following tutorial. https://belvg.com/blog/how-to-add-image-attribute-to-a-category-in-magento-2.html It ...
4
votes
1answer
1k views

Grunt watch doesn't watch _theme.less and custom less file

That's my css/source file structure: https://i.stack.imgur.com/5tNxJ.png I made grunt clean, theme exec, theme less, watch. Watch is responsive to any less file changes accept of _theme.less and ...
4
votes
1answer
2k views

magento2 -custom layout file not loading

i have followed the below link in order to get check if our custom layout xml file is loaded or not using the event: layout_generate_blocks_after In the log file i just get: 2016-06-29T11:07:40+00:...
4
votes
1answer
850 views

Configurable product super attribute Integrity constraint violation error

I have a script that create new configurable product, but I get an error when I try to save the super attribute price configuration, here's my code: function createConf(){ //other code before... $...
3
votes
3answers
5k views

Set Error Message Once Per Page Request

I'm trying to create a minimum total checkout module that will prevent someone from checking out with a total less than a configurable amount. I'm using the event sales_quote_save_before to display ...
3
votes
4answers
7k views

Security patch SUPEE-1533 error “Patch can't be applied”

I am using Magento CE 1.9 and trying to install security patch SUPEE-1533 but it's giving me this error: Checking if patch can be applied/reverted successfully... ERROR: Patch can't be applied/...
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
339 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
5answers
15k 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
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
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
643 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
5answers
6k 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
1answer
423 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
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
958 views

magento 2.3.0 Product With customizable options showing error The product's required option(s) weren't entered

On Magento 2.3.0 i created simple product Then i added 1 customizable option with checkbox not required. After saving product when i click on Add to cart button without selecting checkbox (Because it ...
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
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
3answers
470 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
6answers
19k 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
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
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
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
98 views

Magento 2 Backend fails when using CLI “setup:upgrade”

When I try to use the following command in CLI: php bin/magento setup:upgrade The entire Admin part of my Magento 2 site stops working and only shows a white page with the following error: 1 ...
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
924 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
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
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
637 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
3k 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
2k 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
2answers
298 views

Installed SUPEE 8788 patch not recognizing Magereport [duplicate]

I have installed the SUPEE 8788 patch without using SSH. I am using following link How to install SUPEE-8788 without SSH But magereport not recognized this patch. My magento version is 1.9.2.4
3
votes
1answer
551 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
970 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
65 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
668 views

Error while executing the EAV install script?

I have created an EAV module and when I run the install script the following error appears. Error in file: "/var/www/html/carparks/app/code/local/Easyinnovates/Carparks/sql/...
3
votes
3answers
2k views

“Joined field with this alias is already declared” sort by custom attribute shows error

I already had one custom sort by attribute which is agency_id but when i try to add new sort by attribute Location it shows me this error. a:5:{i:0;s:48:"Joined field with this alias is already ...
3
votes
2answers
250 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 '...