• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Genesis Blocks – Fatal Error

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › Genesis Blocks – Fatal Error

This topic is: resolved

Tagged: Genesis Blocks

  • This topic has 3 replies, 3 voices, and was last updated 1 year, 8 months ago by Paul Fowler.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • November 4, 2020 at 4:37 am #501740
    Paul Fowler
    Participant

    Morning...I have not as yet migrated from Atomic Blocks to Genesis Blocks but the latter plugin has been installed.

    However, about an hour ago I was notified by WordPress of a potentially fatal error with this plugin, details below

    Error Details
    =============
    An error of type E_COMPILE_ERROR was caused in line 26 of the file /home4/golfinh9/public_html/wp-content/plugins/genesis-blocks/lib/BlockLoader/Module.php. Error message: Declaration of Genesis\Blocks\BlockLoader\Module::activate(array $context): Genesis\Blocks\BlockLoader\void must be compatible with Genesis\Blocks\Interfaces\ModuleInterface::activate(array $context): Genesis\Blocks\Interfaces\void

    At the time I was attempting to clone from production to staging within Bluehost. When I deactivated this plugin everything worked OK.

    Thus my question is...is this a known problem with the new Genesis Blocks plugin or is this something I need to go back to BlueHost with...as until resolved I will not be migrating from Atomic to Genesis and will leave the latter de-activated.

    Best regards

    Paul

    http://golfingherald.com
    November 4, 2020 at 5:23 am #501746
    Bianca
    Participant

    Hi Paul,
    There seems to be an update released to Genesis Blocks that addresses an error like you described.


    I am a Marketing Communications specialist at Communics.

    Visit my personal website | Follow me on Twitter | Connect on LinkedIn

    November 4, 2020 at 5:30 am #501747
    Nick
    Participant

    I recommend checking that:

    - The production and staging environments are both running PHP 7.1 or higher.
    - All plugin files were successfully copied during the migration. (Try deleting Genesis Blocks and reinstalling it.)

    November 4, 2020 at 5:38 am #501748
    Paul Fowler
    Participant

    Bianca / Nick

    Thanks so much for your respective responses. I definitely have the correct version of PHP so looks like I need to address the actual plugin...will have a look at the link that you sent Bianca and failing that delete and reinstall.

    Will mark as closed on the assumption this will now work by following your advice.

    Best regards

    Paul

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Genesis Blocks – Fatal Error’ is closed to new replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2022 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble