I'm having an issue when applying a custom 'Blank' child theme. I'm running a fresh install of 2.3 on LAMP. I followed the Magento docs with respect to theme.xml and registration.php etc, but after I apply the theme in the admin panel I'm getting this error on the frontend
Exception #0 (InvalidArgumentException): Required parameter 'theme_dir' was not passed
If I try reverting back to the 'blank' theme again in the admin panel, I'm unable to and get this error
Something went wrong while saving this configuration: Required parameter 'theme_dir' was not passed
I'm using a fresh mysql database, so it can't be an old theme in the table issue??
Anyone come across this?
<?php /** * Copyright © 2015 Magento. All rights reserved. * See COPYING.txt for license details. */ \Magento\Framework\Component\ComponentRegistrar::register( \Magento\Framework\Component\ComponentRegistrar::THEME, 'frontend/webmagento/customtheme', __DIR__ );
<theme xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Config/etc/theme.xsd"> <title>Custom Theme</title> <parent>Magento/blank</parent> </theme>