Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Denotes questions related to Magento version 2.4.4
0
votes
Deprecated Functionality: explode(): Passing null to parameter #2 ($string) of type string i...
I don't know a reason to use getTemplateFile method to the block before check is template is set to block or doesn't
I've reviewed a logic of this part in Magento and looks like it's a design bug with …
0
votes
How to tell which record in the CSV file is causing the 'SQLSTATE[23000]: Integrity constrai...
Based on error the issue is related to Product Custom Options
6206 is option_type_id in catalog_product_option_type_value
By some reason the system tries to insert few rows with the same ID for custom …
1
vote
Accepted
Create attribute using Data Patch in Magento 2
You need to fix those 2 methods
public static function getDependencies(): array
{
return [];
}
public function getAliases(): array
{
return [];
}
1
vote
Accepted
Magento 2 : ERROR | Identical operator === is not used for testing the return value of strpo...
This error means that your might have logical mistake in your code.
Function strpos returns int|false.
See details about this warning in official documentation:
Warning: on may return Boolean false, …
4
votes
Magento 2.4.4 (PHP 8.1) Error while running setup:di:compile
Looks like you have incorrect using of \Magento\Framework\View\Element\Template (in current namespace instead of global) in \Rsg\Enquiry\Controller\Index
I suggest to review \Rsg\Enquiry\Controller\In …
1
vote
getFullActionName() returning __ on CMS & Category Pages
For those kind of pages the event controller_action_predispatch called 2 times
First time for \Magento\Framework\App\Action\Forward and route, controller and action are empty
Second time for \Magento\ …
0
votes
Override DefaultInvoice.php file to render custom row in magento 2.4.4
If you want to change Invoice Item renderer for PDF the better way is overwrite it with pdf.xml
app/code/Acme/StackExchange/etc/pdf.xml
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/ …
5
votes
Magento2.4.4 swagger
If you didn't change deploy mode for your instance, by default deploy mode is default (not developer)
You need to change mode to developer for Swagger
How to display current mode (CLI)
bin/magento dep …
1
vote
Accepted
Magento Javascript events
Magento doesn't provide any specific JS events for full rendered form or specific elements. You can try to play with contentUpdated, but i guess better to use setInterval
// $ is jQuery
/**
* @param …
1
vote
Accepted
Magento 2.4.4 PageBuilder SourceMaps not generated
Magento doesn't generate any source map files for JS. You can ignore those errors or disable warnings in your browser. This feature needs only for debug uglified code.
How to fix the "DevTools failed …
1
vote
Accepted
Append "Add New" button in Grid Listing, on a Form
You can add button in fieldset before insertListing
app/code/Acme/Bar/view/adminhtml/ui_component/foo_form.xml
<?xml version="1.0" encoding="UTF-8"?>
<form xmlns:xsi="http://www.w3.org/2001/XMLSchema- …
2
votes
Accepted
Select items in multiselect on Product form in Admin area
I'm sure that you've provided not full code, because the provided code will not work
The abstract class \Magento\Catalog\Ui\DataProvider\Product\Form\Modifier\AbstractModifier implements \Magento\Ui\D …
1
vote
add categories tree to customer eav attribute
You can reuse some Catalog resources and you need to define custom Source Model
1. Source Model
app/code/Acme/StackExchange/Model/Source/CategoriesTree.php
<?php
declare(strict_types=1);
namespace Ac …