Questions tagged [exception]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
24 views

Magento 2 Invalid template file

I am trying to override sales_order_create_index.xml to remove the custom payment method but getting this error 1 exception(s): Exception #0 (Magento\Framework\Exception\ValidatorException): Invalid ...
1
vote
2answers
37 views

Magento 2 : Product pages through exceptions

All Magento products were working properly last week. Now I check that all product pages through exceptions. 1 exception(s): Exception #0 (Magento\Framework\Config\Dom\ValidationException): Element '...
0
votes
1answer
21 views

Magento showing errors in developer mode

I have enabled developer and it's showing me following errors : 1 exception(s): Exception #0 (Exception): Notice: A non well formed numeric value encountered in /opt/bitnami/apps/magento/htdocs/app/...
0
votes
1answer
84 views

I want to set exceptions on add_to_cart button

I am building E-Commerce website in Magento 1.9. I want to add below functionalities on my add_to_cart button on product page: Want to keep add_to_cart button disabled always. I want every user ...
0
votes
2answers
22 views

{“exception”:"[object] (Magento\\Framework\\Validator\\Exception(code: 0): One or more input exceptions have occurred

I'm getting the following issue since today, i'm not able to find out what is going on. It was all working fine for the past few months, and no files was modified recently. What could be the problem? (...
0
votes
0answers
14 views

Exception: Item (Magento\Framework\App\Config\Value\Interceptor) with the same ID “1” already exists

I got this exception while trying to run my new project with docker locally: Exception: *Item (Magento\Framework\App\Config\Value\Interceptor) with the same ID "1" already exists. in /var/...
2
votes
1answer
50 views

Magento CLI 2.4.0 - ErrorHandler is turning PHP errors into exceptions in production mode

Preface: I prefer to develop in developer mode, have Magento catch all PHP E_NOTICE|E_WARNING|etc. errors, throw exception on them, and get these issues cleaned up before committing my code. The issue ...
0
votes
1answer
18 views

Base DB schema didn't create table

In my report_sales > coupons page I get exception Base table or view not found: 1146 Table salesrule_coupon_aggregated doesn't exist And I find out that system didn't create this table (It doesn't ...
0
votes
1answer
52 views

SMTP issue magento 1.9

I am using Aschroder SMTP Pro extension, suddenly the extension stopped working and giving below exception: On Testsite for gmail 2020-07-20T05:37:03+00:00 ERR (3): exception '...
0
votes
0answers
13 views

Uncaught HeadlessChromium\Exception\JavascriptException: Error during javascript evaluation: TypeError: Cannot read property 'outerHTML' of undefined

All I'm trying with the try catch block in the code below is to let the script run without having it to stop on a fatal error. Exception handling doesn't seem to work since the fatal error displays on ...
1
vote
0answers
177 views

Magento 2 : Catalog Layer has been already created

On category page I am getting this exception Catalog Layer has been already created I tried to debug it in vendor/magento/module-catalog/Model/Layer/Resolver.php, for the moment i commented the code ...
1
vote
0answers
14 views

Magento 2 exception Requested product doesn't exist

My site running Magento 2.2.4 has been throwing a high number of exceptions: Requested product doesn't exist. The error comes from method getById() in ProductRepository, line 273: ...
0
votes
0answers
27 views

Invalid template file in module ''

I just installed a new theme, and as soon as I go to the front-end I get this exception: 1 exception(s): Exception #0 (Magento\Framework\Exception\ValidatorException): Invalid template file: '...
0
votes
0answers
19 views

Magento 2.3.4 EE Companies edit not finding the company

I am trying to edit companies using the "Edit" link at the right of the grid of companies. The link the link is trying to get to is as follows /admin/company/index/edit/id/4/key/...
1
vote
2answers
1k views

Error Incomplete installation

I'm a beginner and trying to install Magento 2.3.5 on my localhost. I've tried several times but at a point 51% get the following error message: [ERROR] InvalidArgumentException: Wrong file in C:\...
0
votes
0answers
96 views

Magento 2.3.4 Error parsing attribute name in Entity

I have a Magento 2.3.4 instance. For about a month I started to see in exception.log This error: report.CRITICAL: DOMDocument::loadHTML(): error parsing attribute name in Entity, line: 1 {"...
0
votes
0answers
129 views

Magento 2.3.4 cannot cancel order with coupon

I am having this issue in magento 2.3.4 instance. When a customer who has an account creates an order and a discount coupon is used you cannot cancel it if needed from admin. Error in exception: [...
0
votes
1answer
32 views

Exception #0 (ReflectionException): Class Webkul\MpStripe\Observer\PreDispatchConfigSaveObserver does not exist

How can I fix this? I installed webkul MP Stripe Extension and I am getting this error: 1 exception(s): Exception #0 (ReflectionException): Class Webkul\MpStripe\Observer\...
0
votes
1answer
17 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
17 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
57 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
25 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
1answer
558 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
106 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
733 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
34 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
249 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
22 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 ...
3
votes
1answer
815 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
34 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
230 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
75 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
30 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
30 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
45 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
72 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
1answer
183 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
658 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 ...
4
votes
3answers
3k 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\...
1
vote
0answers
77 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
617 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
34 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
2answers
207 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
25 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
338 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
246 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() ...
1
vote
2answers
163 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 '...
2
votes
1answer
997 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, ...
1
vote
0answers
183 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
183 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
2 3 4 5 6