• Hi! There is a notice at the top of my WordPress page that says the following:

    Notice: Trying to access array offset on value of type bool in /home/madelinebeard/madelinebeard.com/wp-content/themes/twentytwentyone/inc/template-functions.php on line 436

    It looks like this is a bug or issue with the Twenty Twenty One theme. Has anyone else encountered this issue and resolved? I have very limited knowledge of PHP; I tried downgrading my WordPress site to an older version, but no success getting this fixed. Please let me know if you can help!

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator James Huff

    (@macmanx)

    This may be a plugin conflict. Please attempt to disable all plugins. If the problem goes away, enable them one by one to identify the source of the problem.

    If you can install plugins, install Health Check. On the troubleshooting tab, you can click the button to disable all plugins and change the theme for you, while you’re still logged in, without affecting normal visitors to your site.

    Thread Starter madelinebeard

    (@madelinebeard)

    Hi James!
    Thanks for responding about this. I went ahead and deactivated almost all plugins (only keeping the essentials active, about six) but still no success getting rid of this Notice at the top of my page. I also tried rolling back versions of my website’s theme, version of WordPress and plugins, but almost broke my website this way (had a very scary Fatal Error moment just now, but it seems I was able to address this).

    Let me know if you have any other recommendations, I am pretty desperate to get this fixed.

    Moderator James Huff

    (@macmanx)

    Please try deactivating _all_ plugins.

    Again, if you can install plugins, install Health Check. On the troubleshooting tab, you can click the button to disable all plugins and change the theme for you, while you’re still logged in, without affecting normal visitors to your site.

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

The topic ‘Notice: Trying to access array offset on value of type bool in’ is closed to new replies.