Skip to content

Warning on Frontend regarding Gutenberg Blocks #414

@SilviuDinu

Description

@SilviuDinu

Someone reported a warning appearing on the Frontend while having both OrbitFox and Otter updated on the latest version.

The warning appears on all pages except the frontpage and it looks like this:

Warning: Use of undefined constant THEMEISLE_BLOCKS_VERSION - assumed 'THEMEISLE_BLOCKS_VERSION' (this will throw an Error in a future version of PHP) in /customers/d/f/b/hulemaendihabitter.dk/httpd.www/wp-content/plugins/themeisle-companion/vendor/codeinwp/gutenberg-blocks/inc/css/class-block-frontend.php on line 146

I was also been able to replicate some sort of issue on my local and it looks like this -> https://prnt.sc/qzaobx
The issue occurred for me after I added a section template with Otter (cc @HardeepAsrani)

Please let me know if you require more details.

It looks like defining the version again fixes the issue ->
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    releasedIndicate that an issue has been resolved and released in a particular version of the product.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions