Missing product images in Storefront after upgrade
-
Hi.. I’ve try to upgrade WC to 3.0.1 on a test site with Storefront, all images on single product pages were missing, there’s a blank space instead of pics..
Any ideas..?
Thanks
-
Here’s the Status report
### WordPress Environment ### Home URL: https://www.ulissequalityshop.com Site URL: https://www.ulissequalityshop.com WC Version: 3.0.5 Log Directory Writable: ? WP Version: 4.7.4 WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: – WP Cron: ? Language: it_IT ### Server Environment ### Server Info: Apache PHP Version: 5.6.30 PHP Post Max Size: 64 MB PHP Time Limit: 30 PHP Max Input Vars: 15000 cURL Version: 7.29.0 NSS/3.21 Basic ECC SUHOSIN Installed: – Max Upload Size: 32 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 3.0.5 WC Database Prefix: wp_ woocommerce_sessions: ? woocommerce_api_keys: ? woocommerce_attribute_taxonomies: ? woocommerce_downloadable_product_permissions: ? woocommerce_order_items: ? woocommerce_order_itemmeta: ? woocommerce_tax_rates: ? woocommerce_tax_rate_locations: ? woocommerce_shipping_zones: ? woocommerce_shipping_zone_locations: ? woocommerce_shipping_zone_methods: ? woocommerce_payment_tokens: ? woocommerce_payment_tokenmeta: ? MaxMind GeoIP Database: ? ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (42) ### WP Affiliate Manager: by wp.insider wpaffiliatemgr – 2.4.3 Anti-Spam Akismet: by Automattic – 3.3.1 Beeketing For WooCommerce: by Beeketing – 2.9.1 Contact Form 7: by Takayuki Miyoshi – 4.7 Custom Login: by Austin Passy – 3.2.5 Embed Google AdWords Codes on WooCommerce: by StoreYa – 1.1 FeedatyPlugin: by Zoorate – 2.0.1 Flexible Shipping: by WP Desk – 1.9 Footer Putter: by Russell Jamieson – 1.14.1 Google Analytics for WordPress by MonsterInsights: by MonsterInsights – 6.1.7 Google Mobile Sitemap Feed With Multisite Support: by Art Project Group – 1.0.1.1 Kebo - Twitter Feed: by Kebo – 1.5.12 MailChimp per WordPress: by ibericode – 4.1.1 Perfect WooCommerce Brands: by Alberto de Vera Sevilla – 1.4.5 PixelYourSite PRO: by PixelYourSite – 6.0.5 Smart Slider 3: by Nextend – 3.1.7 Social Icons: by ThemeGrill – 1.5.0 Storefront Footer Bar: by WooThemes – 1.0.3 Storefront Sticky Add to Cart: by WooThemes – 1.1.6 Sucuri Security - Auditing, Malware Scanner and Hardening: by Sucuri Inc – 1.8.3 TinyMCE Advanced: by Andrew Ozz – 4.5.6 WooCommerce Product Feed: by WebAppick – 2.0.16 WooCommerce Shipping Pro with Table Rate (BASIC): by XAdapter – 1.2.3 WOO Codice Fiscale: by Andrea Somovigo – 1.6.3 WooCommerce Advanced Free Shipping: by Jeroen Sormani – 1.1.1 WooCommerce Extended Coupon Features: by Soft79 – 2.4.3 WooCommerce Chained Products: by StoreApps – 2.5 WooCommerce Conversion Tracking: by Tareq Hasan – 1.2.2 WooCommerce Dynamic Pricing: by Lucas Stark – 3.0.7 WooCommerce - Store Exporter: by Visser Labs – 1.9 WooCommerce Stripe Gateway: by WooCommerce – 3.1.7 WooCommerce js cookie fix: by Rynaldo – 1.0 Woocommerce Products Per Page: by Jeroen Sormani – 1.2.2 WooCommerce: by Automattic – 3.0.5 WooCommerce Helper: by WooCommerce – 1.7.2 – Abilitato sul Network Yoast SEO Premium: by Team Yoast – 4.7 WP Maintenance Mode: by Designmodo – 2.0.9 Slimstat Analytics: by Jason Crouse – 4.6.5 WP Social Sharing: by Arjun Jain – 1.9 WordPress Veloce: by Salvatore Della Pepa – 1.0.1 Yoast SEO: WooCommerce: by Team Yoast – 4.7 YITH WooCommerce Social Login: by YITHEMES – 1.2.0 ### Settings ### API Enabled: ? Force SSL: ? Currency: EUR (€) Currency Position: left_space 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) ### WC Pages ### Shop base: #4 - / Carrello: #5 - /carrello/ Cassa: #6 - /checkout/ Il mio account: #7 - /mio-account/ ### Theme ### Name: Storefront Child Version: 0.1.0 Author URL: https://example.com/about/ Child Theme: ? Parent Theme Name: Storefront Parent Theme Version: 2.1.8 Parent Theme Author URL: https://woocommerce.com/ WooCommerce Support: ? ### Templates ### Overrides: –
Cookie fix is not a solution because 3.0 has a different cookie script library.
Just ensure that ^ matches https://raw.githubusercontent.com/woocommerce/woocommerce/master/assets/js/js-cookie/js.cookie.min.js
@mikejolley probably I’ve found the issue.. I’ve inserted a snippet in the functions.php of the child-theme to defer parsing javascripts as suggested by gtmetrix to speed-up website.. I’ve use a test-site and when I’ve removed the snippet all goes right. The snippet is this, do You think that is possible that this code cause errors..? Thank You very much..:)
/* Defer Javascripts */ /* Defer jQuery Parsing using the HTML5 defer property */ if (!(is_admin() )) { function defer_parsing_of_js ( $url ) { if ( FALSE === strpos( $url, '.js' ) ) return $url; if ( strpos( $url, 'jquery.js' ) ) return $url; // return "$url' defer "; return "$url' defer onload='"; } add_filter( 'clean_url', 'defer_parsing_of_js', 11, 1 ); }
Hi @mikejolley, Your opinion about..? Thanks
If it’s deferred before other scripts that rely on it run I guess… I don’t know, I’ve not used your snippet before.
BTW thats pretty pointless when we run scripts in the footer?
This snippet is in functions.php of the child theme and I think that is possible that cause errors with jquery in WC 3.0.x images does not load in product page, price filter widget does not works correctly and the plugin Sticky Add to Cart does not works.. After removing it on the test site all returns normal.. So I think that is this snippet that cause the problem.. But I dont’t know if is the only cause..
- The topic ‘Missing product images in Storefront after upgrade’ is closed to new replies.