Questions tagged [exception]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
10 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
19 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
10 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
16 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
10 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/...
0
votes
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
32 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
65 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
24 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
12 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
43 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
22 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
364 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
94 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
274 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
30 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
136 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
21 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
510 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
29 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
142 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
52 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
25 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
26 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
41 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
41 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
141 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
277 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
48 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
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\...
0
votes
0answers
58 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
48 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
484 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
30 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
56 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
34 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
19 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
160 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
245 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
162 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
49 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
195 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
86 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
741 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
152 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
111 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
320 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 ...

1
2 3 4 5 6