Title: [Plugin: Sharepress] Plugin Activation Throws an Error
Last modified: August 19, 2016

---

# [Plugin: Sharepress] Plugin Activation Throws an Error

 *  [saracup](https://wordpress.org/support/users/saracup/)
 * (@saracup)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-sharepress-plugin-activation-throws-an-error/)
 * I am installing and activating Sharepress on a single blog within a multi-site
   installation. The domain of my blog is a different domain from the root site 
   via Domain Mapping. I have multiple plugins on the site and there have been no
   problems so far.
 * When I activate the plugin, I get the following error:
 * Warning: strpos() expects parameter 1 to be string, array given in /[my site 
   root]/wp-includes/link-template.php on line 2027
 * Is this a result of multi-site, of the domain mapping, or what else?
 * [http://wordpress.org/extend/plugins/sharepress/](http://wordpress.org/extend/plugins/sharepress/)

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

 *  Plugin Author [Aaron Collegeman](https://wordpress.org/support/users/aaroncollegeman/)
 * (@aaroncollegeman)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-sharepress-plugin-activation-throws-an-error/#post-2016786)
 * [@saracup](https://wordpress.org/support/users/saracup/), excellent questions.
   Unfortunately I haven’t tested the setup you’re describing. I am, however, getting
   ready to embark on just such a project. I will let you know what I discover.
 *  Thread Starter [saracup](https://wordpress.org/support/users/saracup/)
 * (@saracup)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-sharepress-plugin-activation-throws-an-error/#post-2016787)
 * Thank you. I’m anxiously awaiting SharePress pro. We’ll be using it on a multi-
   network installation (like multi-site on steroids). Would love to get this to
   work!
 *  [57ar7up](https://wordpress.org/support/users/57ar7up/)
 * (@57ar7up)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-sharepress-plugin-activation-throws-an-error/#post-2017128)
 * Same error in link-template.php, but on line 2128 I’m fixed by changing sharepress-
   lite.php on line 628:
    **From** wp_enqueue_script(‘fancybox’, plugins_url(‘sharepress/
   fancybox/jquery.fancybox-1.3.4.pack.js’, array(‘jquery’))); **To** wp_enqueue_script(‘
   fancybox’, plugins_url(‘sharepress/fancybox/jquery.fancybox-1.3.4.pack.js’, ‘
   jquery’));
 *  Plugin Author [Aaron Collegeman](https://wordpress.org/support/users/aaroncollegeman/)
 * (@aaroncollegeman)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-sharepress-plugin-activation-throws-an-error/#post-2017138)
 * [@57ar7up](https://wordpress.org/support/users/57ar7up/), thanks for the tip.
   I’ll see that this fix gets implemented in the next release.
 *  [Viorel-Cosmin Miron](https://wordpress.org/support/users/siravecavec/)
 * (@siravecavec)
 * [15 years ago](https://wordpress.org/support/topic/plugin-sharepress-plugin-activation-throws-an-error/#post-2017190)
 * Sharepress throw me this after install and activation;
 * Fatal error: Uncaught exception ‘Exception’ with message ‘Facebook needs the 
   CURL PHP extension.’ in /srv/www/highacid.com/public_html/wp-content/plugins/
   sharepress/facebook-sdk-2.1.2.php:4 Stack trace: #0 /srv/www/highacid.com/public_html/
   wp-content/plugins/sharepress/sharepress-lite.php(32): require() #1 /srv/www/
   highacid.com/public_html/wp-admin/plugins.php(149): include(‘/srv/www/highac…’)#
   2 /srv/www/highacid.com/public_html/wp-admin/plugins.php(151): plugin_sandbox_scrape(‘
   sharepress/shar…’) #3 {main} thrown in /srv/www/highacid.com/public_html/wp-content/
   plugins/sharepress/facebook-sdk-2.1.2.php on line 4
 *  [Viorel-Cosmin Miron](https://wordpress.org/support/users/siravecavec/)
 * (@siravecavec)
 * [15 years ago](https://wordpress.org/support/topic/plugin-sharepress-plugin-activation-throws-an-error/#post-2017191)
 * Problem solved, installed php5-curl into my Apache, works as a charm, waiting
   for the pro version!

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

The topic ‘[Plugin: Sharepress] Plugin Activation Throws an Error’ is closed to 
new replies.

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

 * 6 replies
 * 4 participants
 * Last reply from: [Viorel-Cosmin Miron](https://wordpress.org/support/users/siravecavec/)
 * Last activity: [15 years ago](https://wordpress.org/support/topic/plugin-sharepress-plugin-activation-throws-an-error/#post-2017191)
 * Status: not resolved