0

lately, every time I run the setup:upgrade command, I notice that inside the "theme" table all the parent_id are overwritten and set to 1 (magento blank).On backoffice side, the themes are shown with the right inheritance and also inside the theme.xml file of the child themes, I don't see particular problems.

here is an example of the theme.xml file of a child theme:

<theme xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Config/etc/theme.xsd">
<title>Theme4 - Magento 2 Theme</title>
<parent>custom_theme/theme1</parent>
<media>
    <preview_image>media/preview.jpg</preview_image>
</media>

in the last year it has always worked. I've been getting this error for a couple of days. I think due to activity on the machine. at the moment I don't know what could be the causes for which the parent_id are set to 1

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.