I’m using wordpress 4.0, and I get the following php warnings in my log:
PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘et_add_viewport_meta’ not found or invalid function name in /var/www/vhosts/mydomain.com/httpdocs/blog/wp-includes/plugin.php on line 505
I checked the plugin.php line 505, and found this line:
call_user_func_array($the_[‘function’], array_slice($args, 0, (int) $the_[‘accepted_args’]));
How can I fix this, what can be the problem?
Check your wordpress functions.php under ~/wp-content/themes/YOURTHEMENAME/ directory.
There should be this function defined: