Questions tagged [exception]

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

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

Transport Exception : Content-Length mismatch Installing Magento 2.3.6

I have to install the magento 2.3.6 on my vagrant VM it actually already working on other VMs but today I have created another VM and start installing the magento2 but got this weird error at some ...
0
votes
1answer
15 views

Array to string conversion on File upload functionality in Magento2

I am getting this error after I put a file upload button.When I click save I got this error [2021-01-20 05:42:43] main.CRITICAL: Exception message: Notice: Array to string conversion in /var/www/html/...
0
votes
0answers
19 views

Autoload, Registration error on Magento Community 2 installation using Docker on Windows 10 Pro

I am attempting to get Magento 2 Community working in my local environment using Docker and am running into the same error when I finally get to check the admin screen. After I've finished installing, ...
1
vote
0answers
18 views

When we run di:compile then getting error in magento 2.1.3

When we run command di:compile then we are getting error. we are using magento 2.1.3 sudo php bin/magento setup:di:compile Compilation was started. Area configuration aggregation... 5/7 [==============...
0
votes
0answers
28 views

Magento 2: issue with elasticsearch7

After upgrade magento to 2.4 and enable elasticsearch7 every few hours I get the error below and all products in the category disappear. I have to run the re-index manual, and then everything is fine. ...
0
votes
0answers
24 views

Magento dom validation exception

I get this error on my product page and only for specific products. Exception #0 (Magento\Framework\Config\Dom\ValidationException): Element 'handle': Character content other than whitespace is not ...
0
votes
0answers
25 views

M2: Exception #0 (Exception): Notice: Undefined index: id in

I upgraded Magento from 2.3.4 to 2.4 After upgrade,it's impossible to open stores ---> configuration I got Exception: 1 exception(s): Exception #0 (Exception): Notice: Undefined index: id in /home/...
0
votes
0answers
23 views

Getting this error in my contactformpage

Hi I am facing the following problem. Currently using Magento 2.3.3 Exception #0 (Magento\Framework\Config\Dom\ValidationException): Element 'block', attribute 'class': [facet 'pattern'] The value '...
0
votes
1answer
14 views

Notice: Undefined index after migration from magento 1.7.0.2 to magento 2.3.4

Notice: Undefined index: in /home/tbnet/public_html/m2.3/vendor/magento/module-developer/Model/View/Page/Config/RendererFactory.php on line 70 how to solve this error? cannot access m2.3.4 backend
0
votes
1answer
30 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
38 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
33 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
46 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
17 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
99 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
20 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
64 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
15 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
377 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
20 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
32 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
26 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
2k 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
160 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
201 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
40 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
18 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
73 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
27 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
785 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
112 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
1k 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
35 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
386 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
23 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
1k 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
42 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
92 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 ...
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
99 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
218 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
956 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
4k 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
119 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
731 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
44 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
229 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
26 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 ...

1
2 3 4 5 6