0

After upgrade magento 2.4.3-p1 to magento 2.4.7-p1, the issue is occured after run the command php magento/bin setup:upgrade.

Issue:

Cannot instantiate interface Magento\Framework\Mview\View\SubscriptionStatementPostprocessorInterface#0

Even I have checked the custom triggers in database, but no custom triggers.

Thanks for advance.

3
  • check if the Magento_Csp Module is enabled? Commented Sep 18, 2024 at 10:59
  • i thing some module is disabled which interface class Is used somewhere Commented Sep 18, 2024 at 11:00
  • 1
    I had removed the vendor folders all files and keep only .htaccess. after that composer update command run and then run php magento/bin setup:upgrade. finally issue fixed Commented Sep 18, 2024 at 13:50

2 Answers 2

0

Check if have any module causing conflits, try disable custom modules. If the issue is resolved, re-enable the modules one by one to find the conflit.

U can try regenerate dependency too.

rm -rf generated/metadata/* generated/code/* php bin/magento setup:di:compile bin/magento setup:upgrade 

If have error yet u may enable debug login in .env

 'db' => [ 'connection' => [ 'default' => [ 'logging' => [ 'enabled' => true, ], ], ], 'dev' => [ 'debug' => [ 'debug_logging' => 1, ], ] 
1
  • Hey, Do you use redis cache? If yes please purge the cache and run the command, Thank You! Commented Sep 23, 2024 at 12:56
0

i met the same issue when run bin/magento s:up upgrade magento from 2.4.5-p8 to 2.4.7-p5. i search the key word of "SubscriptionStatementPostprocessorInterface" in pure standard magento commerce code, i found that app/etc/di.xml file is different with my local magento code. so i add in app/etc/di.xml in my local magento environment. it works for me!

1
  • if resole your problem, left your message. Commented May 8 at 9:34

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.