After installing MAYO, I refresh my main site and get this error message:

Fatal error: Call to undefined method Drupal\Core\Config\ConfigFactory::getEditable() in /var/www/fs1/38/[user name]/public_html/themes/mayo/mayo.theme on line 331

Re-installing didn't help. I can't figure for the life of me what I am doing wrong.

Could anybody help, please?

  • That class and method both exist for 8.0.x, 8.1.x and 8.2.x, so you possibly have some missing files in your Drupal installation – Clive May 10 '16 at 13:08
  • Did you check that the class exists in your core directory? – Eyal May 10 '16 at 20:13
  • Thank you both for helping :) It actually was messed up Drupal installation (I know, I said I did re-intallation, but somehow I made a plunder of that one too). After I did another installation, everything worked like a dream. Again, thank you both very much for helping a green beginner :) – tpiira May 11 '16 at 17:38

Your Answer

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

Browse other questions tagged or ask your own question.