[Resolved] Functions.php error on top of dash

I had an issue last week where my site wasn’t loading (would go to no data every time I tried accessing the site). I spoke with my host and they informed me there was an issue with a couple of plugins which they renamed and since then I had deleted.

While it’s back to normal use at this point, an error/notice has popped up on the top of the WordPress dash:

Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in /hermes/waloraweb052/b2302/pow./htdocs/a/wp-includes/functions.php on line 3017 Notice: Trying to get property of non-object in /hermes/waloraweb052/b2302/pow./htdocs/a/wp-content/themes/custom-community/functions.php on line 1184 Notice: Trying to get property of non-object in /hermes/waloraweb052/b2302/pow./htdocs/a/wp-content/themes/custom-community/functions.php on line 1184

I’m not exactly sure what to fix. It’s possible my host messed around with something as they first thought something was wrong with custom community theme itself (which turns out there wasn’t after I went back and forth with them). I was hoping someone can help with this.

I tried deactivating some plugins which worked. But there was still one plugin causing the message which I had been using for a while now. The debug to false worked though in getting rid of the messages completely. Thanks for the help again!