• Resolved mrlukas

    (@mrlukas)


    Hi,
    Images are imported into merchantcenter not right, and products are not approved.
    exmpl:
    https://domain.com/wp-content/uploads/https://dom.alicdn.com/kf/Hd2b00164dfe74218830a3db8b0086bf1E.jpg

    Also I see this in Log:

    2021-07-12T17:35:24+00:00 CRITICAL Uncaught TypeError: Argument 1 passed to Automattic\WooCommerce\GoogleListingsAndAds\MerchantCenter\MerchantStatuses::parse_presync_issue_text() must be of the type string, array given, called in /home/domain/domains/domain.com/public_html/wp-content/plugins/google-listings-and-ads/src/MerchantCenter/MerchantStatuses.php on line 475 and defined in /home/domain/domains/domain.com/public_html/wp-content/plugins/google-listings-and-ads/src/MerchantCenter/MerchantStatuses.php:684
    Stack trace:
    #0 /home/domain/domains/domain.com/public_html/wp-content/plugins/google-listings-and-ads/src/MerchantCenter/MerchantStatuses.php(475): Automattic\WooCommerce\GoogleListingsAndAds\MerchantCenter\MerchantStatuses->parse_presync_issue_text()
    #1 /home/domain/domains/domain.com/public_html/wp-content/plugins/google-listings-and-ads/src/MerchantCenter/MerchantStatuses.php(189): Automattic\WooCommerce\GoogleListingsAndAds\MerchantCenter\MerchantStatuses->refresh_presync_product_issues()
    #2 /home/domain/domains/ch in /home/domain/domains/domain.com/public_html/wp-content/plugins/google-listings-and-ads/src/MerchantCenter/MerchantStatuses.php on line 684
Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Support Sol J. a11n

    (@solstudioim)

    Hi @mrlukas

    Thanks for your question!

    Images are imported into merchantcenter not right, and products are not approved.
    exmpl:
    https://domain.com/wp-content/uploads/https://dom.alicdn.com/kf/Hd2b00164dfe74218830a3db8b0086bf1E.jpg

    First of all, it seems that you perhaps are using a plugin to scrape products along with their images from AliExpress in away that the product images are hotlinked not saved to your media library, so you got the error on the product image synced with Google Ads & Listing.

    Therefore we don’t really recommend that, instead please use product images from your media library.

    Secondly, in regards to product being not approved/rejected, it’s really beyond our scope of support.

    Usually you might be able to check what’s the reason for the rejection/disapproval so you can revise your product to meet Google requirements so hopefully your products will get approved.

    I hope that helps!

    If you have any other questions, do not hesitate to let us know!

    Thread Starter mrlukas

    (@mrlukas)

    So if a person is using images for example from google cloud or from amazon AWS it will not work. And it is not a user issue the plugin send data about images incorrectly I repeat:
    https://domain.com/wp-content/uploads/https://dom.alicdn.com/kf/Hd2b00164dfe74218830a3db8b0086bf1E.jpg
    and it should be:
    https://dom.alicdn.com/kf/Hd2b00164dfe74218830a3db8b0086bf1E.jpg

    and google exactly not approving products because of the images. I have other feeds running without problem.

    If I go to my uploads I can see the image URL and it is https://dom.alicdn.com/kf/Hd2b00164dfe74218830a3db8b0086bf1E.jpg

    It is not efficient to use images from a web server if you can upload them to cloud storage and get them from there. Or in my example take from another server.

    Plugin Support Adam Heckler

    (@adamkheckler)

    As a test, what you could try is simply creating one product by hand with the same image, but this time upload the image to your Media Library first and use that.

    If that test product and the image sync to Google just fine, that will tell us that the issue is indeed the externally-hosted images on the CDN you’re trying to use.

    Can you let us know the results of that test?

    Also, could you please send me a copy of your site’s system status report? You can find it under WooCommerce > Status in the dashboard. Click “Get system report” and then the “Copy for support” button. Once you’ve done that, paste it into your reply.

    Plugin Support Augustus – a11n

    (@augustuswp)

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – we’ll be here if and/or when you are ready to continue.

    Thread Starter mrlukas

    (@mrlukas)

    Hi, so I still have this problem here is the stats information:

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://domain.com
    Site address (URL): https://domain.com
    WC Version: 5.5.2
    REST API Version: ? 5.5.2
    WC Blocks Version: ? 5.3.3
    Action Scheduler Version: ? 3.2.1
    WC Admin Version: ? 2.4.4
    Log Directory Writable: ?
    WP Version: 5.8
    WP Multisite: –
    WP Memory Limit: 5 GB
    WP Debug Mode: –
    WP Cron: ?
    Language: en_US
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache/2
    PHP Version: 7.4.15
    PHP Post Max Size: 64 MB
    PHP Time Limit: 300
    PHP Max Input Vars: 1000
    cURL Version: 7.75.0
    OpenSSL/1.0.2k-fips
    
    SUHOSIN Installed: –
    MySQL Version: 5.5.5-10.3.27-MariaDB
    Max Upload Size: 64 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    ### Database ###
    
    WC Database Version: 5.5.2
    WC Database Prefix: wp_
    Total Database Size: 12104.06MB
    Database Data Size: 8039.71MB
    Database Index Size: 4064.35MB
    wp_woocommerce_sessions: Data: 34.06MB + Index: 6.02MB + Engine InnoDB
    wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_actions: Data: 196.25MB + Index: 179.61MB + Engine InnoDB
    wp_actionscheduler_claims: Data: 0.05MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_logs: Data: 78.13MB + Index: 59.16MB + Engine InnoDB
    wp_adtribes_my_conversions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_commentmeta: Data: 62.61MB + Index: 66.13MB + Engine InnoDB
    wp_comments: Data: 43.58MB + Index: 38.72MB + Engine InnoDB
    wp_ee_products_sync_list: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_ee_product_sync_call: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_ee_product_sync_data: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_feedmanager_default_center: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_gla_budget_recommendations: Data: 0.22MB + Index: 0.14MB + Engine InnoDB
    wp_gla_merchant_issues: Data: 71.61MB + Index: 18.59MB + Engine InnoDB
    wp_gla_shipping_rates: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_gla_shipping_times: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_hfcm_scripts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_options: Data: 229.20MB + Index: 18.09MB + Engine InnoDB
    wp_postmeta: Data: 5932.73MB + Index: 2932.56MB + Engine InnoDB
    wp_posts: Data: 1179.70MB + Index: 504.53MB + Engine InnoDB
    wp_termmeta: Data: 3.52MB + Index: 4.03MB + Engine InnoDB
    wp_terms: Data: 3.52MB + Index: 7.02MB + Engine InnoDB
    wp_term_relationships: Data: 40.36MB + Index: 14.27MB + Engine InnoDB
    wp_term_taxonomy: Data: 4.52MB + Index: 5.03MB + Engine InnoDB
    wp_usermeta: Data: 0.13MB + Index: 0.14MB + Engine InnoDB
    wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wc_admin_notes: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    wp_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_product_meta_lookup: Data: 158.73MB + Index: 209.44MB + Engine InnoDB
    wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_yith_wcwl: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_yith_wcwl_lists: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    
    ### Post Type Counts ###
    
    a2w_shipping: 29
    attachment: 935343
    custom_css: 1
    customize_changeset: 16
    elementor_library: 3
    muzaara-woopf: 2
    nav_menu_item: 25
    page: 18
    post: 2
    product: 28849
    product_variation: 1073118
    product-feed: 1
    revision: 17
    shop_order: 7
    wcae_tracking: 4
    
    ### Security ###
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ?
    
    ### Active Plugins (14) ###
    
    Query Monitor: by John Blackbourn – 3.7.1
    Aliexpress Dropship for Woocommerce: by MA-Group – 1.16.8
    Blocksy Companion: by CreativeThemes – 1.8.7.2
    Google Listings and Ads: by WooCommerce – 1.2.1
    Header Footer Code Manager: by 99robots – 1.1.10
    WooCommerce PayPal Checkout Gateway: by WooCommerce – 2.1.2
    WooCommerce Stripe Gateway: by WooCommerce – 5.3.0
    WooCommerce Payments: by Automattic – 2.7.1
    WooCommerce Variation Swatches Images: by ma_group – 1.0.9
    WooCommerce: by Automattic – 5.5.2
    WP Rocket: by WP Media – 3.8.2
    
    ### Inactive Plugins (17) ###
    
    Akismet Anti-Spam: by Automattic – 4.1.10
    Elementor: by Elementor.com – 3.3.1
    Force Login: by Kevin Vess – 5.6.2
    GTG Product Feed for Shopping: by GutenGeek – 1.2.2
    Login Designer: by Rich Tabor – 1.2.4
    Muzaara Google Content API Data Feed: by Muzaara – 1.3
    Product page shipping calculator for WooCommerce: by PI Websolution – 1.2.24
    Shopping Feed for Google: by Simprosys InfoMedia – 1.5
    Under Construction: by WebFactory Ltd – 3.89
    W3 Total Cache: by BoldGrid – 2.1.5
    WooCommerce PayPal Payments: by WooCommerce – 1.3.2 (update to version 1.4.0 is available)
    WP Rollback: by Impress.org – 1.7.1
    YITH WooCommerce Compare: by YITH – 2.5.3
    YITH WooCommerce Wishlist: by YITH – 3.0.23
    
    ### Dropin Plugins (1) ###
    
    advanced-cache.php: advanced-cache.php
    
    ### 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: #17 - /
    Cart: #18 - /cart-2/
    Checkout: #19 - /checkout-2/
    My account: #20 - /my-account-2/
    Terms and conditions: ? Page not set
    
    ### Theme ###
    
    Name: Blocksy Child
    Version: (update to version 0 is available)
    Author URL: 
    Child Theme: ?
    Parent Theme Name: Blocksy
    Parent Theme Version: 1.8.3.4 – 1.8.4.4 is available
    Parent Theme Author URL: https://creativethemes.com
    WooCommerce Support: ?
    
    ### Templates ###
    
    Overrides: blocksy/woocommerce/cart/cart.php
    blocksy/woocommerce/cart/mini-cart.php
    blocksy/woocommerce/checkout/form-checkout.php
    blocksy/woocommerce/content-widget-product.php
    blocksy/woocommerce/content-widget-reviews.php
    blocksy/woocommerce/myaccount/my-account.php
    blocksy/woocommerce/product-searchform.php
    blocksy/woocommerce/single-product/tabs/tabs.php
    
    ### Action Scheduler ###
    
    Complete: 431,831
    Oldest: 2021-07-17 09:18:41 +0300
    Newest: 2021-08-01 09:49:45 +0300
    
    Pending: 212,873
    Oldest: 2021-07-26 02:19:20 +0300
    Newest: 2021-08-01 02:41:52 +0300
    
    In-progress: 1
    Oldest: –
    Newest: –
    
    Failed: 23,499
    Oldest: 2021-04-24 16:22:10 +0300
    Newest: 2021-08-01 09:49:32 +0300
    
    ### Status report information ###
    
    Generated at: 2021-08-01 09:59:19 +03:00
    

    Also, products are importing fine on the test if images are in from media.

    Plugin Support Cara

    (@dcka)

    Hi @mrlukas,

    First of all, I’m sorry to hear you’re still having issues importing your product images.

    Second, thank you for sharing additional information with us and for running the test my colleague suggested.

    Based on that, it appears, that the issue is indeed from using externally hosted images. As you previously mentioned too, instead of https://dom.alicdn.com/kf/Hd2b00164dfe74218830a3db8b0086bf1E.jpg, the plugin uses https://domain.com/wp-content/uploads/https://dom.alicdn.com/kf/Hd2b00164dfe74218830a3db8b0086bf1E.jpg, so it looks like it’s defaulting to the site URL by default.

    I’ve gone ahead and reached out to the plugin developer for a possible workaround for you here. We’ll keep you updated as soon as we hear back from them.

    Plugin Author Jason a11n

    (@jconroy)

    hi @mrlukas,

    Thanks for the information.

    Can you please confirm how the CDN is being implemented on your site?

    I just installed the drop shopping extension you are using “Aliexpress Dropship for Woocommerce” and imported a product from AliExpress and the images appear to be being added to the sites media directory https://d.pr/i/1Um93i and as a result, would correctly sync.

    I’ve had a look a the docs and settings for the extensions and can’t find anything mentioning a CDN – but perhaps I am missing something.

    Perhaps you are using CDN functionality within WP Rocket? If so could you confirm how that is setup please?

    I’d like to make sure we can replicate

    • This reply was modified 3 years, 3 months ago by Jason a11n.
    Thread Starter mrlukas

    (@mrlukas)

    I am not sure if it’s available in a free Aliexpress Dropship for Woocommerce plugin, but there is a setting to Use external image URLs as https://prnt.sc/1ibsm9j
    as I have a lot of images I need to use this setting.
    I tried also changing settings in WP rocket and enabled CDN, but the change did not help. https://prnt.sc/1ibtl65

    Plugin Author Jason a11n

    (@jconroy)

    Thanks @mrlukas ahhh I see I was looking at the extension available in the Woo marketplace.

    I think the best way forward for us is if you open a support ticket on WooCommerce.com and we can perhaps grab a copy of that extension to look at.

    From what I’ve seen GLA is using all standard WooCommerce core functions to grab the images so its possible to do with the way the extension is implementing things – we certainly want to be able to support users that use a CDN so I want to double-check we’re not missing anything here.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Images imported incorrectly’ is closed to new replies.