Plugin breaks (no image) gutenberg product widgets
-
When plugin is activated all gutenberg widgets for displaying woocommerce products etc stops displaying images. If you look at the source of the page there is no image present.
The page I need help with: [log in to see the link]
-
Hi there,
Thank you for writing in,
Could you please deactivate all other plugins except WooCommerce plugin and try again? Also please clear all the cache. If the problem still persists then, do let us know.
Regards!
Anjeela Shrestha
AK Happiness EngineerI tried it and the problem is still there. :/
Hi @salesky,
Thank you for writing in.
Could you please provide some screenshots of your customization so that we can check your issue and provide you with the proper solution for this.
Regards!
Alson Singh Thakuri
Ak Happiness EngineerHello
same issue here. with wordpress error
FATAL ERROR: UNCAUGHT ERROR: CALL TO A MEMBER FUNCTION IS_ON_SALE() ON STRING IN /HOME/HTTPD/VHOSTS/NONEMALE.CH/HTTPDOCS/WP-CONTENT/PLUGINS/WOO-BADGE-DESIGNER-LITE/INCLUDES/ADMIN/CLASS/WOBD-HOOK.PHP:186 STACK TRACE: #0 /HOME/HTTPD/VHOSTS/NONEMALE.CH/HTTPDOCS/WP-INCLUDES/CLASS-WP-HOOK.PHP(290): WOBD_SETUP->WOBD_BADGE_ON_PRODUCT(‘APPLY_FILTERS(‘GET_IMAGE(‘THUMBNAIL’) #4 /HOME/HTTPD/VHOSTS/NONEMALE.CH/HTTPDOCS/WP-INCLUDES/CLASS-WP-HOOK.PHP(288): ISHKREOTHEME_ADD_MAIN_MENU_SHOPGreat if you can make an update.
greetins
snowHi @splitghupte
Thank you for writing in.
Could you please mention the theme name that you are using so that we can check the issue and provide you a better solution.
Regards!
Hi @splitghupte
Thank you for writing back.
We are extremely sorry for the late response.
This requires a PHP code in some file of your plugin. If you are able to handle the PHP codes please go to your plugin file includes->admin->class->wobd-hook.php file and add this code after line 182
$product = new WC_Product( get_the_ID() );Please take a look at the screenshot or your convenience.
https://prnt.sc/r05k11Please do contact us if you have any other questions.
Regards!
Hi
thank you very much, but after adding this code, I have some other following errors:FATAL ERROR: UNCAUGHT EXCEPTION: UNGÜLTIGES PRODUKT. IN /HOME/HTTPD/VHOSTS/NONEMALE.CH/HTTPDOCS/WP-CONTENT/PLUGINS/WOOCOMMERCE/INCLUDES/DATA-STORES/CLASS-WC-PRODUCT-DATA-STORE-CPT.PHP:163 STACK TRACE: #0 /HOME/HTTPD/VHOSTS/NONEMALE.CH/HTTPDOCS/WP-CONTENT/PLUGINS/WOOCOMMERCE/INCLUDES/CLASS-WC-DATA-STORE.PHP(159): WC_PRODUCT_DATA_STORE_CPT->READ(OBJECT(WC_PRODUCT)) #1 /HOME/HTTPD/VHOSTS/NONEMALE.CH/HTTPDOCS/WP-CONTENT/PLUGINS/WOOCOMMERCE/INCLUDES/ABSTRACTS/ABSTRACT-WC-PRODUCT.PHP(135): WC_DATA_STORE->READ(OBJECT(WC_PRODUCT)) #2 /HOME/HTTPD/VHOSTS/NONEMALE.CH/HTTPDOCS/WP-CONTENT/PLUGINS/WOO-BADGE-DESIGNER-LITE/INCLUDES/ADMIN/CLASS/WOBD-HOOK.PHP(183): WC_PRODUCT->__CONSTRUCT(645) #3 /HOME/HTTPD/VHOSTS/NONEMALE.CH/HTTPDOCS/WP-INCLUDES/CLASS-WP-HOOK.PHP(290): WOBD_SETUP->WOBD_BADGE_ON_PRODUCT(‘APPLY_FILTERS(‘
and this:
Fatal error: Uncaught Exception: Ungültiges Produkt. in /home/httpd/vhosts/nonemale.ch/httpdocs/wp-content/plugins/woocommerce/includes/data-stores/class-wc-product-data-store-cpt.php:163 Stack trace: #0 /home/httpd/vhosts/nonemale.ch/httpdocs/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(159): WC_Product_Data_Store_CPT->read(Object(WC_Product)) #1 /home/httpd/vhosts/nonemale.ch/httpdocs/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-product.php(135): WC_Data_Store->read(Object(WC_Product)) #2 /home/httpd/vhosts/nonemale.ch/httpdocs/wp-content/plugins/woo-badge-designer-lite/includes/admin/class/wobd-hook.php(183): WC_Product->__construct(206) #3 /home/httpd/vhosts/nonemale.ch/httpdocs/wp-includes/class-wp-hook.php(290): WOBD_Setup->wobd_badge_on_product(‘
greeting
Hi there,
Thank you for writing back.
We are extremely sorry for the inconvenience. Please remove the code from that line and add the same code inline 184. Please take a look at the screenshot below:
https://prnt.sc/r8y5fpPlease do contact us if you have any questions/ issues.
Regards!
The topic ‘Plugin breaks (no image) gutenberg product widgets’ is closed to new replies.