cancel
Showing results for 
Search instead for 
Did you mean: 

Magento2.3 setup:upgrade Type Error occurred when creating object: Magento\Framework\Communication\C

Magento2.3 setup:upgrade Type Error occurred when creating object: Magento\Framework\Communication\C

I upgraded from magento 2.1.8 to magento 2.3.5 and when I run setup:upgrade I receive that error

Screenshot_3.jpg

https://prnt.sc/t2py57

How can I see more details about error? 

3 REPLIES 3

Re: Magento2.3 setup:upgrade Type Error occurred when creating object: Magento\Framework\Communicati

Hi @joanmarc 

Just Remove the Generation folder

rm -rf generated/*

The interceptor file needs to be re-create. So kindly run di:compile and clean cache

php bin/magento setup:di:compile
php  bin/magento  cache:clean

 

If issue resolve, please click on 'Kudos' & Accept as Solutiion!

Problem solved? Click Accept as Solution!

Re: Magento2.3 setup:upgrade Type Error occurred when creating object: Magento\Framework\Communicati

Hi @joanmarc ,

 

Can you please try below commands in sequence.

rm -rf generated/* var/cache/* var/page_cache/*

php bin/magento setup:upgrade

php bin/magento setup:di:compile 

php bin/magento setup:static-content:deploy

chmod 777 -R var/* generated/* pub/static/*

 

Thanks 

Problem Solved! Click Kudos & Accept as Solution!

Re: Magento2.3 setup:upgrade Type Error occurred when creating object: Magento\Framework\Communicati

Then says me "Nothing to import", and when I go to website give me error 403 "access forbidden", what I'm doing wrong?

nothing to importnothing to import

 

Screenshot_5.jpg