Jump to content

Lyricwiki Web Service Error?

Recommended Posts

So im trying to use the Lyric Wiki Soap Web service, and i get an error that says:"Catchable fatal error: Object of class stdClass could not be converted to string in /Applications/xampp/xamppfiles/htdocs/project/lyricwiki.php on line 5"Does anyone know what this means and/or what im doing wrong? I cant figure it out..--My code--

<?php$params->artist='beatles';$LW = new SoapClient('http://lyricwiki.org/server.php?wsdl&func=getArtist');$result = $LW->getHometown($params);print_r($result);?>


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...