Questions tagged [exception]

Denotes questions related to exceptions (An unusual condition during computation)

Filter by
Sorted by
Tagged with
0
votes
0answers
16 views

Specific Products Lead to Exceptions at Cart

I have specific "problem products" that lead to exceptions when you add them to cart / progress to cart level. It is very messy and I'm not sure where to begin to fix this. Has anyone encountered ...
0
votes
1answer
34 views

Magento 2.3.2 throws DOMXPath exception in backend (“Stores > Configuration”) after upgrade from 2.2.7

yesterday, I upgraded a multistore Magento 2.2.7 to 2.3.2 (that was a real headache to get it done) and now I am facing a really weird problem. If I navigate (in backend) to Stores > Configuration, ...
0
votes
0answers
11 views

Magento 2 Exception is not working on compare add to cart

I am using the following to throw the exception it is working for me to add to cart prevent. use Magento\Framework\Exception\StateException; use Magento\Framework\Exception\LocalizedException; But ...
0
votes
0answers
20 views

extra parameters passed to parent construct: $customOptionValuesFactory

While installing magento 2 module getting below error on M 2.2.3 CE can u advise? Firebear\ConfigurableProducts\Model\Product\Option Extra parameters passed to parent construct: $...
1
vote
0answers
29 views

Unable to serialize value. at /public_html/vendor/magento/framework/Serialize/Serializer/Json.php:26)"} []

main.CRITICAL: Unable to serialize value. {"exception":"[object] (InvalidArgumentException(code: 0): Unable to serialize value. at /public_html/vendor/magento/framework/Serialize/Serializer/Json....
0
votes
1answer
13 views

main.CRITICAL: Email template '' is not defined. at /public_html/vendor/magento/module-email/Model/Template/Config.php:225)"} []]

in my exception.log i see this error message, I am unable to trace where the exception came from. magento: 2.2.6 main.CRITICAL: Email template '' is not defined. {"exception":"[object] (...
1
vote
0answers
76 views

Getting exception - Element move is not expected

Site Link : https://www.leis.synergixfast.com 1 exception(s): Exception #0 (Magento\Framework\Config\Dom\ValidationException): Element 'move': This element is not expected. Expected is one of (...
1
vote
1answer
30 views

Magento local version doesn't load extensions properly

I have a running live instance of Magento 1.7. I am trying to setup a local dev env. Below is what I've done so far: Copy the project from server Import a dump of the database Edit local.xml with ...
2
votes
0answers
86 views

Notice: Undefined index: magento_eav_attribute_set in/vendor/magento/framework/Setup/Declaration/Schema/Db/SchemaBuilder.php on line 152

bin/magento setup:upgrade Notice: Undefined index: magento_eav_attribute_set in /vendor/magento/framework/Setup/Declaration/Schema/Db/SchemaBuilder.php on line 152 If I understand correctly this is ...
0
votes
0answers
17 views

“General system exception happened” Error when doing the import process

I have had problems when importing, I get that error, I attach the file I used at the time of import Does anyone know how to solve the problem? My version of magento is 2.1.6 https://drive.google.com/...
1
vote
1answer
19 views

SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '213894' for key 'PRIMARY

The magento works fine, and suddently starts giving an exception. The report says: a:5:{i:0;s:96:"SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '213894' for key 'PRIMARY'";i:1;...
1
vote
1answer
30 views

How to “reset” or reinstall Magento 2 without data loss

While working in Magento 2 somehow I have managed to either corrupt some files or permissions. I haven't been messing with xml files but jumping from development to production and back to development. ...
0
votes
2answers
13 views

Error after installing Simiconnetor app builder in magento 2

after installing when i'm tring to access the general setting n simi option i'm getting the followings error Exception #0 (ReflectionException): Class Simi\Simiconnector\Model\Config\Source\ViewType ...
0
votes
1answer
22 views

Magento 2.3.1 : Validation exception in developer mode

When switching from production mode to developer in Magento 2.3.1 the enclosed exception occurs. I have tried to find a solution for 2 days. From what I've read this is probably caused by a .xml file ...
1
vote
0answers
85 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/...
2
votes
1answer
31 views

Blank page showing. Magento 1.9

<?php ini_set('max_execution_time', 93600); ini_set('memory_limit', '4096M'); require str_replace('importers', '', dirname(__FILE__)) . 'app/Mage.php'; error_reporting(E_ALL); ini_set('...
0
votes
1answer
60 views

Magento 2.3.1 Base table or view not found

Magento 2.3.1 keep filling logs with these errors: system.log [2019-05-04 23:30:12] report.INFO: SELECT `e`.*, `cat_index`.`position` AS `cat_index_position`, `price_index`.`price`, `price_index`.`...
0
votes
0answers
16 views

Magento throw new Mage_Payment_Exception 503 error

I'm working on a custom payment extension, when save payment method it validate some inputs added from payment method selection step. if those not valid it returns throw new Mage_Payment_Exception($...
0
votes
0answers
29 views

Magento Show Payment Method Validation

I'm working on a magento 1.9 payment gateway extension. It have a little form on payment method step and when we fill and clickon next button it validate after validate it call to this function /...
0
votes
0answers
35 views

Element 'css': This element is not expected in magento2.2.5

1 exception(s): Exception #0 (Magento\Framework\Config\Dom\ValidationException): Element 'css': This element is not expected. Line: 542 facing this issue in 2.2.5. My store is working fine but ...
1
vote
0answers
33 views

Magento 2 Problem with arguments in di.xml

The problem is this: I have a module, which passes arguments from di.xml to a class. Deploy mode is a developer. When I make changes in any arbitrary module or install a new module, and subsequently ...
0
votes
2answers
39 views

Magento 2 when I click on frontend my account cannot open and it shows error

I am facing this issue. My XML file is app/code/Prayag/Module/view/frontend/layout/cms_index_index.xml <?xml version="1.0"?> <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ...
2
votes
1answer
155 views

Invalid argument supplied for foreach() Error in magento 2.3

I am getting this error on some Products on Magento 2.3 when I try to view them: 1 exception(s): Exception #0 (Exception): Warning: Invalid argument supplied for foreach() in /www/htdocs/...
1
vote
0answers
79 views

Magento 2 Warning: Division by zero : vendor/magento/module-sales/Model/Order/Item.php [closed]

Please Advise on it, i got this error, main.CRITICAL: Warning: Division by zero in vendor/magento/module- sales/Model/Order/Item.php on line 411 {"exception":"[object] (Exception(code: 0): ...
1
vote
0answers
72 views

Magento 1.9 - Sign up - Cannot save the customer

Installed MailChimp on Magento 1.9, now the signup customer not working. It throws "Cannot save the customer". Reviewed the exception log got the below issues. 2019-03-21T10:19:57+00:00 DEBUG (7): ...
4
votes
2answers
214 views

How to resolve Exception #0 (Exception): Notice: Array to string conversion Mailchimp Error

Exception #0 (Exception): Notice: Array to string conversion in /public_html/vendor/magento/framework/View/Element/Html/Select.php on line 244 line 235-244 of the Select.php public function ...
2
votes
0answers
16 views

Product pages open with errors

I don't know if it is the reason to introduce custom CSS. Now my website opens some product pages, which prompts the following error. But some product pages are open normal. How can I solve it?
1
vote
0answers
60 views

CatalogSearch is not working after upgrading to Magento 2.3

Recently I've upgraded from Magento 2.2 to Magento 2.3. After upgrading, CatalogSearch is redirecting to Home page of the website. Previously I /catalogsearch/result was working and shown all ...
2
votes
1answer
16 views

Magento 1.9 - exception 'Mage_Core_Exception' with message 'Invalid block type

Checking the log file of Magento 1.9, in two web site, I find this row: exception 'Mage_Core_Exception' with message 'Invalid block type: ES_Newssubscribers_Block_Newssubscribers How to remove ...
0
votes
1answer
27 views

How to throw exception with stacktrace?

I need my extension to throw an exception which includes a stack trace. I tried Mage::throwException('message') but nothing is logged in var/log/exception.log nor at var/log/system.log nor in the ...
1
vote
1answer
100 views

Getting error after adding arguments in constructor

I have added model in my constructor public function __construct( Context $context, PageFactory $resultPageFactory, \Vendor\Module\Model\Productsgrid $model ) { $this->model = $...
0
votes
0answers
17 views

Intercept any exception

how are you? So, I've been work in integration between Magento 2 and Microsoft Azure Application Insights to log the errors. There is the possibility to listen to all the exception that can occur in ...
0
votes
0answers
40 views

Trying to remove theme

We've had endless headaches with a theme we purchased when we first launched our site so we are trying to finally migrate away from it, but it's not letting go easily. Whenever I am trying to begin ...
0
votes
2answers
137 views

Error during unserialization

I have some problems during importing products and I have repeated this error in exception.log file. exception 'Exception' with message 'Error during unserialization' in /home/mywebsite.com/...
0
votes
1answer
102 views

Handling REST API exceptions

I have an extension that has some code to save a custom object via REST API service. I have a try and catch (\Exception $e) around the save method, but for some reason I get the following message: {...
0
votes
0answers
19 views

Exception Not Working

I have an observer for sales_order_save_before The custom message shows when the user is logged in, but throws the generic message if they are a guest. Does anyone know why this is happening?
0
votes
1answer
13 views

Getting:'Mage_Core_Exception' with message 'Invalid block type:

I just started getting this error in my exceptions log file. I'm running 1.7.0.2 and nothing has been touched on the site in a long time and this is popping up repeatedly. exception '...
0
votes
1answer
342 views

Calling bin/magento return an exception

I have a Magento 2.3.0 website that works correctly but suddenly (maybe after a products import, but also other various activities were done) when I try to call ANY (reindex, deploy...) command of "...
0
votes
0answers
86 views

Exception #0 (Magento\Framework\Config\Dom\ValidationException)

Exception #0 (Magento\Framework\Config\Dom\ValidationException): Element 'action', attribute 'ifvalue': The attribute 'ifvalue' is not allowed. Line: 937
1
vote
3answers
1k views

Error after upgraded to 2.3.0

Recently I had upgraded version from 2.2.6 to 2.3.0 everything is working fine except frontend.It is showing below exception.Admin working perfectly. 1 exception(s):Exception #0 (Magento\...
0
votes
1answer
749 views

Invalid template file:in Magento 2.2.7

When i am installing magento 2.2.7 in my local dev window system using wamp, Than i getting 1 exception(s): Exception #0 (Magento\Framework\Exception\ValidatorException): Invalid template file: 'D:/...
1
vote
1answer
223 views

Magento 2 : Sitemap Generation Warnings - Invalid header line detected

I am using magento 2.2.4. The site is working fine. But everyday I got a sitemap error email. The below lines are in the email. Sitemap Generation Warnings Invalid header line detected Also an ...
0
votes
1answer
240 views

Order not placed in magento2

Not able to place the order in magento2 checkout. getting below error when place order button is clicked. An error occurred on the server. Please try to place the order again. The request to rest/...
2
votes
1answer
910 views

Magento 2: Zend_Http_Exception Invalid header line detected

I am get the following error: [Zend_Http_Exception] Invalid header line detected. In the terminal when running such below commands as: php bin/magento cache:flush or php bin/magento setup:upgrade ...
1
vote
1answer
534 views

Magento 2: Required parameter 'theme_dir' was not passed

I have installed the following module: https://landofcoder.com/magento-2-out-of-stock-notification.html It works like it's supposed to but getting an error. When looking inside the module i see ...
2
votes
0answers
73 views

Element 'argument': The type definition is abstract and The state object to be removed is not the first in the list

I'm throwing this error on my /success/ page and it seems like such a generic error. It looks like further down the trace it's pointing to stuff like GoogleTagManager and other third-party modules ...
0
votes
1answer
295 views

Element 'css': This element is not expected. in Magento 2.2.5 (upgraded from Magento 2.1.9)

1 exception(s): Exception #0 (Magento\Framework\Config\Dom\ValidationException): Element 'css': This element is not expected. Line: 542 facing this issue in 2.2.5. I have upgraded from Magento ...
0
votes
1answer
170 views

Can't add a product to cart

in my store I have some configurable product and other simple product. No problem until this morning. I can't add any product in my cart anymore. I don't know why, I have only this exception : &...
0
votes
0answers
19 views

Magento new admin gives an error and doesn't let me log in with any other admin user

I'm using Magento 1.9.2.4 and i tried to create a user using this code that i found in someone else's answer: define( 'USERNAME', 'supermanXX' ); define( 'PASSWORD', 'supermanXX' ); define( '...
0
votes
0answers
81 views

Loads of system error logs in Magento 1

For instance when i'm clearing cache i get some errors and they are pointing to a core module here: 2018-10-04T15:20:26+00:00 ERR (3): Warning: SimpleXMLElement::__construct(): Entity: line 1: parser ...