skip to Main Content

Access-Control-Allow-Origin for Magento 2 and ionic

There are many questions about "Access-Control-Allow-Origin" which I applied in htaccess as follows Header set Access-Control-Allow-Origin "*" After applying that I am facing following error: "Access to XMLHttpRequest at 'http://XXX.XXX.XXX.XXX/XXX/rest/V1/categories/3357' from origin 'http://localhost:8100' has been blocked by CORS policy: Response…

VIEW QUESTION

Fatal error: Uncaught Error: Class 'MagentoFrameworkComponentComponentRegistrar' not found

After Upgrading Magento 2.1.5 to 2.2.6 it's give following error. my magento source code is on subdirectory like www.mysite.com/staging/ /staging/vendor/mailchimp/mc-magento2/registration.php:12 Stack trace: #0 /staging/vendor/composer/autoload_real.php(71): require() #1 /staging/vendor/composer/autoload_real.php(61): composerRequiref4386a435c9f0af056695f7999d4c05d('62008ed0ff26c9a...', '/var/www/vhosts...') #2 #/staging/vendor/autoload.php(7): ComposerAutoloaderInitf4386a435c9f0af056695f7999d4c05d::getLoader() #3 /staging/app/autoload.php(30): include('/var/www/vhosts...') #4 /staging/app/bootstrap.php(30): require_once('/var/www/vhosts...') #5 staging/index.php(22):…

VIEW QUESTION
Back To Top
Search