1

Compilation was started.

Area configuration aggregation... 5/9 [===============>------------]  55% 1 min 642.5 MiB
In ErrorHandler.php line 61:
                                                                                                                                        
 Warning: Undefined array key "instance" in /var/www/VENDOR/setup/src/Magento/Setup/Module/Di/Compiler/ArgumentsResolver.php on line 171
1
  • Did you figure it out? I'm having the same issue.
    – Thrallix
    Dec 15, 2022 at 10:11

2 Answers 2

1

Try to change the code in /var/www/VENDOR/setup/src/Magento/Setup/Module/Di/Compiler/ArgumentsResolver.php on line 171

Do it like this:

if(isset($this->getInstanceArgument($config['instance'])))

{
$argument = $this->getInstanceArgument($config['instance']);

}

Then run setup:di:compile

0

Do bin/magento c:f and then bin/magento setup:di:compile again

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.