WordPress.org

Ready to get started?Download WordPress

Forums

SharePress
[Plugin: Sharepress] Plugin Activation Throws an Error (7 posts)

  1. saracup
    Member
    Posted 3 years ago #

    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/

  2. Collegeman
    Member
    Plugin Author

    Posted 3 years ago #

    @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.

  3. saracup
    Member
    Posted 3 years ago #

    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!

  4. 57ar7up
    Member
    Posted 3 years ago #

    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'));

  5. Collegeman
    Member
    Plugin Author

    Posted 3 years ago #

    @57ar7up, thanks for the tip. I'll see that this fix gets implemented in the next release.

  6. siravecavec
    Member
    Posted 3 years ago #

    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

  7. siravecavec
    Member
    Posted 3 years ago #

    Problem solved, installed php5-curl into my Apache, works as a charm, waiting for the pro version!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags