Fatal error: Call to a member function isValid() on boolean in /storage/magento/releases/release_2019-11-13.16_04_17/app/code/core/Mage/Catalog/Model/Design.php on line 381