archetyped / simple-lightbox-extensions

Feedback & Support for Simple Lightbox Extensions
https://archetyped.com/tools/simple-lightbox/
2 stars 3 forks source link

[WooCommerce / Issue]: Error: Missing Argument #58

Closed smooty1970 closed 5 years ago

smooty1970 commented 7 years ago

Description of issue

Warning: Missing argument 4 for SLB_WooCommerce::activate_product_thumbnail() in /itbcs402/public_html/lochnershop.at/wp-content/plugins/slb-woocommerce_0.2.1/controller.php

Details

Contact Form 7

Envato WordPress Toolkit

Google Analytics Dashboard für WP

Head, Footer and Post Injections

Image Widget Deaktivieren | Bearbeiten

Imagify

ManageWP - Worker

Meta Slider

Really Simple CAPTCHA

Resize images before upload

Schema Creator by Raven

SEO Friendly Images

Simple Custom CSS

Simple Lightbox

Simple Lightbox: WooCommerce Activator

Vendidero Helper

Visser Labs Updater

W3 Total Cache

Woo Payment Discounts

WooCommerce

WooCommerce - Store Exporter

WooCommerce - Store Exporteur Deluxe

WooCommerce Colors

WooCommerce Deutsch (de_DE)

WooCommerce Germanized

WooCommerce Table Rate Shipping

WordPress HTTPS

WP CDN Rewrite

WP-Lister Pro for eBay

WPDBSpringClean

Yoast SEO

archetyped commented 7 years ago

Hi, what versions of WooCommerce and SLB are you using? The current stable release for each plugin should be installed:

smooty1970 commented 7 years ago

We use exactly these versions. When the SLB Addon is activated, the error appears. The theme is VendiPro in the current version.

smooty1970 commented 7 years ago

In the line 107 of the controller.php, the error occurs: public function activate_product_thumbnail($output, $attachment_id, $post_id, $image_class) {

[03-Mar-2017 17:46:25 UTC] PHP Warning: Missing argument 4 for SLB_WooCommerce::activate_product_thumbnail() in /home/itbcs402/public_html/lochnershop.at/wp-content/plugins/slb-woocommerce_0.2.1/controller.php on line 107

archetyped commented 7 years ago

Hi, it sounds like the theme may be overriding the function in a way that is not compatible with WooCommerce's default functionality. I would recommend testing this by temporarily switching to a standard theme (such as Woo's Storefront theme or one of WordPress' default built-in themes like Twenty Seventeen).

If the error message goes away when a different theme is activated, then the theme is causing the error and I would recommend contacting the theme's developer to request that they update the theme to be compatible with WooCommerce.

Please let me know what you find and I would be glad to take another look if necessary.

archetyped commented 5 years ago

This ticket has been closed due to inactivity.