Questions tagged [exception]
Denotes questions related to exceptions (An unusual condition during computation)
273
questions
1
vote
0
answers
29
views
Magento 2 we are unable to change attribute set from product edit
it shows an error in the exception log and the screen is stuck when trying to change the attribute set of the product
0
votes
0
answers
30
views
Is it a bad practice to throw an exception in the plugin?
Let's say one wants to use a before plugin. Also let's say under a certain circumstance it is impossible to do so, therefore we want to throw an exception.
However it doesn't feel right to do so; but ...
0
votes
0
answers
18
views
M2 Rest API, product attributes options
I'm having trouble creating options for a custom attribute.
Using this API, I get an exception?
POST /rest/default/V1/products/attributes/color/options
{
"option": [
{
...
0
votes
1
answer
17
views
General system exception happened - The custom_range value wasn't found in the algorithms
When importing a csv spreadsheet I am getting the following error:
0
votes
1
answer
52
views
Magento2 : How to override /vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php
Does anyone know how to override this file?
0
votes
1
answer
430
views
Magento 2.4 "Bad Request 400 Exception" when using Elasticsearch
I've recently upgraded my Magento version 2.4 and set Elasticsearch as the catalog search option, testing the connection gives a success message but when I try to search on the site itself I get an ...
0
votes
2
answers
416
views
How to solve this Exception #0 (Magento\Framework\Exception\StateException): The bucket doesn't exist
1 exception(s):
Exception #0 (Magento\Framework\Exception\StateException): The bucket doesn't exist.
Exception #0 (Magento\Framework\Exception\StateException): The bucket doesn't exist.
#1 Magento\...
0
votes
1
answer
392
views
Magento 2 Graphql Exception handling
I would like to customise the error messages displayed in my GraphQL queries for a coupon code in m2.
You should implement the \GraphQL\Error\ClientAware interface to handle errors in your module ...
0
votes
2
answers
71
views
Magento after setup ReflectionException Class Magento\Search\ViewModel\ConfigProvider does not exist
I setup my project in localhost and I get the below error when try to access frontend.
Exception #0 (ReflectionException): Class Magento\Search\ViewModel\ConfigProvider does not exist
My project is ...
0
votes
1
answer
29
views
Error message is not showing on Login Observer?
The error message is not showing on Login Observer if the error occours.
observer file is :
<?php
namespace Orbitx\Emailblock\Plugin;
use Magento\Framework\Controller\ResultFactory;
use Magento\...
0
votes
1
answer
61
views
How to solve ReflectionException?
I am completely new to magento and trying to install product recommendations module. Prior to that I tried installing its dependencies i.e saas_export and data_services modules.
But when I access ...
0
votes
1
answer
38
views
Invalid template file in a payment gateway
I installed a payment gateway extension, and when placing an order with that specific payment gateway. I cannot view the order in the admin panel, when I click on the order number to view it, I get ...
0
votes
1
answer
35
views
Exception not getting Caught in childHtml
I have a try catch block where inside of try I navigate to different set of childHtml based on a if-else in the parent .phtml file and if there is any error, I need to catch them. Problem is, the ...
0
votes
0
answers
53
views
How to solve Type Error occurred when creating object: Webkul\MpBlog\Block\Account\Navigation?
1 exception(s):
Exception #0 (Magento\Framework\Exception\RuntimeException): Type Error occurred when creating object: Webkul\MpBlog\Block\Account\Navigation
Exception #0 (Magento\Framework\Exception\...
0
votes
1
answer
182
views
ReflectionException Class Mirasvit\Core\Model\ModuleFactory does not exist, when running setup:di:compile or setup:upgrade
I received the following error when I run the command
php bin/magento setup:di:compile
Error
[ReflectionException]
Class Mirasvit\Core\Model\ModuleFactory does not exist
The extension provider ...
0
votes
1
answer
17
views
Spreadsheet layout validation
I created a feature to check if a spreadsheet has the correct layout, before uploading it to the database, it works perfectly for spreadsheets that are outside the requested standard. The problem is, ...
0
votes
1
answer
52
views
Divide by Zero Error on a Bookstore template
I'm trying to work with a template on a bookstore site (M2.3.6). I added a new configurable product with 2 configurations and when I did, I got this error:
Error filtering template: Warning: Division ...
0
votes
1
answer
382
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
1
answer
391
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
0
answers
249
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, ...
0
votes
0
answers
415
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
0
answers
124
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
1
answer
63
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
1
answer
397
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
1
answer
54
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
1
answer
105
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
1
answer
102
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
2
answers
286
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? (...
2
votes
1
answer
599
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
1
answer
34
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
1
answer
220
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 '...
3
votes
0
answers
1k
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
0
answers
78
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
1
answer
121
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
2
answers
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
1
answer
211
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
1
answer
33
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
2
answers
366
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 ...
1
vote
1
answer
2k
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
1
answer
125
views
Magent 2 - Exception logs check
In Magento 2 I got a message to check exception error logs. How can I check that?
1
vote
6
answers
4k
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
0
answers
61
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
1
answer
886
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 ...
3
votes
1
answer
2k
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
1
answer
99
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
0
answers
251
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
1
answer
65
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
1
answer
297
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
1
answer
366
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
2
answers
2k
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 ...