• 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

If I upgrade to PHP 8 with Genesis Sample I get the following 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 › StudioPress Themes › Genesis Sample › If I upgrade to PHP 8 with Genesis Sample I get the following error

This topic is: not resolved
  • This topic has 0 replies, 1 voice, and was last updated 3 months, 4 weeks ago by [email protected].
Viewing 1 post (of 1 total)
  • Author
    Posts
  • May 28, 2023 at 2:10 pm #507478
    [email protected]
    Participant

    If I upgrade to PHP 8 with Genesis Sample I get the following error:

    [28-May-2023 19:52:28 UTC] PHP Fatal error: Uncaught TypeError: array_merge(): Argument #2 must be of type array, null given in /var/www/vhosts/shishmahal.es/httpdocs/wp-includes/widgets.php:1342
    Stack trace:
    #0 /var/www/vhosts/shishmahal.es/httpdocs/wp-includes/widgets.php(1342): array_merge()
    #1 /var/www/vhosts/shishmahal.es/httpdocs/wp-includes/widgets.php(1287): retrieve_widgets()
    #2 /var/www/vhosts/shishmahal.es/httpdocs/wp-includes/class-wp-hook.php(310): _wp_sidebars_changed()
    #3 /var/www/vhosts/shishmahal.es/httpdocs/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    #4 /var/www/vhosts/shishmahal.es/httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action()
    #5 /var/www/vhosts/shishmahal.es/httpdocs/wp-includes/theme.php(3401): do_action()
    #6 /var/www/vhosts/shishmahal.es/httpdocs/wp-includes/class-wp-hook.php(308): check_theme_switched()
    #7 /var/www/vhosts/shishmahal.es/httpdocs/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    #8 /var/www/vhosts/shishmahal.es/httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action()
    #9 /var/www/vhosts/shishmahal.es/httpdocs/wp-settings.php(623): do_action()
    #10 /var/www/vhosts/shishmahal.es/httpdocs/wp-config.php(106): require_once('...')
    #11 /var/www/vhosts/shishmahal.es/httpdocs/wp-load.php(50): require_once('...')
    #12 /var/www/vhosts/shishmahal.es/httpdocs/wp-blog-header.php(13): require_once('...')
    #13 /var/www/vhosts/shishmahal.es/httpdocs/index.php(17): require('...')
    #14 {main}
    thrown in /var/www/vhosts/shishmahal.es/httpdocs/wp-includes/widgets.php on line 1342

  • Author
    Posts
Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.
Log In

CTA

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

Create a site with WP EngineShop for Themes

Footer

StudioPress

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