Support » Plugin: NextScripts: Social Networks Auto-Poster » When posting to tumblr as audio post

Viewing 7 replies - 1 through 7 (of 7 total)
  • I’m using soundcloud embed code and using %RAWTEXT% it works on tumblr, but that error keeps coming up

    ~bump to first page.

    Any ideas?

    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


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

    This is fixed, thank you so much!

    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

    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.