Some image orders when opening gallery are messed up
-
Hello,
When opening the gallery for viewing product images, somehow opens not the first image (see screenshot). Also it shows more images then uploaded.
For example: some product should only have 6 images instead of the shown 10 and obviously start with the main image and not a random gallery image. (see screenshots)
https://imgur.com/HGwInin (As you can see it should be six images and not 10, also it should display main image)
https://imgur.com/bYMkZKw (Only six images)
This problem is not on all products however, if i were to guess i’d say it affects about half the products on the website.I’ve deactivated all plugins, and they are up-to-date unfortunately to no avail. However clearing cache works for some reason. So i’ve tried disabling cache but then the issue strangely persists. Also did a cache wipe but the problem returns.
I’ve also tried my theme’s support but it seems they are quite lost. Hopefully i’ve explained to problem sufficiently. Any help will be greatly appreciated.
Greetings, Nick.
The page I need help with: [log in to see the link]
-
Also i’ve found that if you revisit the product it sometimes fixes the problem, but checking back at a later date the order and amount of images is incorrect again. Not sure what to make of that.
Hello,
As a first step, could you please share a copy of your site’s System Status? You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”. Once you’ve done that, paste it here in your response.
Hello, thanks for the response, here is the system status:
### WordPress Environment ### WordPress address (URL): https://www.jaegeroutdoor.nl Site address (URL): https://www.jaegeroutdoor.nl WC Version: 5.8.0 REST API Version: ✔ 5.8.0 WC Blocks Version: ✔ 5.9.1 Action Scheduler Version: ✔ 3.3.0 WC Admin Version: ✔ 2.7.2 Log Directory Writable: ✔ WP Version: 5.8.1 WP Multisite: – WP Memory Limit: 1 GB WP Debug Mode: – WP Cron: ✔ Language: nl_NL External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 7.4.9 PHP Post Max Size: 256 MB PHP Time Limit: 600 PHP Max Input Vars: 5000 cURL Version: 7.64.0 OpenSSL/1.1.1g SUHOSIN Installed: – MySQL Version: 5.5.5-10.3.31-MariaDB-log Max Upload Size: 256 MB Default Timezone is UTC: ✔ fsockopen/cURL: ✔ SoapClient: ✔ DOMDocument: ✔ GZip: ✔ Multibyte String: ✔ Remote Post: ✔ Remote Get: ✔ ### Database ### WC Database Version: 5.8.0 WC Database Prefix: wp_ Totale databasegrootte: 85.55MB Database datagrootte: 74.57MB Database index grootte: 10.98MB wp_woocommerce_sessions: Data: 0.02MB + Index: 0.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: 2.36MB + Index: 1.25MB + Engine InnoDB wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_logs: Data: 1.52MB + Index: 0.59MB + Engine InnoDB wp_categorymeta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_cli_cookie_scan: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_cli_cookie_scan_categories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_cli_cookie_scan_cookies: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_cli_cookie_scan_url: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_cli_scripts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_dokan_announcement: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_dokan_orders: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_dokan_refund: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_dokan_vendor_balance: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_dokan_withdraw: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_e_submissions: Data: 0.02MB + Index: 0.27MB + Engine InnoDB wp_e_submissions_actions_log: Data: 0.02MB + Index: 0.11MB + Engine InnoDB wp_e_submissions_values: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_fvm_cache: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_fvm_logs: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailchimp_carts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_mailchimp_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_member_catmeta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_mollie_pending_payment: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_options: Data: 6.28MB + Index: 0.17MB + Engine InnoDB wp_portfolio_catmeta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_postmeta: Data: 36.55MB + Index: 3.92MB + Engine InnoDB wp_posts: Data: 19.52MB + Index: 0.89MB + Engine InnoDB wp_product_catmeta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_rank_math_404_logs: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_rank_math_analytics_gsc: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_rank_math_analytics_objects: Data: 0.09MB + Index: 0.05MB + Engine InnoDB wp_rank_math_internal_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_rank_math_internal_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_rank_math_redirections: Data: 0.05MB + Index: 0.02MB + Engine InnoDB wp_rank_math_redirections_cache: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_revslider_css: Data: 0.13MB + Index: 0.02MB + Engine InnoDB wp_revslider_css_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_revslider_layer_animations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_revslider_layer_animations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_revslider_navigations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_revslider_navigations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_revslider_sliders: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_revslider_sliders_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_revslider_slides: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_revslider_slides_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_revslider_static_slides: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_revslider_static_slides_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_termmeta: Data: 0.05MB + Index: 0.03MB + Engine InnoDB wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_term_relationships: Data: 0.11MB + Index: 0.06MB + Engine InnoDB wp_term_taxonomy: Data: 0.05MB + Index: 0.03MB + Engine InnoDB wp_trp_dictionary_nl_nl_en_gb: Data: 0.19MB + Index: 0.16MB + Engine InnoDB wp_trp_gettext_en_gb: Data: 0.34MB + Index: 0.34MB + Engine InnoDB wp_trp_gettext_nl_nl: Data: 1.52MB + Index: 0.47MB + Engine InnoDB wp_trp_original_meta: Data: 0.05MB + Index: 0.05MB + Engine InnoDB wp_trp_original_strings: Data: 0.16MB + Index: 0.09MB + Engine InnoDB wp_usermeta: Data: 0.09MB + Index: 0.03MB + 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: 0.08MB + Index: 0.13MB + 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_wysija_campaign: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wysija_campaign_list: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wysija_custom_field: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wysija_email: Data: 0.05MB + Index: 0.00MB + Engine InnoDB wp_wysija_email_user_stat: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wysija_email_user_url: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wysija_form: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wysija_list: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wysija_queue: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wysija_subscriber_ips: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wysija_url: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wysija_url_mail: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wysija_user: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wysija_user_field: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wysija_user_history: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wysija_user_list: Data: 0.02MB + Index: 0.00MB + 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 wp_yoast_indexable: Data: 3.48MB + Index: 0.75MB + Engine InnoDB wp_yoast_indexable_hierarchy: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_yoast_seo_links: Data: 0.05MB + Index: 0.03MB + Engine InnoDB ### Post Type Counts ### attachment: 2645 cookielawinfo: 9 custom_css: 1 customize_changeset: 40 e-landing-page: 1 elementor_library: 2 faq: 2 language_switcher: 2 member: 4 nav_menu_item: 34 oembed_cache: 15 page: 12 porto_builder: 10 post: 2 product: 370 product_variation: 250 revision: 1883 vcv_tutorials: 1 wpcf7_contact_form: 1 wysijap: 1 yith_wcan_preset: 1 ### Security ### Secure connection (HTTPS): ✔ Hide errors from visitors: ✔ ### Active Plugins (18) ### Contact Form 7: door Takayuki Miyoshi – 5.5.2 GDPR Cookie-toestemming: door WebToffee – 2.0.6 Elementor Pro: door Elementor.com – 3.4.2 Elementor: door Elementor.com – 3.4.6 Fast Velocity Minify: door Raul Peixoto – 3.2.2 Flexible Shipping: door WP Desk – 4.9.0 Imsanity: door Exactly WWW – 2.7.2 Kadence WooCommerce Email Designer: door Kadence WP – 1.4.8 Mailchimp voor WooCommerce: door Mailchimp – 2.5.3 Mollie-betalingen voor WooCommerce: door Mollie – 6.6.0 Porto Theme - Functionality: door P-Themes – 2.2.1 TranslatePress - Multilingual: door Cozmoslabs Razvan Mocanu Madalin Ungureanu Cristophor Hurduban – 2.1.4 Moneybird API integratie voor WooCommerce: door Marco Cox <a href="https://extensiontree.com/nl/">ExtensionTree.com</a> – 3.37.0 WooCommerce Shipping & Tax: door WooCommerce – 1.25.19 WooCommerce: door Automattic – 5.8.0 Yoast SEO: door Team Yoast – 17.4 WP Sitemap Page: door Tony Archambeau – 1.9.0 YITH WooCommerce Wishlist: door YITH – 3.2.0 ### Inactive Plugins (0) ### ### Settings ### API Enabled: – Force SSL: – Currency: EUR (€) 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 ### Winkelbasis: #4982 - /winkel/ Winkelmand: #10 - /winkelwagen/ Afrekenen: #11 - /afrekenen/ Mijn account: #12 - /mijn-account/ Algemene voorwaarden: #3548 - /algemene-voorwaarden/ ### Theme ### Name: Porto Version: 6.2.0 Author URL: https://www.portotheme.com/ Child Theme: ❌ – Als je wijzigingen aanbrengt in WooCommerce of in een hoofdthema dat je niet zelf gebouwd hebt raden we het gebruik van een child thema aan. Zie: Hoe maak je een child thema WooCommerce Support: ✔ ### Templates ### Overrides: porto/woocommerce/archive-product.php porto/woocommerce/cart/cart-empty.php porto/woocommerce/cart/cart-shipping.php porto/woocommerce/cart/cart-totals.php porto/woocommerce/cart/cart.php porto/woocommerce/cart/cross-sells.php porto/woocommerce/cart/mini-cart.php porto/woocommerce/cart/proceed-to-checkout-button.php porto/woocommerce/cart/shipping-calculator.php porto/woocommerce/checkout/form-billing.php porto/woocommerce/checkout/form-checkout.php porto/woocommerce/checkout/form-coupon.php porto/woocommerce/checkout/form-login.php porto/woocommerce/checkout/form-pay.php porto/woocommerce/checkout/form-shipping.php porto/woocommerce/checkout/payment-method.php porto/woocommerce/checkout/payment.php porto/woocommerce/checkout/review-order.php porto/woocommerce/checkout/thankyou.php porto/woocommerce/content-product-cat.php porto/woocommerce/content-product.php porto/woocommerce/content-single-product.php porto/woocommerce/content-widget-product.php porto/woocommerce/global/form-login.php porto/woocommerce/global/quantity-input.php porto/woocommerce/global/wrapper-start.php porto/woocommerce/loop/add-to-cart.php porto/woocommerce/loop/loop-end.php porto/woocommerce/loop/loop-start.php porto/woocommerce/loop/no-products-found.php porto/woocommerce/loop/orderby.php porto/woocommerce/loop/pagination.php porto/woocommerce/loop/rating.php porto/woocommerce/loop/sale-flash.php porto/woocommerce/myaccount/dashboard.php porto/woocommerce/myaccount/downloads.php porto/woocommerce/myaccount/form-add-payment-method.php porto/woocommerce/myaccount/form-edit-account.php porto/woocommerce/myaccount/form-edit-address.php porto/woocommerce/myaccount/form-login.php porto/woocommerce/myaccount/form-lost-password.php porto/woocommerce/myaccount/form-reset-password.php porto/woocommerce/myaccount/lost-password-confirmation.php porto/woocommerce/myaccount/my-account.php porto/woocommerce/myaccount/my-address.php porto/woocommerce/myaccount/my-downloads.php porto/woocommerce/myaccount/my-orders.php porto/woocommerce/myaccount/navigation.php porto/woocommerce/myaccount/orders.php porto/woocommerce/myaccount/payment-methods.php porto/woocommerce/myaccount/view-order.php porto/woocommerce/order/form-tracking.php porto/woocommerce/order/order-details-customer.php porto/woocommerce/order/order-details.php porto/woocommerce/order/order-downloads.php porto/woocommerce/order/tracking.php porto/woocommerce/single-product/add-to-cart/simple.php porto/woocommerce/single-product/add-to-cart/variable.php porto/woocommerce/single-product/meta.php porto/woocommerce/single-product/product-attributes.php porto/woocommerce/single-product/product-image.php porto/woocommerce/single-product/product-thumbnails.php porto/woocommerce/single-product/rating.php porto/woocommerce/single-product/related.php porto/woocommerce/single-product/review-meta.php porto/woocommerce/single-product/review-rating.php porto/woocommerce/single-product/review.php porto/woocommerce/single-product/sale-flash.php porto/woocommerce/single-product/short-description.php porto/woocommerce/single-product/tabs/tabs.php porto/woocommerce/single-product/title.php porto/woocommerce/single-product/up-sells.php porto/woocommerce/single-product-reviews.php ### Action Scheduler ### Afgerond: 2.049 Oldest: 2021-09-29 14:23:04 +0200 Newest: 2021-10-28 17:49:12 +0200 In afwachting: 1 Oldest: 2021-10-29 07:59:10 +0200 Newest: 2021-10-29 07:59:10 +0200 ### Status report information ### Generated at: 2021-10-28 22:10:45 +02:00
Thank you for the system status. I have a test site which has the latest versions of WordPress, WooCommerce and Storefront(default) theme, and I could not reproduce the same issue on my test site. So I believe your issue is coming specifically for your site.
I understand you’ve tried deactivating plugins, but can you try deactivating all plugins except for WooCommerce AND switch your theme to Storefront to narrow down where the issue is coming from?
You can find a more detailed explanation on how to do a conflict test here: https://docs.woocommerce.com/document/how-to-test-for-conflicts/
We’ve not heard back from you in a while, so I’m marking this thread as resolved. Hopefully, you were able to find a solution to your problem! If you have further questions, please feel free to open a new topic.
Sorry for the late response, i haven’t been able to fix this issue. However i have been able to track down where it persists. I turned all plugins off, and it didn’t correct the issue. So next i’ve changed to theme to de default woocommerce one and lo and behold the images displayed correctly. So it has something to do with my “Porto” Theme.
Unfortunatly they i’ve tried their support but it seems they are unable/unwilling to help.
Any help or point in the right direction is greatly appreciated!
Thanks! Greetings, Nick.
Hey @thanklessmoss,
Sorry to hear that you found the cause but the developers won’t help you get it fixed.
You might be able to go through the code of the theme and see if you can spot where they add their own lightbox and remove it. Definitely make a backup before making any changes. It might be better to have the default lightbox than one that doesn’t work.
Take care
Ill give it a try, thanks!
Great! I’m going to mark this as resolved – if you have any further questions, you can start a new thread.
- The topic ‘Some image orders when opening gallery are messed up’ is closed to new replies.