• 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 compatibility with PHP 7.0

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 compatibility with PHP 7.0

This topic is: resolved

Tagged: genesis, php 7.0

  • This topic has 3 replies, 3 voices, and was last updated 8 years, 7 months ago by Bruce Rawles.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • March 7, 2017 at 8:01 am #202633
    plentyvegan
    Member

    I am assessing the compatibility of my site with PHP 7.0 and found the following warnings with regard to the Genesis Theme:

    FILE: /nas/content/live/plentyvegan/wp-content/themes/genesis/lib/functions/layout.php
    ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 6 WARNINGS AFFECTING 6 LINES
    ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    510 | WARNING | Function name "__genesis_return_content_sidebar" is discouraged; PHP has reserved all method names with a double underscore prefix for future use
    525 | WARNING | Function name "__genesis_return_sidebar_content" is discouraged; PHP has reserved all method names with a double underscore prefix for future use
    540 | WARNING | Function name "__genesis_return_content_sidebar_sidebar" is discouraged; PHP has reserved all method names with a double underscore prefix for future use
    555 | WARNING | Function name "__genesis_return_sidebar_sidebar_content" is discouraged; PHP has reserved all method names with a double underscore prefix for future use
    570 | WARNING | Function name "__genesis_return_sidebar_content_sidebar" is discouraged; PHP has reserved all method names with a double underscore prefix for future use
    585 | WARNING | Function name "__genesis_return_full_width_content" is discouraged; PHP has reserved all method names with a double underscore prefix for future use
    ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    Will this cause issues if I upgrade? What's the guidance here?

    Thanks.

    https://plentyvegan.com/
    March 7, 2017 at 9:19 am #202637
    Gary Jones
    Member

    These are only warnings from PHPCS and they can be ignored here. PHP won't ever introduce native functions that start with __genesis_. Genesis works absolutely fine with PHP 7.0.


    WordPress Engineer, and key contributor the Genesis Framework | @GaryJ

    March 7, 2017 at 9:20 am #202638
    plentyvegan
    Member

    Awesome - thanks, Gary!

    August 6, 2017 at 10:51 am #210052
    Bruce Rawles
    Participant

    Thanks, that answered my question, too... I will trust that I can ignore those warnings as well.

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Genesis compatibility with PHP 7.0’ 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

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