I am using Magento 2.0.4, and whenever I click on Content>Elements>Blocks I receive the following error message:
"Attention Something went wrong."
There is no more information, and after clicking OK it goes to the CMS Blocks page with the loading circle, and never stops loading. I am able to click on Add New Block
button, and then create and save a new block, but those newly created/saved blocks do not show up in the Blocks page because it never fully loads.
Relevant Platform Install Info (can edit with more if needed): Magento version 2.0.4, PHP version 5.6.20
Browsers I've tested this issue on: Firefox 45.0.1, IE 11.0.9600.18231, Chrome 49.0.2623.110
This is a Magento install directly from the magentocommerce website, and not any kind of github download. After upgrading from Magento 2.0.2 to Magento 2.0.4 I already flushed everything, deleted static content, and ran the command to redeploy static content.
Please let me know what I'm missing here. Is this a permissions issue on the back end somewhere?, a coding issue, a known issue, or what is going on? I don't seem to be getting this error message when I click on anything else in the Admin Panel (for example, Pages, Themes, Widgets, and more all load correctly and generate no error message).
Best Answer
You should check the
var/logs
folder to see if something went wrong and also your server logs.For me the issue was related to this one https://github.com/magento/magento2/issues/5418.
Gone into db table cataloginventory_stock_item and delete duplicates and then the issue dissapeared.
If that doesn't solve it, you can try:
1) cd into
pub/static
and runfind . -depth -name .htaccess -prune -o -delete
2) cd into root folder and run
rm -rf var/cache/ var/generation/ var/page_cache/ var/view_preprocessed/
3) run
php bin/magento setup:static-content:deploy
If this doesn't solve it you could take the radical option to reinstall:
1) delete the vendor folder
rm -rf vendor/*
and also thecomposer.lock
file in root.2) run
composer install