Questions tagged [debugging]

The tag has no usage guidance.

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

My checkout got a width of 1500%, how do UI library grid make sense here?

After upgrading to Magento 2.3.2 and using the latest Magento, the <div class=".opc_wrapper"> in our checkout got a width of 1500% making it ugly. We are actually using https://github.com/...
6
votes
1answer
52 views

How to debug that tax_class_id gets overwritten

How can we debug or reproduce the following problem: We noticed that the tax_class_id of almost all products (96%) get reset to 0 so we mass updated the tax class of the products back to normal. The ...
1
vote
0answers
19 views

Possible bug in and handling of getOrigData when updating tier prices, goes away when cleaning the cache

We are on Magento 2.2.8 and I was debugging the following issue for hours: When sending a product-update via the REST API, we were getting Unique constraint violation found for a request as simple ...
0
votes
1answer
16 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
1answer
32 views

How do I prevent interceptor classes from being generated so I can debug?

I'm using xdebug to set breakpoints in Magento Commerce, which is installed locally on Ubuntu. I have a breakpoint set in vendor/magento/framework/App/FrontController.php. However, that breakpoint ...
1
vote
2answers
46 views

Unrealistic error description on developer mode

I m running Magento2.3 and getting below error. How can I find where exactly error in file. which XML is causing the issue? Please, can anyone guide me on this? This is very confusing to solve ...
10
votes
2answers
315 views

Whats the purpose of lockedLoadData / uncached page build takes around a minute, spent in usleep

I think since the update to Magento 2.3.1 I have problems with uncached page loads (during development). I did a blackfire.io trace and it turns out that 42 seconds are spent in usleep here. Now I ...
3
votes
1answer
128 views

Magento 2 : How to detect if payment has failed

How can I check a payment process failed while ordering in Magento 2? I want to set some logic if payment failed during order placing. Payment can be done from any payment method like PayPal, debit ...
7
votes
3answers
177 views

Trying to reproduce (and fix) “options is undefined” in customer-data:90

We are sporadically facing the following problem when on /checkout/cart/. As an effect, clicking on "Proceed to checkout" does not work. We believe the proceeding is not working because of the ...
1
vote
3answers
124 views

Magento2: how to debug in sales_order_place_after event

registration.php <?php \Magento\Framework\Component\ComponentRegistrar::register( \Magento\Framework\Component\ComponentRegistrar::MODULE, 'Hafiz_Sms', __DIR__ ); etc/events....
0
votes
0answers
41 views

Magento 2.2.6- After Migration all default Payment Methods are not working fine

After migration from Magento 1 to 2 default Payment Methods Paypal, Braintree and Authorize.net are not working. They are displayed in the checkout but when we place order through those methods ...
1
vote
0answers
64 views

CatalogSearch is not working after upgrading to Magento 2.3

Recently I've upgraded from Magento 2.2 to Magento 2.3. After upgrading, CatalogSearch is redirecting to Home page of the website. Previously I /catalogsearch/result was working and shown all ...
1
vote
0answers
31 views

Logging Magento 1.9 database queries. What doe the

With the below code, what does "#0000000005dc945b000055af41b2fb74#" from lines 5 and 6 represent? Is this related to the PID or session hash? Any idea. This code is taken from database queries after ...
5
votes
1answer
517 views

Some very few images are rendered with inverted colors by Magento

We have the problem, that one image in the catalog is shown negatively in Magento below the gallery: Original I tried to reproduce with n98-magerun2 dev:console $i = $di->create('\Magento\...
0
votes
1answer
126 views

Template debug areas on transaction emails

We are sending out order confirmation emails programatically using the following code in Magento 2: # Now send out the emails: $emailSender = $objectManager->create('\Magento\Sales\Model\Order\...
2
votes
1answer
889 views

Magento 2 PHPSTORM Xdebug Configuration setup

How to setup and use Xdebug in Magento 2 which is very necessary tool for Magento 2.
0
votes
1answer
28 views

What kind of Magento (2.3) Installation is Best for Future any Updates?

For further future updates what kind of installation is best , Command-line installation (or) Setup Wizard installation
0
votes
1answer
32 views

Debugging customer session issues… tools?

We periodically run into issues on our M2.2.3 website, where customer cannot seem to complete their checkout process (spinning circle for example). It has been a nightmare to try and debug these ...
0
votes
1answer
132 views

Debugging “Invalid return type” in generated code?

Is there a way to track down this error report? stdClass Object ( [0] => Invalid return type [1] => #0 /home/maxxcou1/public_html/mag2/generated/code/Magento/Framework/App/Http/...
0
votes
2answers
507 views

Magento 2 debugging js ui component in browser

As i am searching debugging of ui component i don't find any great articles to debugging ui component in browser console so here i am writing my question. As we all know magento current system is ...
1
vote
1answer
771 views

You need to choose options for your item even if option is chosen - Magento 2

I get this error on all configurable products "You need to choose options for your item" when i try to add a product to cart even if size and color option are chosen Magento 2.2.5 This error is only ...
2
votes
0answers
28 views

After update from Magento 2.1 to 2.2.5, categories are not displayed because is_active is missing

After an update to 2.2.5 it turned out, that all categories are not shown anymore. Debugging the issue revealed, that $category->isActive() just is null. Debugging further showed that ...
1
vote
2answers
508 views

How to debug php which is run by cron job only

I am trying to customize Ebizmart Mailchimp extension. This extension has few batch processing which are run by Cron job. My Server is in Ubuntu VM and my IDE is netbean run on Windows. Debugging ...
0
votes
2answers
183 views

Debug problems on Mage::getSingleton('checkout/cart')->getQuote()

I'm investigate a compatibility problem with two m1 extensions. For this I need a simply output of any information I can get about Mage::getSingleton('checkout/cart')->getQuote(). I have tried ...
2
votes
1answer
197 views

Magento2 : Not able to Log Order Details when order is Placed

I am trying to print order details in Log /return JSON result when a new order is placed. Nothing is printing in System.log or in exception.log, Please check my code below, Let me know where I am ...
1
vote
1answer
86 views

Get source xml of error

Is there a way to resolve any xml-file that causes an error? I cannot find the source file that causes this error (happens on checkout): Magento\Framework\Config\Dom\ValidationException): Element '...
0
votes
1answer
260 views

Magento1.9: Customer Account Information Edit Form Admin Dashboard

Where can i find the template form for this account information Tab magento 1.9?
3
votes
1answer
804 views

OnePage Checkout Page Error - Free Shipping error : “Please specify a shipping method”

My condition, free shipping for selected zip-code/postal code, range is, from 600003 to 600151 I am using Shopping Cart Price Rule, my workout Note : Shopping Cart Price Rule condition Matching ...
0
votes
1answer
108 views

Magento Catalog Setup Script Can't Complete [closed]

I'm having trouble getting some of my modules to complete their setup scripts. Looking at the core_resource table shows that catalog_setup has a higher version than data version. This has been a ...
0
votes
1answer
333 views

Profiler not showing logs on Front-End but showing on Back-End on Magento 1.9.x

I have been trying to debug or troubleshoot my Magento Store (version 1.9.2.1) for a few days now. It's bottlenecking and hitting the server resource limits. But I am stuck on trying to get my ...
1
vote
0answers
38 views

Profiler: every page load produces twice entries in aoe profiler runs grid. Is frontend “executed” twice?

I'm currently doing some bottleneck hunting on my M1. I've installed AOE Profiler. I do some test on category page. In the backend (System > AOE Profiler) I noticed there is twice entries at every ...
1
vote
1answer
63 views

Magento 2 : Error when getting sub categories

I have this function in my block. public function getSubcategoryByUrlkey($url_key) { $categoryCollection = $this->_categoryCollectionFactory->create() ->...
0
votes
1answer
55 views

How to alter or log a variable in a plugin?

Background I've built a custom shipping method. It follows almost an identical pattern to the magento shipping method classes. It works as expected. Then I added a plugin to check if a coupon code ...
1
vote
1answer
392 views

How to stop flow from observer in Magento2 without using die or exit?

I have a custom observer and I am intercepting calls in some situation I want to return some specific data and prevent Magento to proceed with its flow, how can I achieve this without using die or ...
1
vote
0answers
34 views

Magento 1.7.0.1 UPS XML rates incorrect when Free Method of Ground is enabled

I don't often get completely stumped, but has anyone see this before. When rates were being calculated using Magento 1 UPS method set to XML rates were being returned but completely off. The first ...
1
vote
0answers
97 views

Debug Detective: Checkout Success Periodically Gets Skipped in Magento 2.2

I'm having a strange problem after customers complete checkout in Magento 2.2. About 15-20% of the time when they click "Place Order," the order is placed on the backend and they see the "You have no ...
0
votes
0answers
87 views

Magento 2.2 login page Element 'action', attribute 'ifvalue': The attribute 'ifvalue' is not allowed

In developer mode my login page is displaying the following error: Magento 2.2.0 login page Element 'action', attribute 'ifvalue': The attribute 'ifvalue' is not allowed Can anyone guide me in ...
1
vote
0answers
102 views

Search through adminhtml grid not working 1.9

Magento ver. 1.9.2.4 Search through admin grids suddenly stopped working. No js files with 404 status, no errors in js console. Script productGridJsObject = new varienGrid(... is present, as it ...
1
vote
0answers
80 views

How to debug in magento 2?

I'm new to magento and it's really difficult for me to debug codes if something went wrong. What are the best, free tools that we can use to speedup debugging, track the errors, find the exact point ...
2
votes
4answers
739 views

Is there any way to identify what class causes 'Area code is not set' or 'Area code already set'?

I know there are a lot of questions about 'Area code is not set', but no one has yet answered the main question. How to find the file which caused this Exception? In my case, I updated a lot of ...
5
votes
0answers
527 views

Debugging emails

I have a Magento ver. 2.1.3 setup that is not sending any emails. I'm trying to fix this, but nothing I do seems to work. My server has protections against spam which forces scripts to use smtp. I'...
1
vote
1answer
445 views

Custom theme breaks Magento admin, fails to register

The theme is installed on a fresh Magento-2.1.7 with no data. The system is CentOS-7.3 (VPS@godaddy), MySQL-5.6.37, PHP-5.6.31, Nginx-1.10, PHP-FPM runs as nginx:nginx, file system user is in the ...
1
vote
1answer
109 views

How to debug block class in config.xml

I have in my module's etc/config.xml a block specified as follows: <blocks> <discoverymiles> <class>MyFrontName_MyModule_Block</class> </...
0
votes
1answer
60 views

Help creating custom report and debugging blank page

I'm trying to create a custom report using the guide here... Creating new completely custom report I created it EXACTLY as described. The new report shows up in the dropdown for Reports as it should, ...
3
votes
1answer
2k views

payment-information 400 bad request when product quantity is bigger (or equal) than 3

I've recently reviewed a lot of 400 errors on payment-information API My problem is a little different, since it happens only when the product quantity is 3 or more. I select the shipping method (...
1
vote
0answers
354 views

SOLVED Magento 1.9 cannot place order “Some transactions have not been committed or rolled back”

I have Magento 1.9.2.4 and something is wrong with onePage checkout. I've got gift card extension installed on it. It is a custom one but 100% it works fine. The problem is that I can't place the ...
1
vote
1answer
613 views

Magento 1.9 - Order object passed to event observer is empty

I am trying to get data from a new order placed on our website to use it for integration with our ERP/CRM system. I use the event sales_order_place_after and my observer function fires as expected, ...
0
votes
1answer
646 views

Debug in Magento 2

Product update Button is not working in my Magento 2 Store Admin Panel. In console of Browser I got below message. JQMIGRATE: Logging is active /new_site/pub/static/version1494750734/adminhtml/...
1
vote
0answers
448 views

Magento 1.9.3.10 undefined offset in abstract file

My logs have grown large full of entries of: Notice: Undefined offset: 1 in lib/Zend/Db/Adapter/Abstract.php on line 814 My installation of magento is rather default, in that there isn't a vast ...
1
vote
1answer
348 views

Write to debug log from core code module

I am trying to track down some bugs in an extension, but I need answers from the core code (specifically vendor/magento/module-quote/Model/QuoteRepository.php). I've tried adding "private $_logger;" ...