WordPress.org

Ready to get started?Download WordPress

Forums

WP eCommerce
[resolved] [3.8.9] Multi-site broken (4 posts)

  1. Web Match
    Member
    Posted 1 year ago #

    From our technical staff:

    --
    The E-commerce plugin was not completely testen within multisite setups it seems. It is fixed for us now.

    Could you give the following patchfile to the author of the plugin? Then he could fix this in upcoming versions.

    --- wpsc-functions.php-dist     2012-10-30 09:38:52.000000000 +0100
    +++ wpsc-functions.php  2012-10-30 09:32:41.000000000 +0100
    @@ -1656,6 +1656,7 @@
      *                        if otherwise.
      */
     function wpsc_get_all_customer_meta( $id = false ) {
    +       global $wpdb;
            if ( ! $id )
                    $id = wpsc_get_current_customer_id();
    
    @@ -1712,6 +1713,7 @@
      *                             if otherwise.
      */
     function wpsc_update_all_customer_meta( $profile, $id = false ) {
    +       global $wpdb;
            if ( ! $id )
                    $id = wpsc_get_current_customer_id( 'create' );

    http://wordpress.org/extend/plugins/wp-e-commerce/

  2. Gary Cao
    Member
    Plugin Author

    Posted 1 year ago #

    Hi webmatch,

    Thanks for the notification.

    We have fixed this on our latest development branch, and this will be included in our upcoming 3.8.9.1 release.

    Gary.

  3. thaDRAGON
    Member
    Posted 1 year ago #

    How to apply above fix?

  4. Dee Teal
    Member
    Posted 1 year ago #

    Gary, when will the 3.8.9.1 release be out? I've got 2 sites I'm working on, in a multisite network, giving me this error...

    [Thu Nov 01 23:17:12 2012] [warn] [client 198.142.101.209] mod_fcgid: stderr: PHP Fatal error: Call to a member function get_blog_prefix() on a non-object in /var/www/vhosts/thewebprincess.com/themes/wp-content/plugins/wp-e-commerce/wpsc-core/wpsc-functions.php on line 1668, referer: http://themes.thewebprincess.com/wp-admin/

    The themes are here at http://themes.thewebprincess.com/genesis-wpec/ and here at http://themes.thewebprincess.com/my-tunes/ they are both borked because I upgraded.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic