• I receive the error when trying to insert video link via Video URL field:

    Warning: call_user_func_array() [
    function.call-user-func-array
    ]: First argument is expected to be a valid callback, 'WP_oEmbed::_strip_newlines' was given in /var/www/website/website.com/wp-includes/plugin.php on line 214

    It works when this line 214 in deactivating in plugin.php file, but some plugins just stop working.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Getting this too when I post a twitter link into bbpress. Hmmm….

    I had this problem when upgraded to version 4, I decided making _strip_newlines function as published in wp-includes / class-oembed.php thus:

    private function _strip_newlines ($ html, $ data, $ url) {

    change to:

    public function _strip_newlines ($ html, $ data, $ url) {

    Assim funciona (how it works) =D

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Problem with video posts’ is closed to new replies.