Questions tagged [exception]

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

Filter by
Sorted by
Tagged with
1 vote
0 answers
11 views

Can't check requested quantity for products without Source Items support at reindexing

Please help regarding this issue.
0 votes
1 answer
44 views

Exception #0 (ReflectionException): Class Ves\PageBuilder\Model\Config\Source\ElementList does not exist

Magento 2.3.7, PHP 7.4.30 I installed the VES Page Builder extension (downloaded file from land of coder) manually, according to their readme: Upload module files in the module packages in to folder: ...
  • 11
0 votes
2 answers
127 views

Get concrete error message of CouldNotSaveException

We need to get concrete error message when Magento\Catalog\Model\ProductRepository throws CouldNotSaveException during saveProduct() private function saveProduct($product): void { try { $...
  • 3,353
0 votes
1 answer
196 views

Magento 2 Message Queue - Type Error with expected string, null given

First of all, I am not new to Magento 2 development, I know how to create modules. However, I struggle for 3 days now to get a simple Message Queue in Magento 2 to work. Here are my XML files: ...
  • 355
1 vote
0 answers
32 views

Filter Creditmemmos with Date is throwing error in admin

While In admin and filter the creditmemos with specific dates it throwing exception. UI component could not be rendered because of system exception , errorcode: "23000" Tried clearing cache,...
1 vote
1 answer
34 views

Magento 2 : How to correctly return 401 unauthroized in graphql request

Existing Magento GraphQLExceptions return 200-th http code. What would be a correct way to throw 401 for example? Or at least show custom status code in response.
1 vote
0 answers
34 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
58 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 ...
  • 145
0 votes
0 answers
47 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": [ { ...
  • 11
0 votes
1 answer
29 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
94 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
1k 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 ...
  • 370
0 votes
2 answers
1k 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\...
  • 13
0 votes
1 answer
688 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 ...
  • 21
0 votes
2 answers
217 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 ...
  • 9,857
0 votes
1 answer
80 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\...
  • 576
0 votes
1 answer
288 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
59 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 ...
  • 1
0 votes
1 answer
48 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 ...
  • 13
0 votes
0 answers
56 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
255 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
61 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
459 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
454 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
352 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
682 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/...
  • 2,106
0 votes
0 answers
153 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
91 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
652 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 ...
  • 60
1 vote
1 answer
58 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
129 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
104 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
368 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
781 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
51 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
268 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 '...
  • 749
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
121 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
165 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:\...
  • 11
0 votes
1 answer
268 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\...
  • 1
0 votes
1 answer
50 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 ...
  • 354
0 votes
2 answers
428 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 ...
  • 898
2 votes
1 answer
129 views

Magent 2 - Exception logs check

In Magento 2 I got a message to check exception error logs. How can I check that?
2 votes
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
62 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 && ...
  • 384
0 votes
1 answer
957 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 ...
  • 39
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 ...

1
2 3 4 5 6