Questions tagged [exception]

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

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

magento 2.2.7 - An exception was raised while creating “Request”; no instance returned

I have an issue with console, when running the following commands: php bin/magento cache:flush php bin/magento set:upgrade php bin/magento setup:di:compile php bin/magento setup:static-content:deploy ...
0
votes
1answer
9 views

Login bad credentials error

When I try to login as costumer at LoginPost it gives this error Exception #0 (Magento\Framework\Exception\InvalidEmailOrPasswordException) My login post is /** * Copyright © Magento, Inc. All ...
0
votes
0answers
16 views

Can't save order data to a file with mass action Exception error

Why can't I save data to a file? What am I missing? The code without FileFactory works fine. <?php namespace Test\Admin\Controller\Adminhtml\Export; use Magento\Backend\App\Action\Context; use ...
0
votes
2answers
30 views

No element found with ID 'reviews.tab'

I'm facing this issue. Exception #0 (OutOfBoundsException): No element found with ID 'reviews.tab'. Anyone have an idea about this one? 1 exception(s): Exception #0 (OutOfBoundsException): No ...
0
votes
0answers
18 views

Magento 2: “Area code is not set” after setup:upgrade

I updated composer modules via composer:update and wanted to update magento by using setup:upgrade command. It fails with this error message: Updating modules: Area code is not set [Magento\...
1
vote
0answers
95 views

M 2.3.4 - “Infinite loop detected…” exception on OPC, how to get items in the cart?

I'm trying to get quote on checkout and this exception is thrown in vendor\magento\module-checkout\Model\Session.php:241 exception.log Message: Infinite loop detected, review the trace for the ...
2
votes
1answer
54 views

Magent 2 - Exception logs check

In Magento 2 I got a message to check exception error logs. How can I check that?
0
votes
6answers
74 views

how to empty .log file in magento 2?

how to empty .log file in Magento 2 from Terminal ? system.log exceptional.log debug.log
2
votes
0answers
28 views

Magento 2.3 - How to call html file instead of exception?

I want to call the HTML file in this function. Currently, it is showing exception but I want custom HTML design to display. Magento/vendor/magento/framework/app/bootstrap.php if ($isOn && ...
0
votes
1answer
54 views

Magento\Framework\Config\Dom\ValidationException: Element 'argument': Duplicate key-sequence

I have an error when the developer-mode is active. The Exception is thrown out when entering any product detail page. I am running Magento 2.3.4. could you please help in finding a solution 1 ...
0
votes
0answers
13 views

Enabling additional debug info in exception/debug log during setup upgrade (CLI)

Please, I am looking for a solution to have some advanced logging in the exception log. In context: I am encountering an error in CLI during setup: upgrade: SQLSTATE[42S02]: Base table or view not ...
1
vote
1answer
163 views

Magento 2.3.3 installation with composer fails: Could not delete

I'm trying to install Magento 2.3.3 on Debian 9 over a virtual machine. I'm stuck during the magento installation process because of the magento-composer-installer plugin. I also did a manual ...
0
votes
1answer
24 views

Magento2.3.2 exception(s): Exception #0 (Magento\Framework\Exception\LocalizedException):

Facing error while exporting customer main file Help to solve this issue...
0
votes
0answers
53 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
39 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
23 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
14 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
40 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
35 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
108 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
156 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
34 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": ["...
3
votes
3answers
2k 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
33 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
22 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
272 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
27 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
43 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
96 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
24 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
98 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
108 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
45 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
140 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
42 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
21 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
503 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
20 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
49 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
125 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
55 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
282 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
32 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
464 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
45 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
26 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
48 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 ...

1
2 3 4 5 6