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. Commented 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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.