Questions tagged [debugging]

The tag has no usage guidance.

47 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
7 votes
0 answers
1k 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'...
Oylex's user avatar
  • 201
4 votes
1 answer
1k 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 ...
zus's user avatar
  • 165
3 votes
0 answers
433 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 ...
Alex's user avatar
  • 13.8k
3 votes
1 answer
57 views

Can I manipulate the indexing process?

Is it possible to start an indexing process and then deliberately pause it maintaining the processing status for testing purposes? The example in specific that I am trying to debug is a rare ...
Moose's user avatar
  • 7,495
3 votes
0 answers
362 views

Optimal XDebug settings

I am currently trying to locally debug a Magento installation using a Windows 8.1 machine, XAMPP, XDebug and Sublime Text 3 XDebug client. It currently runs so slow, it is pretty much unusable while ...
Kerry Ritter's user avatar
2 votes
0 answers
41 views

There is already an account 2.4.4

I'm having following issue that i'm not able to reproduce https://ibb.co/0M1mvQ6 I checked in system.log but i don't have any critical warning. I made also a registration with a different email ...
user3718303's user avatar
2 votes
2 answers
189 views

Magento Debugging Tools

Can Anyone suggest me the best tools for the debugging in the Magento 2 for free besides X-debugger.
Rana Zain's user avatar
  • 662
2 votes
0 answers
33 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 ...
Alex's user avatar
  • 13.8k
2 votes
0 answers
787 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 ...
Vaishal Patel's user avatar
2 votes
5 answers
461 views

Configure Debug Logging Type

As Magento throws info into system.log and debug.log I can see 3 different types Is it possible to disable main.INFO and main.DEBUG while keeping main.CRITICAL to avoid large file size for logging ...
David Buik's user avatar
1 vote
1 answer
642 views

Exception: Namespace prefix xsi for type on argument is not defined in Merge.php / Extra content at the end of the document

We are using justbetter/magento2-sentry for catching errors in our Magento 2.4.5-1 shop and have lots of reports of such errors: Warning: simplexml_load_string(): namespace error : Namespace prefix ...
Alex's user avatar
  • 13.8k
1 vote
0 answers
87 views

ERROR Illegal offset type on reindexing catalog_product_attribute. Cant reindex product attributes

Upgraded from Magento2.4.2pt1 to Magento2.4.4-pt1. Now reindexing from SSH I am getting error with reindexing catalog_product_attribute. php -d memory_limit=2G bin/magento indexer:reindex ...
Jonathan's user avatar
  • 113
1 vote
0 answers
89 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 ...
vino's user avatar
  • 31
1 vote
0 answers
90 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 ...
ItsJhonny's user avatar
  • 399
1 vote
0 answers
76 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 ...
DarkCowboy's user avatar
1 vote
0 answers
45 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 ...
Rob's user avatar
  • 534
1 vote
0 answers
179 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 ...
LeoXela's user avatar
  • 31
1 vote
0 answers
173 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 ...
TheKitMurkit's user avatar
1 vote
0 answers
131 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 ...
P S's user avatar
  • 1,983
1 vote
1 answer
571 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 ...
Mike D's user avatar
  • 11
1 vote
0 answers
983 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 ...
Vlad's user avatar
  • 11
1 vote
0 answers
321 views

How can you tell why full page cache is not working on a category page in Magento2

I have enabled full page cache on a Magento2 site which has had quite a few modifications. It does not seem to be taking effect however and I know that if any of the blocks on the page are set to be ...
user48900's user avatar
1 vote
0 answers
607 views

Magento Add to Cart button not working

Hi I recently installed Magento 1.9.2.4. Everything is working fine except the cart button functionality. When I click the "Add to Cart" button on product details page, nothing is happening. I ...
Subhajyoti De's user avatar
1 vote
0 answers
1k views

The page URL key contains capital letters or disallowed symbols.";i:1;s:986:"

0 /home/cel/public_html/app/code/core/Mage/Core/Model/Resource/Setup.php(645): Mage::exception('Mage_Core', 'Error in file: ...') Why is it an error in the core? I've never edited anything in the core?...
Head's user avatar
  • 177
1 vote
0 answers
719 views

How to debug when there are no errors

I installed a new onestep checkout module and it works fine but my charity donation module doesn't work now. When I get to the second step (actually its like a three step checkout). Anyway, it just ...
Freejoy's user avatar
  • 819
1 vote
0 answers
43 views

Cannot change customer country

So here's the problem. Backend Magento users who login at http://example.com/admin who are given a roll whose "resource access" is "All" are able to change any given customer's country. However, ...
user27251's user avatar
1 vote
0 answers
239 views

Error on Newsletter Subscribers

Fatal error: Call to a member function getBackend() on a non-object in /home/***/public_html/app/code/core/Mage/Newsletter/Model/Resource/Subscriber/Collection.php on line 139 I get this error when I ...
Bill Murray's user avatar
1 vote
1 answer
278 views

File `/i18n/de_DE.csv` not found

I am using the latest Magento 2.0.2 release and imported the German bin/magento i18n:pack --mode=replace -d source.csv . de_DE When I now open a product page I am getting File "/i18n/de_DE.csv" ...
Alex's user avatar
  • 13.8k
0 votes
0 answers
9 views

Authenticate and Capture not working. How do I go about debugging this?

When I set payment methods to 'Authorize and Capture' (tried authorize.net, paypal, and others) I get a server failure notice on the website. The error and exception logs show an integrity constraint ...
Jon's user avatar
  • 295
0 votes
1 answer
40 views

How to print / echo / debug RateRequest properties in custom shipping method

I'm able to use this city dropdown plugin successfully. Now I'm trying to call shipping vendor API in my custom shipping module. Can anyone help me how I can print / echo / debug the destination in ...
dinotame's user avatar
0 votes
2 answers
460 views

Magento 2 - Get stacktrace

I try to figure out the exact stack trace after I click on a link for example the link which prints the order PDF in the customer area. I tried it by adding the following code after $response = $...
Black's user avatar
  • 3,330
0 votes
1 answer
531 views

Debug with Magento 2.4.4

Hello i'd like to understand how to enable all possible error log that can happen in my Magento 2.4.4 in production mode since website is live. I checked that in var/log folder there are usefull files ...
user3718303's user avatar
0 votes
0 answers
90 views

Category attribute value changes unexpectedly after saving category in Magento 2.4

I created a module that uses an Image Uploader UiComponent to upload an additional image to a category and save its path in the database. The controller I use to do this is basically a copy of the out ...
audio-engineer's user avatar
0 votes
1 answer
90 views

Time to first Byte takes over 3 seconds on home page, Fully load time 14s - Magento 2

The site was working fine until recently, the loading speed has dramatically increase, visitor get Internal 500 from time to time. First i thought it was the recent extension I installed, Marisvit ...
Mage Explorer's user avatar
0 votes
1 answer
356 views

How to stop db.log in magento 2.3

How to stop the DB log i had used the CLI to stop but it is not stopping it increasing to huge file. I used the below command but it is not stopping. It is in the path var/debug/db.log bin/magento ...
Sabareesh's user avatar
  • 358
0 votes
1 answer
371 views

Magento 1.9 Error 503 on user login, but only on some random accounts

Some of the users of my shop experience a 503 'Service unavailable' error when trying to log in or reset their passwords. if a user gets the 503, the same account keeps getting the error, until I ...
mybinaryromance's user avatar
0 votes
0 answers
41 views

How do I debug Magento report with no error?

I have a module that I created that stores data posted via form to a custom table and then sends a confirmation email. I got to a point of testing the form action, and it gets there - but I get the "...
treyBake's user avatar
  • 141
0 votes
0 answers
136 views

Debug doesn't work (Version 2.3)

I tried all ways to enable debug but it doens't work. I modify all box on dashboard about debug on "Yes". I tried to use command line with "bin/magento setup:config:set --enable-debug-logging=true" ...
user83920's user avatar
0 votes
1 answer
487 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\...
BenM's user avatar
  • 121
0 votes
1 answer
341 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 ...
TheNorthern_Light's user avatar
0 votes
1 answer
532 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?
prashanth's user avatar
0 votes
0 answers
130 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 ...
Wasiq Shahrukh's user avatar
0 votes
1 answer
102 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, ...
lv2fly's user avatar
  • 141
0 votes
0 answers
216 views

Magento 2 debugging System

Is there any debugging method for method magento 2 ? where we can find in which file there is actually problem occure, because making a simple spell mistake in xml file and its hard to find where is ...
Yogesh's user avatar
  • 1,503
0 votes
1 answer
290 views

Debuging variables in custom blocks view

Using var_dump to debug manually objects and arrays in custom module causes blank page instead the dump. What I do wrong? in View if ($currentProduct = $block->getCurrentProduct()) { $...
deroccha's user avatar
  • 687
0 votes
1 answer
304 views

Customer Managed to create multiple accounts

A little while ago we had a customer contact us saying that he was unable to complete the checkout and got the error "customer email already exists". Worryingly, he tried a few times and on each ...
wbdc's user avatar
  • 31
0 votes
1 answer
272 views

Attributes missing when a product is loaded via grouped products

I have some simple products which are associated to a grouped product. If I load the simple product separately, the attribute tax_class_id is set, but if the product is contained in a grouped product ...
Alex's user avatar
  • 13.8k