Questions tagged [exception]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
44 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
2answers
18 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
1answer
18 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
1answer
29 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
1answer
21 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
1answer
31 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
0answers
46 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
1answer
111 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
1answer
16 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
0answers
12 views

Magento 2 save all Exception in db using one class

I want to store all exception log in db using one class, observer or plugin. Any help would be appreciated
0
votes
1answer
21 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
1answer
225 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
250 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
129 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
0answers
56 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
170 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
35 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
97 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
75 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
26 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
146 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
1answer
46 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
65 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
95 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
173 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
1answer
350 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
27 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
143 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
0answers
914 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
41 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
1answer
58 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
1answer
104 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
26 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
2answers
212 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
1answer
1k 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
123 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
3k 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
51 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
691 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
1answer
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
1answer
83 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
180 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
55 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
206 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
318 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
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 ...
5
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
337 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
1k 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
2 3 4 5 6