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

[ad_1]

Hello everyone, was hoping to get some insight – I'm working on my first website and have gotten these two warnings. Unfortunately, I don't actually know anything about coding or the like so this is completely foreign to me. I'm not sure if it's related to the errors, but several of the images I've uploaded to the site are no longer displaying.

Warning: Trying to access array offset on value of type bool in /home/le/public_html/wp-content/themes/toocheke/inc/toocheke-functions.php on line 1224

Warning: Attempt to read property "term_id" on null in /home/le/public_html/wp-content/themes/toocheke/inc/toocheke-functions.php on line 1237

To my understanding the warnings are referring to these lines, but aside from that I have no idea what to do with it – hopefully this is an appropriate way to show the code. If anyone had any information I'd greatly appreciate it.

1223 #left-content img {
1224 max-width: 100%;
1225 height: auto;
1226 }
1227
1228 #scroll-container {
1229 text-align: left;
1230 }
1231
1232 #home-scroll-container,
1233 #language-switch-container {
1234 text-align: right;
1235 }
1236
1237 #home-scroll-container,
1238 #language-switch-container {
1239 position: fixed;
1240 z-index: 2000;
1241 right: 0;
1242 }

[ad_2]
1 Comment
  1. You described two errors from your theme code and then some CSS statements.

    Edit – are you saying you just started getting these errors after you uploaded some new images?

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer