Woocommerce Product Images Not Working
-
Hi,
I have woocommerce installed with WPML, suddenly all product images except few disappeared from my website including category images. I see the following error in backend. Please help in this regard.
/home/yourlikes/public_html/wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-product-images.php on line 69
-
https://www.yourlikes.us this is the link to my website
What is the full error?
### WordPress Environment ###
Home URL: https://yourlikes.us
Site URL: https://yourlikes.us
WC Version: 2.5.2
Log Directory Writable: ? /home/yourlikes/public_html/wp-content/uploads/wc-logs/
WP Version: 4.4.2
WP Multisite: –
WP Memory Limit: 256 MB
WP Debug Mode: –
Language: en_US### Server Environment ###
Server Info: Apache
PHP Version: 5.4.45
PHP Post Max Size: 64 MB
PHP Time Limit: 30
PHP Max Input Vars: 1000
SUHOSIN Installed: –
MySQL Version: 5.5.42
Max Upload Size: 64 MB
Default Timezone is UTC: ?
fsockopen/cURL: ?
SoapClient: ?
DOMDocument: ?
GZip: ?
Multibyte String: ?
Remote Post: ?
Remote Get: ?### Database ###
WC Database Version: 2.5.2
:
woocommerce_sessions: ?
woocommerce_api_keys: ?
woocommerce_attribute_taxonomies: ?
woocommerce_termmeta: ?
woocommerce_downloadable_product_permissions: ?
woocommerce_order_items: ?
woocommerce_order_itemmeta: ?
woocommerce_tax_rates: ?
woocommerce_tax_rate_locations: ?### Active Plugins (20) ###
All In One SEO Pack: by Michael Torbert – 2.2.7.6.2
Lightweight Social Icons: by Thomas Usborne – 0.8
Ninja Forms: by The WP Ninjas – 2.9.33
Regenerate Thumbnails: by Alex Mills (Viper007Bond) – 2.2.6
WPML Multilingual CMS: by OnTheGoSystems – 3.3.6
Taxonomy Metadata: by mitcho (Michael Yoshitaka Erlewine)
sirzooro – 0.5snapCX WooCommerce Order Tracking: by snapCX – 1.3.0
All Currencies for WooCommerce: by Algoritmika Ltd – 2.0.1
WooCommerce Multilingual: by OnTheGoSystems – 3.7.9
WooCommerce Pre-Orders: by WooThemes – 1.4.2 – 1.4.5 is available
WooCommerce: by WooThemes – 2.5.2
WooSidebars: by WooThemes – 1.4.3
WordPress Importer: by wordpressdotorg – 0.6.1
WP Instagram Widget: by Scott Evans – 1.9.5
WP-RTL: by Fahad Alduraibi – 0.3
WPML Media: by OnTheGoSystems – 2.1.19
WPML String Translation: by OnTheGoSystems – 2.3.6.1
WPML Translation Management: by OnTheGoSystems – 2.1.5
YITH WooCommerce Ajax Search: by Yithemes – 1.3.9
YITH WooCommerce Wishlist: by Yithemes – 2.0.13### Settings ###
Force SSL: –
Currency: SAR (SAR)
Currency Position: left
Thousand Separator: ,
Decimal Separator: .
Number of Decimals: 2### API ###
API Enabled: ?
API Version: 3.1.0### WC Pages ###
Shop Base: #3642 – /%d9%85%d8%aa%d8%ac%d8%b1-2/
Cart: #3645 – /%d8%b3%d9%84%d8%a9-%d8%a7%d9%84%d8%b4%d8%b1%d8%a7%d8%a1/
Checkout: #3646 – /%d8%a7%d9%84%d9%85%d8%b9%d8%a7%d9%8a%d9%86%d8%a9/
My Account: #3647 – /%d8%ad%d8%b3%d8%a7%d8%a8%d9%8a/### Taxonomies ###
Product Types: external (external)
grouped (grouped)
simple (simple)
variable (variable)### Theme ###
Name: Flatsome
Version: 2.7.5
Author URL: https://www.uxthemes.com/
Child Theme: ? – If you’re modifying WooCommerce on a parent theme you didn’t build personally
then we recommend using a child theme. See: How to create a child themeWooCommerce Support: ?
### Templates ###
Overrides: flatsome/woocommerce/archive-product.php
flatsome/woocommerce/cart/cart.php
flatsome/woocommerce/checkout/form-checkout.php
flatsome/woocommerce/content-product.php version 2.4.0 is out of date. The core version is 2.5.0
flatsome/woocommerce/content-product_cat.php version 2.4.0 is out of date. The core version is 2.5.2
flatsome/woocommerce/content-single-product.php
flatsome/woocommerce/global/breadcrumb.php
flatsome/woocommerce/global/wrapper-end.php
flatsome/woocommerce/global/wrapper-start.php
flatsome/woocommerce/loop/loop-end.php
flatsome/woocommerce/loop/loop-start.php
flatsome/woocommerce/loop/orderby.php
flatsome/woocommerce/loop/pagination.php
flatsome/woocommerce/loop/sale-flash.php
flatsome/woocommerce/myaccount/form-login.php
flatsome/woocommerce/notices/error.php
flatsome/woocommerce/notices/success.php
flatsome/product-searchform.php version – is out of date. The core version is 2.5.0
flatsome/woocommerce/single-product/add-to-cart/grouped.php
flatsome/woocommerce/single-product/add-to-cart/simple.php
flatsome/woocommerce/single-product/add-to-cart/variable.php version 2.4.0 is out of date. The core version is 2.5.0
flatsome/woocommerce/single-product/price.php version 1.6.4 is out of date. The core version is 2.4.9
flatsome/woocommerce/single-product/product-image.php
flatsome/woocommerce/single-product/product-thumbnails.php
flatsome/woocommerce/single-product/related.php
flatsome/woocommerce/single-product/review.php version 2.1.0 is out of date. The core version is 2.5.0
flatsome/woocommerce/single-product/sale-flash.php
flatsome/woocommerce/single-product/share.php
flatsome/woocommerce/single-product/short-description.php
flatsome/woocommerce/single-product/tabs/additional-information.php
flatsome/woocommerce/single-product/tabs/description.php
flatsome/woocommerce/single-product/tabs/tabs.php
flatsome/woocommerce/single-product/title.php
flatsome/woocommerce/single-product/up-sells.php
flatsome/woocommerce/single-product-reviews.php
flatsome/woocommerce/single-product.php: Learn how to update outdated templates
System Report
Full Error:
Warning: implode(): Invalid arguments passed in /home/yourlikes/public_html/wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-product-images.php on line 69
Have you imported products? It expects an array of images, and it seems thats not what you have.
I haven’t imported products, all products have been manually added through add products option till yesterday, all images were showing?
Disable the WPML plugins, and also, when did you add Taxonomy Metadata plugin? WP Core has that built in now.
As you have seen my website is in arabic, if WPML is deactivated, the website will not work for me … is it essential to disable WPML? i can disable the Taxonomy Metadata Plugin. Also i have 04 more WPML support plugins are installed all paid and registered.
Ok, i have disabled Taxonomy Metadata plugin and WPML, the error is not showing any more, but there is a new problem, the categories are not page is not working giving 404, and also i am not able to add products to main categories they are showing but can not select them while adding products.
Secondly, how should i use WPML now, keeping it disabled does not solve the problem.
You’d need to resave permalinks to get rid of 404s. Consult with WPML directly if its causing a bug. If you only need arabic, just use regular translation instead of WPML.
I am also have a same problem. Maybe its Theme related. I haven’t seen anything on any of my other websites. Yes I have imported all the products. Any solution ?
- The topic ‘Woocommerce Product Images Not Working’ is closed to new replies.