• Resolved rob11rob

    (@rob11rob)


    Hello,

    after I changed PHP from 7.4 to 8.4

    I am getting the following error warning on my site:

    Warning: Undefined array key “” in /data/web/virtuals/180xxx/virtual/www/domains/nedejsenedame.cz/wp-content/themes/neve/header-footer-grid/Core/Builder/Abstract_Builder.php on line 1713

    I am using WP 6.8.2. and Neve Theme 4.1.3. All plugins are up to date. Tested with plugins disabled.

    Here is is the corresponding content from the Abstract_Builder.php +- lines 1713

    /**
    * Get a component from builder.
    *
    * @param string|null $id The id of the component.
    *
    * @return Abstract_Component|null
    * @since 1.0.0
    * @access public
    */
    public function get_component( $id = null ) {
    if ( $id === null ) {
    $id = ( self::$current_component === null ) ? Abstract_Component::$current_component : self::$current_component;
    }

    1713 - return $this->builder_components[ $id ];
    }

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,

    From the warning message, it sounds like probably one of the Customizer options related to the Header/Footer builder didn’t save properly at some point in the database.

    Unfortunately, without access to the site and the database, this is difficult to pinpoint.

    If possible, you can try something like resetting the options that you currently have in the Header/Footer builder, meaning, clearing all the content from the components, and remove the components from the Header/Footer, and after that, add them again, and their content again.

    However, you can also take the simple route of hiding this warning, as it shouldn’t cause anything bad, and in general, it’s not ideal to allow warnings to be shown on a production site. https://docs.themeisle.com/article/819-how-to-turn-on-off-debugging-in-wordpress

    Hope this helps.

    Kind regards,

    Rodica

    Thread Starter rob11rob

    (@rob11rob)

    Hi, ok, great thanks for the nudge. I just clicked through the header settings and reloaded it and the warning disappeared.

    Otherwise, I have debugging turned off on the website. 

    Thanks Robert

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Neve Theme Error in Top row’ is closed to new replies.