• My Site is https://www.catchware.com and uses a custom theme designed by a WP Developer.
    Its Running Worpress 4.0
    I have Gold cart 2.9.7.1 and I am trying to update WP E-Commerce Plugin to version 3.8.14.3 and get this error:

    Fatal error: Call to undefined function wpsc_get_customer_meta() in /home/catchwar/public_html/wp-content/plugins/gold-cart-plugin-2.9.7.1/gold_shopping_cart.php on line 107

    This is the code from the referenced file:

    * View mode.
    	 */
    	function wpsc_gc_view_mode() {
    		global $wpsc_gc_view_mode;
    
    		$wpsc_gc_view_mode = wpsc_get_customer_meta( 'display_type' );
    		if ( empty( $wpsc_gc_view_mode ) )
    			$wpsc_gc_view_mode =  wpsc_check_display_type();
    
    		if ( get_option( 'show_search' ) && get_option( 'show_advanced_search' ) ) {
    			if ( ! empty( $_REQUEST['view_type'] ) && in_array( $_REQUEST['view_type'], array( 'list', 'grid', 'default' ) ) ) {
    				$wpsc_gc_view_mode = $_REQUEST['view_type'];
    				wpsc_update_customer_meta( 'display_type', $wpsc_gc_view_mode );
    			} elseif ( empty( $wpsc_gc_view_mode ) ) {
    				$wpsc_gc_view_mode = get_option( 'product_view', 'default' );
    			}
    		}
    
    		if ( $wpsc_gc_view_mode == 'grid' ) {
    			add_action( 'wp_head', 'wpsc_grid_custom_styles', 9 );
    		}
    	}
    
    	/**

    Any help is greatly appreciated.

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘WP E-Commerce FATAL ERROR’ is closed to new replies.