Errors in widgets.php

Posted in: Newspaper
Post count: 85

Hello! Just upgraded to Newspaper 9.0, and am getting the following error lines, including on the public-facing site. All are in widgets.php.

Warning: array_search() expects parameter 2 to be array, boolean given in /home/forwardk/public_html/wp-includes/widgets.php on line 1327

Warning: array_merge(): Argument #6 is not an array in /home/forwardk/public_html/wp-includes/widgets.php on line 1160

Warning: array_diff(): Argument #2 is not an array in /home/forwardk/public_html/wp-includes/widgets.php on line 1161

Warning: Invalid argument supplied for foreach() in /home/forwardk/public_html/wp-includes/widgets.php on line 1163

Warning: array_merge(): Argument #1 is not an array in /home/forwardk/public_html/wp-includes/widgets.php on line 1171

As best as I can tell, it is code to clean up old/removed widgets.

I could start commenting it out to make the error lines go away, but that way lies madness.

Can you help me figure this out, and clear the errors?

PS — I deleted all the Tagdiv plugins from previous version of the theme, and uploaded all new ones. Only one activated is Composer, though.

Post count: 85

Huh — seems to have cleared up on its own.

As I said, I thought it was about clearing up unused widgets. I guess it got them all cleared up. 🙂

Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.