Cannot load product image on product page
-
Hello, I am having an issue with uploading a product image to the product page.
Please note that this is a long existing woocommerce store with hundreds of products, and so far I have always been able to use it just fine.It seems that some kind of ‘error’ image has somehow integrated into the folder, and blocking the image that I want to load. Whenever I select the image I want to load, it does not do it and always selects the empty image. I will attach some screenshots below.
Desired behavior: upload product image to a product
Actual Behavior: when I select the image it gets a checkmark, but when i confirm and go back to the product page it will not load the image.Any idea’s what can be the cause of this?
In the images below you can see the back-end with the ‘wrong image’. Even when I select any other image it will not confirm it and instead just don’t load anything.
https://ibb.co/CzY8Yfc
https://ibb.co/px8C968—
I also tried copying the current product to a new concept to see if that resolves it but the same issue remains. I am hesistant trying this on current products as it might remove the image there as well. When I add a brand new product and only try to add product image, it is also NOT working. So seems something deeper than just an issue with the specific product page.
-
This topic was modified 8 months ago by
sanderrrrr.
-
This topic was modified 8 months ago by
sanderrrrr. Reason: typo
-
This topic was modified 8 months ago by
-
Hello @sanderrrrr,
Thank you for sharing the details of the issue.
To understand your site properly, could you please share with us the necessary information below for us to investigate the issue further:
- System Status Report?which you can find via?WooCommerce > Status > Get system report > Copy for support.
- Fatal error logs?(if any) under?WooCommerce > Status > Logs.
You could copy and paste your reply here or paste it via https://gist.github.com/ and send the link here.
Once we have this additional detail we’ll be in a better position to advise further.
Thanks!
Hello, are you able to remove or make the response anoynomous after reading it?
I already checked the logs before contacting you here, and it does not show anything. Not the woocommerce logs nor the server logs.
Anyway, the status report below:` WordPress Environment
WordPress address (URL): https://www.site.nl
Site address (URL): https://www.site.nl
WC Version: 9.1.2
Legacy REST API Package Version: De Legacy REST API plugin is niet ge?nstalleerd op deze site.
Action Scheduler Version: ? 3.7.4
Log Directory Writable: ?
WP Version: 6.6.1
WP Multisite: –
WP Memory Limit: 256 MB
WP Debug Mode: –
WP Cron: –
Language: nl_NL
External object cache: – Server EnvironmentServer Info: LiteSpeed
PHP Version: 8.3.9
PHP Post Max Size: 512 MB
PHP Time Limit: 300
PHP Max Input Vars: 5000
cURL Version: 7.61.1
OpenSSL/1.1.1kSUHOSIN Installed: –
MySQL Version: 10.11.7-MariaDB-cll-lve
Max Upload Size: 512 MB
Default Timezone is UTC: ?
fsockopen/cURL: ?
SoapClient: ?
DOMDocument: ?
GZip: ?
Multibyte String: ?
Remote Post: ?
Remote Get: ? DatabaseWC Database Version: 9.1.2
WC Database Prefix: prefit_
Totale database grootte: 315.29MB
Database gegevens grootte: 169.54MB
Database index grootte: 145.75MB
database_sessions: Data: 1.02MB + Index: 0.02MB + Engine InnoDB
database_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
database_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
database_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
database_order_items: Data: 1.52MB + Index: 1.52MB + Engine InnoDB
database_order_itemmeta: Data: 10.52MB + Index: 12.03MB + Engine InnoDB
database_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
database_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
database_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
database_shipping_zone_locations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
database_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
database_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
database_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
database_log: Data: 1.52MB + Index: 0.02MB + Engine InnoDB
prefit_actionscheduler_actions: Data: 23.06MB + Index: 19.13MB + Engine InnoDB
prefit_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
prefit_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
prefit_actionscheduler_logs: Data: 10.02MB + Index: 9.03MB + Engine InnoDB
prefit_automatewoo_abandoned_carts: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
prefit_automatewoo_customers: Data: 1.52MB + Index: 1.52MB + Engine InnoDB
prefit_automatewoo_customer_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
prefit_automatewoo_guests: Data: 1.52MB + Index: 1.23MB + Engine InnoDB
prefit_automatewoo_guest_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
prefit_automatewoo_logs: Data: 1.52MB + Index: 0.86MB + Engine InnoDB
prefit_automatewoo_log_meta: Data: 3.52MB + Index: 4.03MB + Engine InnoDB
prefit_automatewoo_queue: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
prefit_automatewoo_queue_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
prefit_automatewoo_referrals: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
prefit_automatewoo_referral_advocate_keys: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
prefit_automatewoo_referral_invites: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
prefit_commentmeta: Data: 0.09MB + Index: 0.09MB + Engine InnoDB
prefit_comments: Data: 4.52MB + Index: 2.38MB + Engine InnoDB
prefit_ee_ai_reportdata: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
prefit_ee_products_sync_list: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
prefit_ee_product_feed: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
prefit_ee_product_sync_call: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
prefit_ee_product_sync_data: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
prefit_ee_product_sync_profile: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
prefit_ee_prouct_pre_sync_data: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
prefit_ee_tiktok_catalog: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
prefit_hurrytimer_evergreen: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
prefit_icl_background_task: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
prefit_icl_content_status: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
prefit_icl_core_status: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
prefit_icl_flags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
prefit_icl_languages: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
prefit_icl_languages_translations: Data: 0.19MB + Index: 0.11MB + Engine InnoDB
prefit_icl_locale_map: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
prefit_icl_message_status: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
prefit_icl_mo_files_domains: Data: 0.05MB + Index: 0.02MB + Engine InnoDB
prefit_icl_node: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
prefit_icl_reminders: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
prefit_icl_strings: Data: 2.52MB + Index: 2.05MB + Engine InnoDB
prefit_icl_string_batches: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
prefit_icl_string_packages: Data: 0.03MB + Index: 0.00MB + Engine InnoDB
prefit_icl_string_pages: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
prefit_icl_string_positions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
prefit_icl_string_status: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
prefit_icl_string_translations: Data: 0.39MB + Index: 0.16MB + Engine InnoDB
prefit_icl_string_urls: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
prefit_icl_translate: Data: 6.52MB + Index: 0.14MB + Engine InnoDB
prefit_icl_translate_job: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
prefit_icl_translations: Data: 0.16MB + Index: 0.38MB + Engine InnoDB
prefit_icl_translation_batches: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
prefit_icl_translation_downloads: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
prefit_icl_translation_status: Data: 3.17MB + Index: 0.02MB + Engine InnoDB
prefit_imagify_files: Data: 0.08MB + Index: 0.08MB + Engine InnoDB
prefit_imagify_folders: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
prefit_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
prefit_mclean_refs: Data: 0.17MB + Index: 0.00MB + Engine InnoDB
prefit_mclean_scan: Data: 0.09MB + Index: 0.02MB + Engine InnoDB
prefit_mollie_pending_payment: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
prefit_options: Data: 5.13MB + Index: 0.31MB + Engine InnoDB
prefit_postmeta: Data: 36.58MB + Index: 40.16MB + Engine InnoDB
prefit_posts: Data: 20.36MB + Index: 2.45MB + Engine InnoDB
prefit_redirection_404: Data: 1.02MB + Index: 0.11MB + Engine InnoDB
prefit_redirection_groups: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
prefit_redirection_items: Data: 0.06MB + Index: 0.09MB + Engine InnoDB
prefit_redirection_logs: Data: 0.20MB + Index: 0.05MB + Engine InnoDB
prefit_termmeta: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
prefit_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
prefit_term_relationships: Data: 0.06MB + Index: 0.02MB + Engine InnoDB
prefit_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
prefit_tm_taskmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
prefit_tm_tasks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
prefit_usermeta: Data: 1.44MB + Index: 1.92MB + Engine InnoDB
prefit_users: Data: 0.08MB + Index: 0.05MB + Engine InnoDB
prefit_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
prefit_wc_admin_note_actions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB
prefit_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
prefit_wc_customer_lookup: Data: 1.52MB + Index: 0.48MB + Engine InnoDB
prefit_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
prefit_wc_orders: Data: 2.52MB + Index: 2.39MB + Engine InnoDB
prefit_wc_orders_meta: Data: 12.52MB + Index: 30.20MB + Engine InnoDB
prefit_wc_order_addresses: Data: 2.52MB + Index: 4.91MB + Engine InnoDB
prefit_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
prefit_wc_order_operational_data: Data: 1.52MB + Index: 0.59MB + Engine InnoDB
prefit_wc_order_product_lookup: Data: 1.52MB + Index: 0.98MB + Engine InnoDB
prefit_wc_order_stats: Data: 1.52MB + Index: 0.75MB + Engine InnoDB
prefit_wc_order_tax_lookup: Data: 0.52MB + Index: 0.42MB + Engine InnoDB
prefit_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
prefit_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
prefit_wc_product_meta_lookup: Data: 0.02MB + Index: 0.11MB + Engine InnoDB
prefit_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
prefit_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
prefit_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
prefit_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
prefit_webwinkelkeur_invite_error: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
prefit_wpr_above_the_fold: Data: 0.27MB + Index: 0.06MB + Engine InnoDB
prefit_wpr_rocket_cache: Data: 0.06MB + Index: 0.05MB + Engine InnoDB
prefit_wpr_rucss_used_css: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
prefit_wps_hit: Data: 0.31MB + Index: 1.09MB + Engine InnoDB
prefit_wps_index: Data: 1.52MB + Index: 0.92MB + Engine InnoDB
prefit_wps_key: Data: 0.13MB + Index: 0.08MB + Engine InnoDB
prefit_wps_object_term: Data: 0.05MB + Index: 0.09MB + Engine InnoDB
prefit_wps_object_type: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
prefit_wps_query: Data: 0.06MB + Index: 0.05MB + Engine InnoDB
prefit_wps_uri: Data: 0.45MB + Index: 0.19MB + Engine InnoDB
prefit_wps_user_agent: Data: 0.06MB + Index: 0.02MB + Engine InnoDB
prefit_yoast_indexable: Data: 0.22MB + Index: 0.09MB + Engine InnoDB
prefit_yoast_indexable_hierarchy: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
prefit_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
prefit_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
prefit_yoast_prominent_words: Data: 0.25MB + Index: 0.50MB + Engine InnoDB
prefit_yoast_seo_links: Data: 0.27MB + Index: 0.14MB + Engine InnoDB
prefit_yoast_seo_meta: Data: 1.52MB + Index: 0.00MB + Engine InnoDB Post Type Countsattachment: 1151
aw_workflow: 10
custom_css: 2
hurrytimer_countdown: 1
nav_menu_item: 49
nectar_slider: 2
oembed_cache: 16
page: xxx
post: xxx
product: xxx
product_variation: xxx
revision: 77
shop_coupon: xxx
shop_order: xxx
shop_order_refund: xxx
user_request: xxx
wmpc-trash: 2
wp_global_styles: 1
wp_navigation: 11
wpcf7_contact_form: 2 SecuritySecure connection (HTTPS): ?
Hide errors from visitors: ? Active Plugins (27)WPML Multilingual CMS: door OnTheGoSystems – 4.6.12
WPML SEO: door OnTheGoSystems – 2.1.0
AutomateWoo: door WooCommerce – 6.0.29
Coinbase Commerce: door Coinbase Commerce – 1.4.1
Contact Form 7: door Takayuki Miyoshi – 5.9.8
Aangepaste bestelnummers voor WooCommerce: door Tyche Softwares – 1.7.1
Facebook for WooCommerce: door Facebook – 3.2.6
Imagify: door Imagify – Optimize Images & Convert WebP & Avif – 2.2.2
Salient WPBakery Page Builder: door Michael M – WPBakery.com | Modified by ThemeNectar – 7.7.2
Mollie Payments for WooCommerce: door Mollie – 7.6.0
Monta Checkout: door Monta – 1.58.41
Redirection: door John Godley – 5.4.2
Salient Core: door ThemeNectar – 2.1.0
Salient Shortcodes: door ThemeNectar – 1.5.4
WooCommerce NL Postcode Checker: door WP Overnight – 2.10.10
WebwinkelKeur: door Albert Peschar – 3.35
Product Feed PRO for WooCommerce: door AdTribes.io – 13.3.4
Variation Swatches for WooCommerce: door Emran Ahmed – 2.1.1
WooCommerce Europees btw-nummer: door WooCommerce – 2.9.5
Google Analytics for WooCommerce: door WooCommerce – 2.1.5
WooCommerce Multilingual & Multicurrency: door OnTheGoSystems – 5.3.6
WooCommerce PayPal Payments: door WooCommerce – 2.8.2
WooCommerce: door Automattic – 9.1.2
Yoast SEO: door Team Yoast – 23.1
WP Rocket: door WP Media – 3.16.2.1
WPML Media Translation: door OnTheGoSystems – 2.7.4
WPML String Translation: door OnTheGoSystems – 3.2.14 Inactive Plugins (4)Classic Widgets: door WordPress Contributors – 0.3
Gift Wrapper: door Little Package – 6.1.7
Media Cleaner: door Jordy Meow – 6.7.7
WooCommerce Boost Sales Premium: door VillaTheme – 1.5.4 Dropin Plugins ()advanced-cache.php: advanced-cache.php
maintenance.php: maintenance.php SettingsAPI 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)
wbs_bundle (wbs_bundle)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: –
Enforce Approved Product Download Directories: –
HPOS feature enabled: ?
Order datastore: Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableDataStore
HPOS data sync enabled: ? LoggingEnabled: ?
Handler: WC_Log_Handler_DB
Retention period: 25 dagen
Level threshold: Melding
Log directory size: 919 KB WC PagesWinkelbasis: #4 – /winkel/
Winkelwagen: #31335 – /winkelwagen/ – Bevat de [woocommerce_cart] shortcode
Afrekenen: #31336 – /afrekenen/ – Bevat de [woocommerce_checkout] shortcode
Mijn account: #31337 – /mijn-account-2/
Algemene voorwaarden: ? Pagina niet ingesteld ThemeName: Salient Child Theme
Version: 1.2
Author URL:
Child Theme: ?
Parent Theme Name: Salient
Parent Theme Version: 16.3.0
Parent Theme Author URL: https://themeforest.net/user/themenectar
WooCommerce Support: ? TemplatesOverrides: salient/woocommerce/cart/mini-cart.php
salient/woocommerce/checkout/form-checkout.php
salient/woocommerce/checkout/review-order.php
salient/woocommerce/checkout/terms.php
salient/woocommerce/content-product.php
salient/woocommerce/content-single-product.php
salient-child/woocommerce/emails/email-header.php
salient-child/woocommerce/emails/email-order-details.php
salient-child/woocommerce/emails/email-styles.php versie 4.0.0 is verouderd. De hoofdversie is 8.6.0
salient/woocommerce/loop/add-to-cart.php
salient/woocommerce/loop/loop-start.php
salient/woocommerce/myaccount/form-login.php
salient/woocommerce/single-product/product-image.php versie 7.8.0 is verouderd. De hoofdversie is 9.0.0
salient/woocommerce/single-product/rating.php
salient/woocommerce/single-product/tabs/description.php
salient/woocommerce/single-product/tabs/tabs.php
salient/woocommerce/single-product/title.php
salient/woocommerce/single-product-reviews.phpOutdated Templates: ?
Leer hoe te updaten
WooCommerce PayPal Payments
Onboarded: ?
Shop country code: NL
WooCommerce currency supported: ?
Advanced Card Processing available in country: ?
Pay Later messaging available in country: –
Webhook status: ?
PayPal Vault enabled: –
ACDC Vault enabled: –
Logging enabled: –
Reference Transactions: ?
Used PayPal Checkout plugin: ?
Subscriptions Mode: Disabled AdminEnabled Features: activity-panels
analytics
product-block-editor
coupons
core-profiler
customize-store
customer-effort-score-tracks
import-products-task
experimental-fashion-sample-products
shipping-smart-defaults
shipping-setting-tour
homescreen
marketing
mobile-app-banner
navigation
onboarding
onboarding-tasks
product-custom-fields
remote-inbox-notifications
remote-free-extensions
payment-gateway-suggestions
shipping-label-banner
subscriptions
store-alerts
transient-notices
woo-mobile-welcome
wc-pay-promotion
wc-pay-welcome-page
launch-your-storeDisabled Features: experimental-blocks
minified-js
pattern-toolkit-full-composability
product-pre-publish-modal
printful
settings
async-product-editor-category-field
product-editor-template-systemDaily Cron: ? Next scheduled: 2024-07-26 10:43:45 +02:00
Options: ?
Notes: 84
Onboarding: completed Action SchedulerAfgerond: 41.160
Oldest: 2024-06-24 14:59:50 +0200
Newest: 2024-07-25 14:57:11 +0200Mislukt: 28
Oldest: 2023-11-17 13:09:22 +0100
Newest: 2024-05-06 12:26:56 +0200In afwachting: 15
Oldest: 2024-07-25 14:58:34 +0200
Newest: 2024-07-26 10:53:46 +0200 Status report information-
This reply was modified 8 months ago by
sanderrrrr.
-
This reply was modified 8 months ago by
sanderrrrr.
Hi there @sanderrrrr,
Thanks again for getting back to us with your system status report.
Hello, are you able to remove or make the response anoynomous after reading it?
To answer your question, once a post is made, it can not be deleted neither can the user be made anonymous, but our forum moderators can only make changes to remove any confidential information like passwords and customer emails.
I already checked the logs before contacting you here, and it does not show anything. Not the woocommerce logs nor the server logs.
I understand, while this issue persists, you’re unable to find any error logs under WooCommerce > Status > logs. After checking your SSR, I could notice a couple of active plugins and a theme.
In order to troubleshoot and have a better understanding of this issue, I recommend the following steps:
- Create a staging site and create a clone of your site so that you can troubleshoot the issue from there. Here are the steps to creating a staging site.
- Temporarily deactivate all of your plugins except for WooCommerce. If the issue is resolved, reactivate each plugin one by one to identify the one causing the conflict.
- Temporarily switch to a default WordPress theme like Twenty Twenty-Four or Storefront. If the issue is resolved, the problem may be with your current theme.
- Make sure the image files are not corrupt and are in a format that WordPress supports (JPEG, PNG, GIF).
- If none of the steps help solve the issue, I recommend reaching out to your host, as they might be able to help troubleshoot the issue even further.
Looking forward to your reply.
Omg you needed a full system report to give me a standard reply? Why not just spit that at first?
Would have saved both of us time.
It seems more like a corrupt file that somehow entered into the media gallery and is causing issues.Anyway, it seems I won’t get any constructive responses here and will look into alternative solutions.
Hi @sanderrrrr,
That’s just one of the standard troubleshooting steps and it’s expected for users to try this, as this isn’t default WooCommerce behavior so it’s likely something else is interferring with your site.
However, allow me to help by posing a few more questions:
- Can you share a link to a product that has this corrupted image set so we can further examine it?
- Since when did this problem start? Did you make any recent changes to your site around that time? Maybe you installed a plugin, used a code snippet, changed your theme, modified any settings, or even uploaded an image that may be corrupt. This can help us determine the reason for the issue.
- Do you have this problem with regular posts (check for featured images or even images within the posts), this can help us determine if the issue is contained to WooCommerce or if it’s an issue with your WordPress install in general.
- In that same line, have you tried uploading the image to the media library directly instead of a product or a post? Does the issue persists? What happens if you try uploading multiple images? Does it break only for the last one or for all?
- Speaking of uploads, are you able to upload any other file type? Maybe a PDF, an mp3 to your media library, or even zip files to your plugins or themes.
- Out of your installed / active plugins list, two caught my eye, can you try disabling those two and seeing if the issue persists?
- Imagify: door Imagify – Optimize Images & Convert WebP & Avif – 2.2.2
- Variation Swatches for WooCommerce: door Emran Ahmed – 2.1.1
Thanks!
-OPHello, thank you for your information.
Please note that no recent changes were made, and that for years we have used these themes/plugins without this issue.
Also note that we can still upload images and other files to the media.
On normal posts it does work. And even in products it works for the gallery but not for the main product image. Somehow there seems to be something stuck.In fact if I look in the media gallery I cannot see the image. And when I add an image in a regular post it also does not show up. ONLY in the Product single image I can see this image as shown in the picture in my first message here.
I cannot delete, select or do anything with this image, but it does seem to be the cause of the conflict. Would it be an option to manually delete this via the database? Or are there alternative options for re-checking or repairing this?
Hello sanderrrrr,
Thank you for your reply.
To confirm, you are facing an issue where a blank broken image appears in the media library when you try to set a Single Product Image. There is no image information visible on the right right.
This only appears when you try to set a Single Product Image and does not appear on any other action such as setting a featured image for a post or when accessing the Media Library directly.
Here a screenshot of the broken/blank image you shared:
Is my understanding of the problem correct?
To resolve the issue, could tell me if you have tried our suggestion about conflict testing?
I want to make sure this is not happening due to a theme or plugin conflict.If conflict testing does not fix the issue, I suggest trying this 3rd party plugin called Media Cleaner.
Please make sure to create a full-site backup before working with this plugin.Let me know how it goes. ??
Best regards.
Hello,
thank you for your time. Your understanding is indeed correct. That is currently the issue.
So far I have been unable to find a solution to this. I have disabled several plugins and reverted to a standard theme but the problem persist. I might need to duplicate the website to a staging environment for further testing, allthough I am doubtful this will resolve it.
I have also tried Media Cleaner, allthough I am not sure what this is supposed to see? It does not find the relevant ’empty/broken’. image. Would it make sense to look into the folder files to find a corrupted file and delete it?
Hello sanderrrrr
Thank you for your reply.
Creating a staging site is a good idea.
It will give us the freedom to try more solutions.This is a strange problem that I have not encountered before.
At the moment, I do not have enough data to determine the cause.If the Media Cleaner could not detect it, then it would be better to work on the staging site.
Let me know when you have the staging site ready. ??Best regards.
*Issue resolved*
>> Over the weekend I created a stating site to do some testing. After disabling all plugins and switching back to a default theme the issue seemed to have gone. Reactivating all plugins and themes seem to have resolved it without any other issues. Have repeated on live site and issue now seems to be gone and resolved.
Thank you for your assistance.
Hi @sanderrrrr
That’s great to hear! Thanks for letting us know.
I will mark this thread as resolved. Should you have further inquiries, kindly create a new topic here.
Meanwhile, if it isn’t too much to ask for – would you mind leaving us a review here?
It only takes a couple of minutes but helps us tremendously. It would mean so much to us and would go a really long way.
Thanks!
- The topic ‘Cannot load product image on product page’ is closed to new replies.