Running Craft 3.1.19 and have started getting twig error in the control panel. When I click on the utilities link I get this error:
Declaration of craft\web\twig\Environment::compileSource(Twig\Source $source) should be compatible with Twig_Environment::compileSource(Twig_Source $source)
And when I try to create a new field I get this error:
Key "defaultUploadLocationSubpath" in object with ArrayAccess of class "craft\fields\Assets" does not exist.
Any idea what is going on?