Title: Warning: curl_setopt() [function.curl-setopt] error&#8230;
Last modified: August 21, 2016

---

# Warning: curl_setopt() [function.curl-setopt] error…

 *  supervinnie40
 * (@supervinnie40)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/warning-curl_setopt-functioncurl-setopt-error/)
 * Hi,
 * I keep getting this error on my site.
 * > Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot
   > be activated when safe_mode is enabled or an open_basedir is set in /home/……/
   > domains/……./public_html/……./wp-content/plugins/automatic-youtube-video-posts/
   > class/curl.php(272) : eval()’d code on line 1
 * I asked my hoster about it, and they say the plugin very badly written. It also
   states that safe_mode is enabled, but the hoster says they won’t deactivate safe_mode.
 * Does this mean that I will keep getting this error as long as safe_mode is enabled?
   Or is it time for an update of the plugin?
 * I saw a few others in this support-part that had similar problems, funnily enough,
   those threads don’t get any replies…..
 * [http://wordpress.org/plugins/automatic-youtube-video-posts/](http://wordpress.org/plugins/automatic-youtube-video-posts/)

The topic ‘Warning: curl_setopt() [function.curl-setopt] error…’ is closed to new
replies.

 * ![](https://s.w.org/plugins/geopattern-icon/automatic-youtube-video-posts_e39595.
   svg)
 * [Automatic Youtube Video Posts Plugin](https://wordpress.org/plugins/automatic-youtube-video-posts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/automatic-youtube-video-posts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/automatic-youtube-video-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/automatic-youtube-video-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/automatic-youtube-video-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/automatic-youtube-video-posts/reviews/)

## Tags

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

 * 0 replies
 * 1 participant
 * Last reply from: supervinnie40
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/warning-curl_setopt-functioncurl-setopt-error/)
 * Status: not resolved