Getting this error (not visible) all over the site
PHP message: PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'snow_featured_content' not found or invalid function name in /home/vagrant/sync/wordpress/wp-includes/class-wp-hook.php on line 286" while reading response header from upstream, client: 10.0.2.2, server: _, request: "GET / HTTP/1.1", upstream: "fastcgi:
This is coming from functions.php – I believe it is this line that's spitting out the error:
Instead of functions I've put in the snow panels in an array like so:
$snow_panels = array(
'snow_upcoming_workshops' => array(
'id' => 'snow_upcoming_workshops',
'title' => 'Upcoming Workshops',
'category' => '8'
'snow_feature_article' => array(
'id' => 'snow_feature_article',
'title' => 'Feature Article',
'category' => '22'
'snow_featured_content' => array(
'id' => 'snow_featured_content',
'title' => 'Featured Content',
'category' => '23'
when it is expecting a function, i.e. snow_upcoming_workshops(), but getting an array instead.
Might have to revert to putting them back into functions so that this error doesn't show up anymore.