magento2: After upgrade from 2.0.7 to 2.1.0 admin grids are not displaying.
I have recently upgraded magento 2.0.7 to 2.1.0 from terminal using below mentions commands.
composer update
composer require magento/magento-composer-installer
composer require magento/product-community-edition 2.1.0 --no-update
composer update
php bin/magento setup:upgrade
After success full upgraded and after running successful setup upgrade i have checked frontend looks good but in backend grids are not loading i have checked product grid and sales order grid its not loading. I have checked console and seen below mentioned error.
Error parsing header X-XSS-Protection: 1; mode=block, 1; mode=block: expected semicolon at character position 14. The default protections will be applied.
jquery-migrate.js:21 JQMIGRATE: Logging is active
VM2699:1 Uncaught TypeError: Cannot read property 'provider' of undefined
Please look into this.
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 27 (6 by maintainers)
Commits related to this issue
- Merge pull request #5421 from magento-performance/MC-32062 [MC-32062] Redis improvement P1 — committed to magento/magento2 by vzabaznov 4 years ago
@amanuni i fix the Error parsing header X-XSS-Protection: 1; mode=block, 1; mode=block: expected semicolon at character position 14. The default protections will be applied.
Just go ur nginx config and remove add_header ‘X-XSS-Protection’ ‘1; mode=block’;
They did change some code on nginx.conf.sample for V2.1.0
anyway, i still have those JS error 😦
hi there… hi @andimov … never mind cloudflare… and my head in the clouds… my fault. was absolutely a cache-related issue (particularly to the CDN)
I forgot that beeing in multisite I was supposed to clear the CDN of the main website if I have got problem in the backend… what the helll… I’d better be more careful… wasted a lot of time… 😃
thanks, solved for me as CDN-cache related
cheers, romeo
Guys its still not resolved. On my server i am still getting this issue.
Regards, Irsad
Hi @andimov
Error parsing header X-XSS-Protection: 1; mode=block, 1; mode=block: expected semicolon at character position 14. The default protections will be applied.Above errors are still persist however, displaying product grid and sales grid is resolved by applying below mentioned solution.
I have replaced below mentioned line.
app/etc/di.xml
Magento\Framework\App\View\Asset\MaterializationStrategy\Symlink to Magento\Framework\App\View\Asset\MaterializationStrategy\Copy
and deleted all data from.
var/cache var/page_cache var/generation pub/static
After everything looks good except “Error parsing header X-XSS-Protection: 1; mode=block, 1; mode=block: expected semicolon at character position 14. The default protections will be applied.”