I am also getting “Missing argument 3 for gss_gallery_sc_filter()”. On all pages with a gallery. Using GSS or not.
To fix this, you just need to set the third arg ($instanc) equal to ”. Like so:
On line 72 of gallery-slideshow.php file located in the plugins root change the function to the below:
gss_gallery_sc_filter($output = '', $atts, $instance = '')
So the full function would look like this:
function gss_gallery_sc_filter( $output = '', $atts, $instance = '' ) {
$return = $output; // fallback
if( !empty($atts['gss']) ){
// retrieve content of your own gallery function
$gss_output = gallery_ss::gss_shortcode($atts);
if( !empty( $gss_output ) ) {
$return = $gss_output;
}
}
return $return;
}
-
This reply was modified 7 years, 2 months ago by WP Inventory.