Avada Forums Community Forum Warning: Trying to access array offset on value of type bool in older posts

Tagged: 

Viewing 1 post (of 1 total)
  • Author
    Posts
  • PeterC66
    Participant
    Post count: 13

    On my live site (https://www.hcnhistory.org.uk/blog/) I use PHP v 8.0 and Avada 7.8.2, and all seems OK.

    On my local development WAMP site I use PHP 8.0.14 and Avada 7.8.2 and there is an issue on all older blog posts.

    The message is Warning: Trying to access array offset on value of type bool in C:\hwnhistory\wp-content\themes\Avada\includes\class-avada-head.php on line 174.

    This warning appears on all my blog posts earlier than May 2018 on the WAMP, but none since then. It does not appear at all on my live site. Any ideas?

    Call Stack
    # Time Memory Function Location
    1 0.0006 387904 {main}( ) …\index.php:0
    2 0.0009 388216 require( ‘C:\hwnhistory\wp-blog-header.php ) …\index.php:17
    3 4.0802 29107576 require_once( ‘C:\hwnhistory\wp-includes\template-loader.php ) …\wp-blog-header.php:19
    4 4.0835 29196344 include( ‘C:\hwnhistory\wp-content\themes\Avada\single.php ) …\template-loader.php:106
    5 4.0835 29196344 get_header( $name = ???, $args = ??? ) …\single.php:15
    6 4.0835 29196720 locate_template( $template_names = [0 => ‘header.php’], $load = TRUE, $require_once = TRUE, $args = [] ) …\general-template.php:48
    7 4.0836 29196816 load_template( $_template_file = ‘C:\\hwnhistory/wp-content/themes/Avada-Child-Theme/header.php’, $require_once = TRUE, $args = [] ) …\template.php:718
    8 4.0837 29197392 require_once( ‘C:\hwnhistory\wp-content\themes\Avada-Child-Theme\header.php ) …\template.php:783
    9 4.1000 29248128 wp_head( ) …\header.php:21
    10 4.1000 29248128 do_action( $hook_name = ‘wp_head’ ) …\general-template.php:3043
    11 4.1000 29248504 WP_Hook->do_action( $args = [0 => ”] ) …\plugin.php:517
    12 4.1000 29248504 WP_Hook->apply_filters( $value = ”, $args = [0 => ”] ) …\class-wp-hook.php:332
    13 4.9359 32600776 Avada_Head->insert_og_meta( ” ) …\class-wp-hook.php:308

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