Questions tagged [dependency]

The tag has no usage guidance.

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

Limit parameter is not working when I add slick slider on related products

I want to add condition on related product where carousel should contain up to 12 products. For that I changed $limit variable and It's working fine without slider. But I added slider, value defined ...
Dev's user avatar
  • 13
0 votes
1 answer
161 views

How to create two dependent dropdown product attribute in magento 2

I Want to create two dropdown product attributes. Depending on the first dropdown send dropdown option will be display in product admin edit page.(not need it in frontend) e.g : ABC attribute (options ...
Shubhajay Das's user avatar
1 vote
1 answer
2k views

Magento 2.4.2: Your requirements could not be resolved to an installable set of packages

Running the command composer update --with-all-dependencies when trying to upgrade Magento 2.4.2 to 2.4.4. throws this message in red Your requirements could not be resolved to an installable set of ...
CodeForGood's user avatar
0 votes
1 answer
388 views

Composer\Downloader\FilesystemException Filesystem exception:

As I ran the command composer require -w as part of the process to upgrade Magento 2.4.2 to 2.4.4, I found the error seen in the image below. Below is the article I'm referring to upgrade Magento. ...
CodeForGood's user avatar
0 votes
2 answers
26 views

Reusing vs Redefining System Config Tabs, Menus and ACL Resources

When we want to create a system config we add section items in the system.xml file. In these sections we specify a tab. That tab needs to also be defined. There is a possibility that a tab is already ...
pro100tom's user avatar
  • 145
0 votes
1 answer
397 views

How to add table schema as a dependency in setup patch data?

I am creating a custom Module, in that I created a custom table and patch data. The patch data for inserting data into that table. Now the issue is, the custom table was created through declarative ...
Siranjeevi K S's user avatar
0 votes
1 answer
484 views

Why is parent::__construct($context) used?

I have experience in programming with php and i think i have a good understanding of what a constructor does. But in Magento the constructor is called with the implemented Dependency's but after that ...
BigJonna's user avatar
1 vote
2 answers
7k views

Composer can't install any module due to "Your requirements could not be resolved to an installable set of packages"

Running 2.3.6 When I try to install any module via composer I get the following error: []$ COMPOSER_MEMORY_LIMIT=-1 composer require stripe/stripe-php:^7 Warning from https://repo.packagist.org: You ...
director_PR's user avatar
1 vote
1 answer
112 views

Magento2 - How do I write below query function into non-deprecated? without using getCollection()

How do I write below function into non-deprecated? In Magento2. without using getCollection() public function getNewCustomer() { $customerData = $this->customerFactory->create()->...
Paul Fan's user avatar
  • 614
0 votes
1 answer
1k views

Change Magento 2 PHP version in SSH

I'm currently trying to upgrade Magento 2.3.4 CE, to 2.4.0 CE. However I was constantly getting "Component Dependency" errors. I then tried to upgrade in SSH but got the following error: ...
CJNotts's user avatar
  • 392
3 votes
0 answers
75 views

Magento configurable product dependent attribute

Currently I am working on a project where there is requirement of the associate product dependency. E.g : If have an computer and have associated product brand X,Y,Z and and RAM of brand X,Y,Z If I ...
Tanmay's user avatar
  • 780
2 votes
1 answer
199 views

How to enable dependency profiling graphs | Magento 2.3

According to this article we can enable dependency profiling graph but did not find any command for the same. As Mentioned on the page - To enable dependency graphs, use the "variable option". See ...
Mr. Nanhe's user avatar
  • 129
0 votes
1 answer
185 views

Check Component Dependency Magento 2.3.4

I am getting Check Component Dependency in magento 2.3.4 while installing Extension. Please help me to resolve it.
Ridham's user avatar
  • 1
0 votes
1 answer
123 views

Cannot update extensions in the Web Setup Wizard

I am currently trying to update two MSP exensions in my version of Magento 2.3.2. But whenever I run the readiness check I get the following error: Check Component Dependency We found conflicting ...
CJNotts's user avatar
  • 392
1 vote
1 answer
1k views

Magento2: How to add dependency in composer for private Gitlab modules?

I'm installing a custom module in M2 using composer from my private Gitlab repo and it is working fine. After I've added the dependency of other modules(using composer require) in my custom module ...
Dj3's user avatar
  • 101
3 votes
1 answer
287 views

Magento2 : How to call shared package in another module composer.json Magento 2 Market place

My module A depends on B.I uploaded A in the marketplace and B as a shared package. I getting following an error while uploading an A module while submitting in the market place Installation failed,...
Arunprabakaran M's user avatar
3 votes
1 answer
7k views

Magento 2 Module Observer Sequence order and Sales Order Event

We have two modules which fire the same event checkout_submit_all_after.But i need to give a preference for this , i tried giving sequence in module b but it won't work.For ex Module A and Module B ...
Prasanth's user avatar
  • 147
1 vote
2 answers
2k views

Magento 2 : toggle whole group in system.xml based on field in another group

I have created two groups in system.xml. I need to show/hide group 2 depending on the "Module Enable" field in group 1. But when I use the following code it hides both the sections and does not save ...
Abid Malik's user avatar
2 votes
1 answer
1k views

Magento 2 : Set dependency between two dropdown in ui form

I want to set dependency in UI form. For ex : When I select first drop-down value then only display second drop-down. How to do this ?
Mehta Prem's user avatar
3 votes
1 answer
369 views

Disable Magento RSS module - Magento 2

I have been disabling modules that we don't require and as anyone who has tried this knows some cannot simply be disabled because of dependencies. There are a number of modules we have absolutely no ...
Pragman's user avatar
  • 407
0 votes
0 answers
101 views

Trying to remove theme

We've had endless headaches with a theme we purchased when we first launched our site so we are trying to finally migrate away from it, but it's not letting go easily. Whenever I am trying to begin ...
Scott's user avatar
  • 263
1 vote
1 answer
568 views

Magento 1.9 Extend Model, Load It Before Parent

Class Test1/Module1/Model/A { protectedfunction doSomething(){ //behaviour //behaviour //behaviour } } Class Test2/Module2/Model/B extends Test1/Module1/Model/A { ...
Trenox's user avatar
  • 397
1 vote
1 answer
410 views

dependency error upgrading from 2.2.7 to 2.3.0

I have been trying to update my site to 2.3 and I am getting the error posted below when I use CLI with command composer update. I have also tried to use the online system upgrade tool and get the ...
ssgz's user avatar
  • 11
2 votes
0 answers
2k views

Magento 2 Admin Ui form fieldset dependency

I have created a UI form in admin. I have one select field which has some options.For some values I want to hide a fieldset in the form. How can I achieve it. Referred this link magento 2.1 How do ...
Jancy Abraham's user avatar
0 votes
1 answer
643 views

how to use dependency multiple field in admin edit section magento 2.0

my code is in below here how can i set 'gateway_title' and 'gateway_title2' this tow fields depends on 'gateway_is_active' filed both of those two filed have be depended. $fieldset->addField( ...
Shubhajay Das's user avatar
2 votes
1 answer
792 views

Failed Check Component Dependency 2.2.5

How do I get Fix this Error? Check Component Dependency We found conflicting component dependencies. Hide detail Command "update" failed: Loading composer repositories with package information [...
PWL's user avatar
  • 21
4 votes
3 answers
780 views

Magento 2.2.4 : Different group dependency not working

I'm using magento 2.2.4. In system configuration, I want to do apply dependency. But, both groups and fields are different. It's working in same group. But, I can't get output for different group. ...
Niket's user avatar
  • 157
0 votes
1 answer
145 views

Fresh Magento 2.1.14, Readiness Check fail with conflicting component dependencies

My Magento is 2.1.14, fresh new. I am trying to install my first extension (Stripe payment extension), and this error occur. =========================================== Check Component Dependency We ...
Doris Li's user avatar
0 votes
1 answer
2k views

Magento2: dependency injection issue in passing parameter to constructor

I have faced this issue many times, but unable to understand why? what is the (logic/concept/approach) behind injecting any object. i have injected few parameter to my save controller, before adding ...
Nits's user avatar
  • 53
0 votes
1 answer
262 views

Conditionally enable event observers in Magento 1.9

I am using multiple event observers in Magento 1.9 From there, I want to conditionally execute other observers. For example, defining the configuration in system.xml to enable or disable execution ...
HungryDB's user avatar
  • 896
6 votes
2 answers
4k views

Dependecy error Magento 2 ('sectionLoadUrl' error)

I've asked a similar question before, but because of some research, it would not have been relevant anymore. So here a more comprehensive explanation of my problem. My scenario I want the cart page ...
Condor's user avatar
  • 637
0 votes
1 answer
121 views

Component Manager Readiness Check Errors

When trying to install any extension in component manager, I end up with a bunch of errors during the readiness check. My biggest issue is:"Your PHP version is . The required PHP version is ." My php ...
Kyle's user avatar
  • 41
5 votes
1 answer
4k views

Ui-component form (Adding drop down field)in magento 2

I need to create backend admin form which contains two dropdown fields.But One is dependent on other. One dropdown contains attributes like brand,color etc.. The second one contains associate options ...
Jaisa's user avatar
  • 2,556
1 vote
0 answers
2k views

In Magento2 For Ui component Form select Field,Dependency with another Field [duplicate]

On Magento2 For UI Component Form select Field should be having dependency on another value on the selection on ex: IF there is Field name: Field1 dropdown on selecting option then it should display a ...
Learing_Coder's user avatar
2 votes
1 answer
2k views

Magento2 Dependent select fields filtering

I can use the country and state fields in admin form by just pasting the form xml explained here ui_component form state/region field update after country select (M 2.1) Now My question is that I am ...
AbdulBasit's user avatar
1 vote
0 answers
135 views

magento 2 multiple values drop down dependencies?

in magento 2 i have a drop down with the options 1, 2, 3, 4, 5, 6 when we if '1' Test-1 and Custom-1 text fields want to show. as well if i choose '2' Test-2 and Custom-2 text fields want to show ...
Nagaraju Kasa's user avatar
2 votes
1 answer
399 views

Magento 2 admin end drop down dependencies?

In Magento 2 at admin end from my custom module I have two options 1) Level and 2) Segment in the drop down. As well I have another multiselect dropdowns like Levels and segments Now if i choose ...
Nagaraju Kasa's user avatar
0 votes
1 answer
158 views

isModuleOutputEnabled | Resolving module conflict

I had two modules extending same core helper class and causing a conflict: class Amasty_Methods_Helper_Payment_Data extends Mage_Payment_Helper_Data and class ...
Greg's user avatar
  • 2,919
3 votes
3 answers
9k views

Magento2 - override 3rd party module layout file in custom theme

We have a custom theme with some layout / template overrides Now we have installed a 3rd party module, which is overriding one of layout files in our custom theme. So, only module's override is being ...
Raul Sanchez's user avatar
  • 3,217
11 votes
1 answer
2k views

Admin config: show field depending on selected multiselect values

I want to display fields based on selected multiselect input ... following code just works, if only one value is selected. If I select more then one value it shows only one field (first selected from ...
sv3n's user avatar
  • 11.6k
0 votes
1 answer
795 views

Change behavior of modules <depends> node - any downsides?

Current sitution: If one of you extensions depends on another, that isn't active or not installed it breaks page load and you'll see error report page. <?xml version="1.0"?> <config> ...
sv3n's user avatar
  • 11.6k
1 vote
0 answers
162 views

Simple environment check script

Is there a simple standalone PHP script that I can just put on a server and see if it meets the system requirements for Magento 2 to run? For Magento 1 there is one going around by the name of magento-...
Marius's user avatar
  • 198k
0 votes
1 answer
228 views

Magento 2 : Where Put External Dependency?

I'm developing module to call REST API and I want to use an external package via composer. In which composer.json I should put dependency? In composer.json in root directory or composer.json in module ...
Wojciech Ka's user avatar
1 vote
2 answers
1k views

Error with Dependency Injection in widget

I'm a new Magento 2 developer that's trying to create a widget with a picture in it and I've been following some tutorials to get started. I'm having some trouble though with dependency injection in ...
Oscar Romin's user avatar
0 votes
1 answer
399 views

Incorrect dependency error when run setup:di:compile command in magento 2.1.x

I have run command bin/magento setup:di:compile in my Magento 2.1.x. I got below error. Solwin\ProductAttachment\Controller\Adminhtml\Attachment Incorrect dependency in class Solwin\...
Prince's user avatar
  • 91
3 votes
0 answers
548 views

Magento 2: Ajax call to customer edit form for dependent dropdown

I have created two attribute for customer as "Restaurant" and "Stores". Currently I am getting data from their respective model collection through InstallData.php in customer add/edit form. Now I want ...
Abhishek's user avatar
  • 939
0 votes
1 answer
147 views

No Magento Error / Exception on checkDependencies()

On my Ubuntu server VM, remotly debugged with Xdebug & Netbeans I search for a long time why no product images get viewed. Afte I debug all the processing, I found the mistake. I don't have GD2 ...
Mike's user avatar
  • 111
1 vote
0 answers
102 views

Magento v. 2.1.4 Readiness Check Fails at Component Dependancy

No other information is given. (Or, if it is, I do not know where to look for it.) I have a clean Magento install, no theme, no extensions, nothing. I am on a shared server so direct php.ini edits ...
GranolaGeek's user avatar
18 votes
2 answers
10k views

What's a hard dependency and what's a soft dependency?

In Magento 2 (any stable version) you can run this command bin/magento info:dependencies:show-modules and you will get a csv file in the root of your application called modules-dependencies.csv with ...
Marius's user avatar
  • 198k
3 votes
1 answer
212 views

<depends/> node real purpose

In How to disable Magento 2 reviews , we tried to disable the module Magento_Review through the module:disable command But if you do that, in 2.1, you will have multiples errors of dependency. ./...
Pol Ravalitera's user avatar