Skip to content

The event cms.theme.getActiveTheme stopped firing #1458

@andrewxx

Description

@andrewxx

Winter CMS Build

1.2

PHP Version

8.0

Database engine

MySQL/MariaDB

Plugins installed

No response

Issue description

I use event in boot function of my plugin. As this:

        Event::listen('cms.theme.getActiveTheme', function () {
            return 'mytheme';
        });

But after updating to 1.2.10, this stopped working. It seems the event doesn't trigger at all.

Steps to replicate

use event.
It works on 1.2.9 and doesn't work on 1.2.10

Workaround

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions