wpsmith / genesis-sandbox-featured-content-widget

Genesis Sandbox Featured Content Widget. Based on Nick Croft's Genesis Featured Widget Amplified for additional functionality which allows support for custom post types, taxonomies, and extends the flexibility of the widget via action hooks to allow the elements to be re-positioned or other elements to be added.
39 stars 21 forks source link

Cache error #58

Open SSSV opened 9 years ago

SSSV commented 9 years ago

I deleted a few empty categories and I'm suddenly seeing this error on my site:

Catchable fatal error: Object of class WP_Error could not be converted to string in /home/content/l/i/s/lisaholley/html/redesign/wp-includes/formatting.php on line 3042

The following is the code on line 3042 in formatting.php: $url = pregreplace('|[^a-z0-9-~+.?#=!&;,/:%@$|*\'()\x80-\xff]|i', '', $url);

I've had to completely deactivate the plugin to resurrect the site below that widget. Any ideas? This isn't something I'm familiar with. Thanks!

Full code: /**