Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • yes the shipping is enabled. is an old shop and was working fine before the update. I don’t know what to show you. is not on one order is on all orders after the update and there is no shipping address. only billing.
    https://pachecg-my.sharepoint.com/:i:/g/personal/go753_msoffice_group/EY-5fxULzptNoHbduO5vt84BpD0tLCLyBYy5mECkSvdr9g?e=cYOgGE

    I have updated php to 7.3 and the error is gone, but the old orders are still without shipping address. The error looks like is coming from a missing simple verification.

    I have the exact same problem. I see the error in php log and the order is not displaying the shipping address.

    here is woocommerce status:

    
    ### WordPress Environment ###
    
    WordPress address (URL): 
    Site address (URL):
    WC Version: 3.7.0
    REST API Version: ? 1.0.2
    Log Directory Writable: ?
    WP Version: 5.2.2
    WP Multisite: –
    WP Memory Limit: 768 MB
    WP Debug Mode: –
    WP Cron: ?
    Language: en_US
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 7.1.30 - We recommend using PHP version 7.2 or above for greater performance and security. How to update your PHP version
    PHP Post Max Size: 128 MB
    PHP Time Limit: 120
    PHP Max Input Vars: 1000
    cURL Version: 7.59.0
    OpenSSL/1.0.2r
    
    SUHOSIN Installed: –
    MySQL Version: 5.6.40-84.0-log
    Max Upload Size: 128 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    ### Database ###
    
    WC Database Version: 3.7.0
    WC Database Prefix: 
    MaxMind GeoIP Database: ?
    Total Database Size: 30.37MB
    Database Data Size: 21.13MB
    Database Index Size: 9.24MB
    gjdoe_woocommerce_sessions: Data: 0.14MB + Index: 0.02MB + Engine InnoDB
    gjdoe_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    gjdoe_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    gjdoe_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    gjdoe_woocommerce_order_items: Data: 0.06MB + Index: 0.02MB + Engine InnoDB
    gjdoe_woocommerce_order_itemmeta: Data: 0.17MB + Index: 0.19MB + Engine InnoDB
    gjdoe_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    gjdoe_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    gjdoe_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    gjdoe_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    gjdoe_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    gjdoe_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    gjdoe_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    gjdoe_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    gjdoe_aiowps_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    gjdoe_aiowps_failed_logins: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
    gjdoe_aiowps_global_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    gjdoe_aiowps_login_activity: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
    gjdoe_aiowps_login_lockdown: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    gjdoe_aiowps_permanent_block: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    gjdoe_aws_cache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    gjdoe_aws_index: Data: 2.38MB + Index: 0.00MB + Engine InnoDB
    gjdoe_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    gjdoe_comments: Data: 0.52MB + Index: 0.66MB + Engine InnoDB
    gjdoe_duplicator_packages: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    gjdoe_email_log: Data: 1.52MB + Index: 0.00MB + Engine InnoDB
    gjdoe_failed_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    gjdoe_feedmanager_channel: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    gjdoe_feedmanager_country: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    gjdoe_feedmanager_feed_status: Data: 0.02MB + Index: 0.11MB + Engine InnoDB
    gjdoe_feedmanager_field_categories: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    gjdoe_feedmanager_product_feed: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    gjdoe_feedmanager_product_feedmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    gjdoe_feedmanager_source: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    gjdoe_layerslider: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    gjdoe_layerslider_revisions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    gjdoe_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    gjdoe_mailchimp_carts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    gjdoe_mstoreapp_wishlist: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    gjdoe_options: Data: 3.28MB + Index: 0.20MB + Engine InnoDB
    gjdoe_postmeta: Data: 8.52MB + Index: 6.03MB + Engine InnoDB
    gjdoe_posts: Data: 2.52MB + Index: 0.64MB + Engine InnoDB
    gjdoe_po_plugins: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    gjdoe_queue: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    gjdoe_revslider_css: Data: 0.13MB + Index: 0.00MB + Engine InnoDB
    gjdoe_revslider_layer_animations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    gjdoe_revslider_navigations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    gjdoe_revslider_sliders: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    gjdoe_revslider_slides: Data: 0.19MB + Index: 0.00MB + Engine InnoDB
    gjdoe_revslider_static_slides: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    gjdoe_sdm_downloads: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    gjdoe_termmeta: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
    gjdoe_terms: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
    gjdoe_term_relationships: Data: 0.08MB + Index: 0.05MB + Engine InnoDB
    gjdoe_term_taxonomy: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
    gjdoe_usermeta: Data: 0.14MB + Index: 0.16MB + Engine InnoDB
    gjdoe_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    gjdoe_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    gjdoe_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    gjdoe_wc_customer_lookup: Data: 0.06MB + Index: 0.03MB + Engine InnoDB
    gjdoe_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    gjdoe_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    gjdoe_wc_order_product_lookup: Data: 0.05MB + Index: 0.06MB + Engine InnoDB
    gjdoe_wc_order_stats: Data: 0.06MB + Index: 0.05MB + Engine InnoDB
    gjdoe_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    gjdoe_wc_product_meta_lookup: Data: 0.05MB + Index: 0.09MB + Engine InnoDB
    gjdoe_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    gjdoe_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    gjdoe_yoast_seo_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    gjdoe_yoast_seo_meta: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    
    ### Security ###
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ?
    
    ### Active Plugins (54) ###
    
    17TRACK for WooCommerce: by 17TRACK – 1.0.8 – Not tested with the active version of WooCommerce
    Advanced Woo Search: by ILLID – 1.78
    Redux Framework: by Team Redux – 3.6.15
    All In One WP Security: by Tips and Tricks HQ
    Peter Petreski
    Ruhul
    Ivy – 4.4.0
    
    BeTheme Header Builder: by Muffin group – 1.0.5
    Contact Form 7: by Takayuki Miyoshi – 5.1.4
    GDPR Cookie Consent: by WebToffee – 1.7.9
    Custom Related Products for WooCommerce: by Scott Nelle – 1.3 – Not tested with the active version of WooCommerce
    Email Log: by Sudar – 2.3.1
    Facebook for WooCommerce: by Facebook – 1.9.15 – Not tested with the active version of WooCommerce
    Error Log Monitor: by Janis Elsts – 1.6.6
    Messenger Customer Chat: by Facebook – 1.3
    Flamingo: by Takayuki Miyoshi – 2.0
    Force Regenerate Thumbnails: by Pedro Elsner – 2.0.6
    Google Analytics Dashboard for WP (GADWP): by ExactMetrics – 5.3.9
    Google XML Sitemaps: by Arne Brachhold – 4.1.0
    Hotjar Connecticator: by Blue Medicine Labs – 1.1.1
    Mailchimp for WooCommerce: by Mailchimp – 2.1.17 – Not tested with the active version of WooCommerce
    Manual Reviews for WooCommerce: by Royalz Toolkits – 1.0 – Not tested with the active version of WooCommerce
    Minimal Coming Soon & Maintenance Mode: by WebFactory Ltd – 2.05
    Mstoreapp Mobile App: by Mstoreapp – 8.0.1
    OneSignal Push Notifications: by OneSignal – 1.17.8
    Plugin Organizer: by Jeff Sterup – 10.1
    PixelYourSite: by PixelYourSite – 7.1.1
    PixelYourSite Pinterest: by PixelYourSite – 2.0.6 – Not tested with the active version of WooCommerce
    Preview E-mails for WooCommerce: by Digamber Pradhan – 1.5.1 – Not tested with the active version of WooCommerce
    Flexible Checkout Fields: by WP Desk – 2.0.8
    SG Optimizer: by SiteGround – 5.2.5
    WooCommerce - Show only lowest prices in variable products: by Fernando Tellado – 0.9.10 – Not tested with the active version of WooCommerce
    Simple Download Monitor: by Tips and Tricks HQ
    Ruhul Amin
    Josh Lobe – 3.8.1
    
    Speed Booster Pack: by Optimocha – 3.8.3
    WebP Express: by Bj?rn Rosell – 0.14.22
    WooCommerce Blocks: by Automattic – 2.3.0
    Woo Stickers by Webline: by Weblineindia – 1.1.1
    WooCommerce Accepted Payment Methods: by jameskoster – 0.7.0 – Not tested with the active version of WooCommerce
    WooCommerce added to cart popup (Ajax): by XootiX – 1.4 – Not tested with the active version of WooCommerce
    WooSwatches - Woocommerce Color or Image Variation Swatches: by woomatrix – 2.7.03 – Not tested with the active version of WooCommerce
    WooCommerce Admin: by WooCommerce – 0.17.0
    WooCommerce PayPal Checkout Gateway: by WooCommerce – 1.6.17
    WooCommerce PayPal Powered by Braintree Gateway: by WooCommerce – 2.2.6
    WooCommerce Google Ads Conversion Tracking: by Wolf+B?r Agency – 1.5.5
    WooCommerce Google Analytics Integration: by WooCommerce – 1.4.12
    WooCommerce Google Ads Dynamic Remarketing: by Wolf+B?r Agency – 1.7.13
    Woocommerce Multi Currency Store Pro: by Code Ninjas – 1.9.8 – Not tested with the active version of WooCommerce
    WooCommerce Notification Premium: by Andy Ha (villatheme.com) – 1.3.9.8 – Not tested with the active version of WooCommerce
    WooCommerce Product Archive Customiser: by jameskoster – 1.0.5 – Not tested with the active version of WooCommerce
    WooCommerce Stripe Gateway: by WooCommerce – 4.2.3 – Not tested with the active version of WooCommerce
    WooCommerce: by Automattic – 3.7.0
    Yoast SEO: by Team Yoast – 11.9
    WP-Sweep: by Lester 'GaMerZ' Chan – 1.1.0
    WP Product Feed Manager: by Michel Jongbloed – 1.15.0 – Not tested with the active version of WooCommerce
    WPBakery Page Builder: by Michael M - WPBakery.com – 6.0.2
    Aliexpress Dropship for Woocommerce: by MA-Group – 1.6.6 – Not tested with the active version of WooCommerce
    XL WooCommerce Sales Triggers: by XLPlugins – 2.9.3 – Not tested with the active version of WooCommerce
    
    ### Inactive Plugins (9) ###
    
    AfterShip - WooCommerce Tracking: by AfterShip – 1.9.9 – Not tested with the active version of WooCommerce
    Duplicate Post: by Enrico Battocchi – 3.2.3
    Duplicator: by Snap Creek – 1.3.18
    Jetpack by WordPress.com: by Automattic – 7.6
    LayerSlider WP: by Kreatura Media – 6.9.1
    Pctags - Pinterest Conversion Tags: by Pagup – 1.0.4
    Query Monitor: by John Blackbourn – 3.3.7
    Slider Revolution: by ThemePunch – 6.1.0
    WooCommerce Cart popup premium: by XootiX – 1.4 – Not tested with the active version of WooCommerce
    
    ### Must Use Plugins (1) ###
    
    Plugin Organizer MU: by Jeff Sterup – 10.1
    
    ### Settings ###
    
    API Enabled: ?
    Force SSL: –
    Currency: USD ($)
    Currency Position: left
    Thousand Separator: .
    Decimal Separator: ,
    Number of Decimals: 2
    Taxonomies: Product Types: external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)
    
    Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
    exclude-from-search (exclude-from-search)
    featured (featured)
    outofstock (outofstock)
    rated-1 (rated-1)
    rated-2 (rated-2)
    rated-3 (rated-3)
    rated-4 (rated-4)
    rated-5 (rated-5)
    
    Connected to WooCommerce.com: ?
    
    ### WC Pages ###
    
    Shop base: #4 - /shop/
    Cart: #5 - /cart/
    Checkout: #6 - /checkout/
    My account: #7 - /my-account/
    Terms and conditions: #95 - /terms-conditions/
    
    ### Theme ###
    
    Name: Betheme Child
    Version: 1.6.1.1
    Author URL: https://muffingroup.com
    Child Theme: ?
    Parent Theme Name: Betheme
    Parent Theme Version: 21.3.3
    Parent Theme Author URL: https://muffingroup.com/
    WooCommerce Support: ?
    
    ### Templates ###
    
    Outdated Templates: ?
    					
    					
    						Learn how to update
    
    ### Action Scheduler ###
    
    Complete: 1,157
    Oldest: 2019-07-27 07:28:29 +0000
    Newest: 2019-08-27 06:37:37 +0000
    
    Pending: 2
    Oldest: 2019-08-27 07:37:37 +0000
    Newest: 2019-08-29 07:08:35 +0000
    
    Canceled: 0
    Oldest: –
    Newest: –
    
    In-progress: 0
    Oldest: –
    Newest: –
    
    Failed: 6
    Oldest: 2019-05-27 14:51:04 +0000
    Newest: 2019-08-24 04:58:41 +0000
    
    

    The fix is simple:

    in file /wp-content/plugins/added-to-cart-popup-woocommerce/templates/xoo-cp-content.php

    you have to add a verification before line 19:

    if($_product){

    and close the statement just before line 50.

    the file should look like this:

    
    <?php 
    
    //Exit if accessed directly
    if(!defined('ABSPATH')){
    	return; 	
    }
    
    global $xoo_cp_gl_qtyen_value;
    
    $cart = WC()->cart->get_cart();
    
    $cart_item = $cart[$cart_item_key];
    
    $_product   = apply_filters( 'woocommerce_cart_item_product', $cart_item['data'], $cart_item, $cart_item_key );
    
    $product_id = apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key );
    if($_product){
    
    $product_permalink = apply_filters( 'woocommerce_cart_item_permalink',$_product->is_visible() ? $_product->get_permalink( $cart_item ) : '', $cart_item, $cart_item_key );
    
    $thumbnail 		= apply_filters( 'woocommerce_cart_item_thumbnail', $_product->get_image(), $cart_item, $cart_item_key );
    
    $product_name 	=  apply_filters( 'woocommerce_cart_item_name', $_product->get_title(), $cart_item, $cart_item_key ) . '&nbsp;';
    					
    $product_price 	= apply_filters( 'woocommerce_cart_item_price', WC()->cart->get_product_price( $_product ), $cart_item, $cart_item_key );
    
    $product_subtotal = apply_filters( 'woocommerce_cart_item_subtotal', WC()->cart->get_product_subtotal( $_product, $cart_item['quantity'] ), $cart_item, $cart_item_key );
    
    // Meta data
    $attributes = '';
    
    //Variation
    $attributes .= $_product->is_type('variable') || $_product->is_type('variation')  ? wc_get_formatted_variation($_product) : '';
    // Meta data
    if(version_compare( WC()->version , '3.3.0' , "<" )){
    	$attributes .=  WC()->cart->get_item_data( $cart_item );
    }
    else{
    	$attributes .=  wc_get_formatted_cart_item_data( $cart_item );
    }
    
    //Quantity input
    $max_value = apply_filters( 'woocommerce_quantity_input_max', $_product->get_max_purchase_quantity(), $_product );
    $min_value = apply_filters( 'woocommerce_quantity_input_min', $_product->get_min_purchase_quantity(), $_product );
    $step      = apply_filters( 'woocommerce_quantity_input_step', 1, $_product );
    $pattern   = apply_filters( 'woocommerce_quantity_input_pattern', has_filter( 'woocommerce_stock_amount', 'intval' ) ? '[0-9]*' : '' );
    }
    ?>
    
    <table class="xoo-cp-pdetails clearfix">
    	<tr data-xoo_cp_key="<?php echo $cart_item_key; ?>">
    		<td class="xoo-cp-remove"><span class="xoo-cp-icon-cross xoo-cp-remove-pd"></span></td>
    		<td class="xoo-cp-pimg"><a href="<?php echo  $product_permalink; ?>"><?php echo $thumbnail; ?></a></td>
    		<td class="xoo-cp-ptitle"><a href="<?php echo  $product_permalink; ?>"><?php echo $product_name; ?></a>
    
    		<?php if($attributes): ?>
    			<div class="xoo-cp-variations"><?php echo $attributes; ?></div>
    		<?php endif; ?>
    
    		<td class="xoo-cp-pprice"><?php echo  $product_price; ?></td>
    
    		<td class="xoo-cp-pqty">
    			<?php if ( $_product->is_sold_individually() || !$xoo_cp_gl_qtyen_value ): ?>
    				<span><?php echo $cart_item['quantity']; ?></span>				
    			<?php else: ?>
    				<div class="xoo-cp-qtybox">
    				<span class="xcp-minus xcp-chng">-</span>
    				<input type="number" class="xoo-cp-qty" max="<?php esc_attr_e( 0 < $max_value ? $max_value : '' ); ?>" min="<?php esc_attr_e($min_value); ?>" step="<?php echo esc_attr_e($step); ?>" value="<?php echo $cart_item['quantity']; ?>" pattern="<?php esc_attr_e( $pattern ); ?>">
    				<span class="xcp-plus xcp-chng">+</span></div>
    			<?php endif; ?>
    		</td>
    	</tr>
    </table>
    <div class="xoo-cp-ptotal"><span class="xcp-totxt"><?php _e('Total','added-to-cart-popup-woocommerce');?> : </span><span class="xcp-ptotal"><?php echo $product_subtotal; ?></span></div>
    
    
Viewing 4 replies - 1 through 4 (of 4 total)