Warning: Trying to access array offset on value of type bool in

  • Author
    Posts
  • #131693

    Hello, I have a warning message on the presentation page that won’t go away. I have deactivated all plugins, that’s not the problem. It does not appear on any other page.

    Website: www.beate-eierle.de

    #131833
    Zed
    Cryout Creations mastermind

    Hi,

    Could you include the whole message? (as they usually reference filenames and locations in files – you can censor out anything in the file paths before WordPress’ root folder)


    If you like our creations, help us share by rating them on WordPress.org.
    Please check the available documentation and search the forums before starting a topic.
    #131844

    Warning: Trying to access array offset on value of type bool in /homepages/../……/htdocs/beate-eierle/wp-content/themes/nirvana/includes/theme-frontpage.php on line 160

    If you visit my website you will still see the message. I don’t get the message from the home page, only when I disable the presentation page.

    Website: www.beate-eierle.de

    #132140

    Addendum: I have managed with this information in the wp-config

    define( ‘WP_DEBUG’, true );

    define( ‘WP_DEBUG_LOG’, true );

    define( ‘WP_DEBUG_DISPLAY’, false );

    to get the message away from the presentation page. Which certainly doesn’t remove the warning/error though.

    Please explain to me what happened there and how it will be corrected. Inquiries in other WP forums indicated that something was not “cleanly” programmed in the theme programming. I can not judge this and just want to give it as a hint.

    Thanks for their help if they read this.

    Website: www.beate-eierle.de

    #134795
    Zed
    Cryout Creations mastermind

    The line of code where the messages are displayed indicates that you are displaying posts without featured images assigned in the columns (which require images).

    The next theme update will include an additional check to avoid the warning in such cases, but using posts-generated columns without images is still an unsupported scenario.


    If you like our creations, help us share by rating them on WordPress.org.
    Please check the available documentation and search the forums before starting a topic.
    #134998
    This reply is private.
Viewing 6 posts - 1 through 6 (of 6 total)

You need to log in to reply to this topic.