2

In magento 2 i am enable developer mode, all things are working good but today

Its give me this error

Warning: DOMDocument::schemaValidate(): Invalid Schema in\magento\framework\Config\Dom.php on line 290

When i am disable developer mode its working properly, i don't understand why this error generate suddenly

i want to enable developer mode,is there any solution?

7

I had the same problem in developer mode. Following steps solved my problems:

  1. change your application mode to "production"

    Command:

    php bin/magento deploy:mode:set production --skip-compilation
    
  2. run the command to deploy static view contents

    Command:

    php bin/magento setup:static-content:deploy
    
  3. Change your application mode back to "developer"

Those steps should solve the problem as it works absolutely fine for me.

3

Below solution worked for me.

Restart Apache Server. After this run below command :

php bin/magento setup:static-content:deploy

1

Restart Your Apache Server & After this run below command :

php bin/magento setup:static-content:deploy -f

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.