Questions tagged [exception]

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

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

I am getting "falseException: Warning: Cannot modify header information in magento 2?

I am getting below exception (only for logged in user)when the controller returns a response to knockout js. "falseException: Warning: Cannot modify header information - headers already sent by (...
0
votes
0answers
28 views

Cannot delete products from store

We are noticing that in our Magento 2 store we are unable to delete products, individually or in bulk, from the catalog page. When selecting a product and hitting Delete, we get an error that says the ...
0
votes
0answers
19 views

Getting Session Handler Exception when reloading the cart page after adding the product and with price update from Magento 2 admin

I am getting the Session Handler Exception 1 exception(s): Exception #0 (Exception): Warning: SessionHandler::read(): Unable to clear session lock record in /home/aba7pels9rrm/public_html/vendor/...
0
votes
0answers
13 views

Unable to clear session lock record error when clicking on Sales order view in admin Magento 2.2.7?

Warning: SessionHandler::read(): Unable to clear session lock record in /var/www/vendor/magento/framework/Session/SaveHandler/Native.php on line 22 I am getting the above error when clicking on the ...
1
vote
1answer
36 views

Admin Dashboard not working after adding Sirena theme (from envato marketplace)

I purchased Magento Theme from Envato Marketplace & added to my store as per there guidelines. Tried many different times and on different servers & at last when logging into the admin panel, ...
0
votes
1answer
33 views

Magento 2 - Exception: File can't be read in Magento static content deploy

Please tell me where is the problem. I used bin/magento setup:upgrade and bin/magento setup:static-content:deploy en_GB en_US -f
0
votes
0answers
70 views

Magento 2.3 : “the error evolution”_from entity CustomerId= to index file Undefined

I have a problem with Magento 2.3, when I use X-debug on the checkout part, I have the following exception : Exception has occured. Magento\framework\Exception\NosuchEntityException: No such ...
1
vote
2answers
102 views

Magento 2.3: InvalidAgumentException: Composer could not find the config file

I have a problem with Magento, I use X-debug for trying to debug Magento and I have the following Exception: Exception Has ocurred. InvalidArgumentException: Composer could not find the config ...
0
votes
0answers
32 views

Where can I find documentation on Magento error messages?

I'm trying to find documentation containing a list of Magento2 error messages that can be returned from REST API calls, like this for example... {"message": "Invalid product data: %1","parameters": ["...
2
votes
3answers
1k views

Magento 2.3: temando.CRITICAL: “accountID” is required. Enter and try again

I update Magento 2.2.6 to 2.3.1 and I have this error in which I didn't find any information : temando.CRITICAL: "accountId" is required. Enter and try again. {"exeption": "[object] (Magento\...
0
votes
0answers
26 views

Magento 2: CouldNotSaveException with html parsed

I am using Magento\Framework\Exception\CouldNotSaveException $message = "International Shipping is not available for the following product(s): "; foreach($nonEligibleProducts as $product){ $...
1
vote
0answers
17 views

Element 'referenceContainer': This element is not expected. Expected is one of ( action, arguments, block, container, referenceBlock, uiComponent )

I am getting this error on home page 1 exception(s): Exception #0 (Magento\Framework\Config\Dom\ValidationException): Element 'referenceContainer': This element is not expected. Expected is one of ( ...
0
votes
1answer
128 views

Uncaught Error: Function name must be a string magento 2

Fatal error: Uncaught Error: Function name must be a string in /Applications/MAMP/htdocs/magentoshop/app/code/Magestore/couponoverride/Model/CouponManagement.php:74 Stack trace: #0 [internal ...
1
vote
0answers
25 views

Magento 2: Adding Extra Parameters to Exception

I need to return error codes instead of messages in the exception. For example, what I am looking for is below throw new \Magento\Framework\Exception\LocalizedException(__("number is incorrect"),"...
0
votes
0answers
34 views

Magento 2 Invalid Document Element 'resource': This element is not expected

At the time of php bin/magento setup:upgrade getting below error message in Magento 2.3.1 Invalid Document Element 'resource': This element is not expected. Expected is ( resources ). Line: 9 ...
0
votes
0answers
33 views

Class does not exist ReflectionException keeps coming back

We have a Magento 2.1.5 project. We are getting strange errors. At some moment the website works properly and the next day we get an error when we login to the admin. We get the following error: ...
0
votes
0answers
18 views

Getting Exception error while syncing the magento site from live to staging

I am a newbie when it comes to Magento and I was tasked with syncing our live magento 2.2.7 site with the staging. ( Copying changes from live to staging). We are using apache 2 on a cloudways, Linux ...
0
votes
2answers
74 views

Exception Plugin class doesn't exist [duplicate]

I try to create a plugin and getting following error Loginpost/Redirect/frontend/etc/di.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
2
votes
1answer
23 views

An exception was printed during migration, but I don't know what it means

An exception was printed to the console during migration. Please tell me what you mean. My migration procedure is as follows. 1.Installed Magento version 2.2.6. 2.The application and database were ...
0
votes
1answer
52 views

LogicException: Unknown module in the requested list: 'Amazon_Core' in

I am trying to install magento-2.3.2 in my windows 10 64 bit system. First of all I clone from magento 2.3.2 repo. git clone https://github.com/magento/magento2.git and then I run composer install ...
0
votes
2answers
66 views

Magento 2 : Exception #0 (InvalidArgumentException): Invalid return type

Exception Exception #0 (InvalidArgumentException): Invalid return type #0 /var/www/html/magento/folder/vendor/magento/framework/App/Bootstrap.php(258): Magento\Framework\App\Http->launch() ...
0
votes
0answers
39 views

Export Custom Gird CSV and Excel file not working

I have followed how to make CSV and Excel from here Export to csv showing undefined index UiComponentFactory.php but an exception is throw while clicking export Exception #0 (Magento\Framework\...
0
votes
0answers
102 views

Magento 2.3.2 - Zend Exception after Update: Image CAPTCHA requires FT fonts support (FreeType is installed!)

We recently updated Magento CE 2.3.1 to 2.3.2 on an dev server (Debian/Apache) incl. updating libsodium. Since yesterday I get the following exception when trying to access to website (does not ...
1
vote
2answers
30 views

Finding Source of Exception: Attribute is Not Allowed

After updating to a new version of Magento, our store is giving us the following exception: 1 exception(s): Exception #0 (Magento\Framework\Config\Dom\ValidationException): Element 'meta', attribute '...
0
votes
0answers
20 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 ...
1
vote
1answer
313 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
19 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
39 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
98 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
39 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
217 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
31 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
377 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
35 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
23 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
45 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
14 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
37 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
2answers
863 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
34 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
186 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
25 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
53 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
51 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
72 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
58 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
706 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
189 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
143 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): ...
5
votes
2answers
837 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 ...