0

I am using custom theme inherted by blank theme. I updated magento2 from 2.1.0 to 2.1.2 through composer and after update i am getting following error on cart page.

Fatal error: Class 'Magento\Catalog\Block\Product\ProductList\Item\Block' not found in D:\wamp\www\mysite\vendor\magento\module-wishlist\Block\Catalog\Product\ProductList\Item\AddTo\Wishlist.php on line 12

Manashvi Birla
8,8739 gold badges29 silver badges53 bronze badges
asked Nov 3, 2016 at 6:39

2 Answers 2

0

In terminal go to your project path run this three command one by one.Your Problem may solved thereafter.

project-path> php bin/magento setup:di:compile
project-path> php bin/magento setup:static-content:deploy
project-path> chmod -R 777 var
answered Nov 3, 2016 at 7:01
1
  • Thank you for you answer. I've already tried these commands but problem still not solved. Commented Nov 3, 2016 at 7:15
0

Delete the generation and di folder:

Root Path:

shop_root/var/generation

shop_root/var/di

Delete folder via FTP or terminal comments. Please refer below mentioned comments.

shop-path> rm -rf var/generation
shop-path> rm -rf var/di

Execute this comments, after flush the shop cache.

answered Nov 3, 2016 at 7:59
1
  • Thank you for your answer. I already tried that every basic things before posting my question. Commented Nov 3, 2016 at 9:25

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

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.