Title: [Plugin: ArtistDataPress] Error &#8211; Warning: curl_setopt() [function.curl-setopt]
Last modified: August 20, 2016

---

# [Plugin: ArtistDataPress] Error – Warning: curl_setopt() [function.curl-setopt]

 *  Resolved [rayjon](https://wordpress.org/support/users/rayjon/)
 * (@rayjon)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-artistdatapress-error-warning-curl_setopt-functioncurl-setopt/)
 * I’m having trouble getting Artist Data to pull information. It is the same error
   as in another thread, but I’ve verified that PHP safe mode is off for my server.
 * Here is the error:
 * _Warning: curl\_setopt() [function.curl-setopt]: CURLOPT\_FOLLOWLOCATION cannot
   be activated when safe\_mode is enabled or an open\_basedir is set in /nfs/c07/
   h01/mnt/98726/domains/raymondcmjohnson.com/html/wp-content/plugins/artistdatapress/
   artistdatapress.php on line 656_
 * Warning: Invalid argument supplied for foreach() in /nfs/c07/h01/mnt/98726/domains/
   raymondcmjohnson.com/html/wp-content/plugins/artistdatapress/inc/layout.php on
   line 636
 * Here the link to the page: [http://raymondcmjohnson.com/shows/](http://raymondcmjohnson.com/shows/)
 * Here is a link to my PHP info: [http://s98726.gridserver.com/gs-bin/phpinfo.php5](http://s98726.gridserver.com/gs-bin/phpinfo.php5)
 * Thanks!
 * [http://wordpress.org/extend/plugins/artistdatapress/](http://wordpress.org/extend/plugins/artistdatapress/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [slushman](https://wordpress.org/support/users/slushman/)
 * (@slushman)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-artistdatapress-error-warning-curl_setopt-functioncurl-setopt/#post-2893271)
 * Hey rayjon,
 * It looks like the open_basedir setting has something in it and it needs to be
   blank in order to let cURL grab the info from the ArtistData XML feed. See if
   you can log in and change that setting to blank and let me know if the plugin
   starts working.
 * Slushman
 *  Thread Starter [rayjon](https://wordpress.org/support/users/rayjon/)
 * (@rayjon)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-artistdatapress-error-warning-curl_setopt-functioncurl-setopt/#post-2893278)
 * Slushman,
 * Thanks for the reply!
 *  I’d rather leave the PHP settings alone to avoid creating problems elsewhere.
   I ended up downloading an “iframe” plugin and embedding the ArtistData calendar
   widget on my site.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘[Plugin: ArtistDataPress] Error – Warning: curl_setopt() [function.curl-
setopt]’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/artistdatapress_a72b29.svg)
 * [ArtistDataPress](https://wordpress.org/plugins/artistdatapress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/artistdatapress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/artistdatapress/)
 * [Active Topics](https://wordpress.org/support/plugin/artistdatapress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/artistdatapress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/artistdatapress/reviews/)

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)

 * 2 replies
 * 2 participants
 * Last reply from: [rayjon](https://wordpress.org/support/users/rayjon/)
 * Last activity: [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-artistdatapress-error-warning-curl_setopt-functioncurl-setopt/#post-2893278)
 * Status: resolved