WordPress.org

Support

Support » Plugins and Hacks » Error on line 93?

Error on line 93?

  • Hi!

    When I try to link a song in a page I get this error:

    Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /storage/content/57/117057/silentwhisper.nu/public_html/wp-content/plugins/wp-spotify/wp-spotify.class.php on line 93
    Duplicate entry ” for key ‘trackTrackUri’

    help?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Yes, I’m having the same problem over at my site and I’ve found that adding modifying the line 93 to return array("album" => array_merge((array)$album, (array)$cover), "artist" => $artist, "track" => array_merge((array)$tracktitle, (array)$trackuri)); but now it seems that the plugin doesn’t write the title information into the database. I’m doing my best to fix it but any help would be greatly appreciated.

    Hey sunnre !

    I’ve tried your modification and it works well. Did you reach to fix the fact Title name is not displayed?

    Yes, in fact I did fix it. I’ve uploaded the fixed version here. Although my version is a bit modified it’s still pretty much the same as the original one.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error on line 93?’ is closed to new replies.