• 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

Getting Catchable 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 › Getting Catchable fatal error:

This topic is: resolved

Tagged: bugs, error, genesis

  • This topic has 4 replies, 2 voices, and was last updated 6 years, 4 months ago by theabhishek.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • December 30, 2018 at 5:13 am #225318
    theabhishek
    Participant

    Hi, I am getting this kind of error message on some post.

    Catchable fatal error: Argument 1 passed to genesis_header_body_classes() must be of the type array, null given in /srv/users/serverpilot/apps/geek/public/wp-content/themes/genesis/lib/structure/layout.php on line 78

    How to fix this issue?

    I appreciate your support in every way.

    December 30, 2018 at 7:17 am #225319
    AnitaC
    Keymaster

    Is that causing a white screen, locking you out, etc. When and where are you seeing it? Using Classic Editor or with Gutenberg (blocks) enabled? And post a link to the website. **Edited to add: Also, check your PHP version.**


    Need help with customization or troubleshooting? Reach out to me.

    December 30, 2018 at 7:26 am #225322
    theabhishek
    Participant

    Hi, dear Antita

    Thanks for response, Now it has been fixed, It causes due to plugin issue.

    December 30, 2018 at 7:36 am #225323
    AnitaC
    Keymaster

    Can you share which plugin caused this issue so we can make a note of that?


    Need help with customization or troubleshooting? Reach out to me.

    February 20, 2019 at 8:50 am #489632
    theabhishek
    Participant

    Sorry for delay response.

    Actually, I used the custom php code inside the plugin that caused the error.

    It's my mistake not the plugin.

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Getting Catchable 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

© 2025 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