Theme file causing PHP warning in server logs


Hi there - Hoping someone can shed light on this error clogging up our server logs.

"PHP Warning: current() expects parameter 1 to be array, string given in .... /wp-content/themes/tm-beans/lib/api/widget/functions.php on line 431"

I'm getting it anywhere from 5-10 times per minute, and unfortunately my client's hosting doesn't allow for turning off the error logging :P.

I just spent a few days doing deferred maintance on his site, and this is the only hiccup we're having now that everything is up to date.

The site is running on Bluehost wtih PHP 7.1.27.

Write a reply

Login or register to write a reply, it's free!