1

Warning: file_put_contents(root/generated/metadata/primary|global|plugin-list.php): failed to open s tream: No such file or directory in D:\xampp\htdocs\wp7\vendor\magento\framework\Interception\PluginListGenerator.p hp on line 414

Solved: Go to -> vendor\magento\framework\Interception\PluginListGenerator.php

Find -> $cacheId = implode('|', $this->scopePriorityScheme) . "|" . $this->cacheId;

Replace -> $cacheId = implode('-', $this->scopePriorityScheme) . "-" . $this->cacheId;

Then run again setup:di:compile command line.

Thanks

1
  • thats not a better solution to change statement in vendor directory file so recommend any other solution because vendor is created by third party so its not a solution to change it on all modes on live instances Commented Oct 2, 2023 at 10:21

1 Answer 1

1

Go to -

vendor\magento\framework\Interception\PluginListGenerator.php

Find ->

$cacheId = implode('|', $this->scopePriorityScheme) . "|" . $this->cacheId;

Replace -> $cacheId = implode('-', $this->scopePriorityScheme) . "-" . $this->cacheId;

Then run again setup:di:compile command line.

Your Answer

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.