Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter neodan

    (@neodan)

    I’m using soundcloud embed code and using %RAWTEXT% it works on tumblr, but that error keeps coming up

    Thread Starter neodan

    (@neodan)

    ~bump to first page.

    Any ideas?

    Thread Starter neodan

    (@neodan)

    I tried this on a fresh install of wordpress. I wanted to verify it’s not the theme or another plugin conflict.

    Plugin Author NextScripts

    (@nextscripts)

    Will be fixe din the next release, but it happens only when you are trying to make an “Audio” post without actual audio.

    Thread Starter neodan

    (@neodan)

    This is fixed, thank you so much!

    Thread Starter neodan

    (@neodan)

    This is working, but after the post is published I get this error

    Warning: array_unique() expects parameter 1 to be array, null given in /home/EDITED/public_html/wp-content/plugins/social-networks-auto-poster-facebook-twitter-g/nxs_functions.php on line 51

    Warning: Cannot modify header information – headers already sent by (output started at /home/EDITED/public_html/wp-content/plugins/social-networks-auto-poster-facebook-twitter-g/nxs_functions.php:51) in /home/EDITED/public_html/wp-includes/pluggable.php on line 1121

    Thread Starter neodan

    (@neodan)

    I found how to fix this. In nxs_functions.php under the function nsFindAudioInPost I removed lines 97 – 101

    $regex_pattern = “((https?|ftp|gopher|telnet|file|notes|ms-help):((//)|(\\\\))+[\w\d:#@%/;$()~_?\+-=\\\.&]*\.(mp3|aac|m4a))”;

    $output = preg_match_all( $regex_pattern, $postCnt, $matches ); if ($output === false){return false;}

    foreach ($matches[1] as $match) { $postAu[] = $match; } $postAu = array_unique($postAu); if (isset($ShownAds)) $ShownAds = $ShownAdsL; return $postAu;

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘When posting to tumblr as audio post’ is closed to new replies.