Hi
Same message error. I’m using Iconic One theme and WP 381.
It happens when adding a new image to the slider and click Publish and also when adding the shortcode to a page.
Any idea ?
Thanks
Dear all,
I have some issue also, and I debug the source code and found the width and height of the banner is 0px and display of the header slider is set to none, at a result, banner didn’t show up.
Where did you download the plugin? I download it from WordPress the Plugins page, I think we may need to fix the problem by ourselves.
The installation from WordPress Plugins page is wrong
<div class=”headerslider”> <?php echo do_shortcode(‘[sp_imageslider limit=”-1″]’); ?></div>
The “sp_imageslider” should be replaced by “sp_responsiveslider”
Best regards,
Kelvin.
Hello everyone,
It looks like the plugin isn’t passing the required parameters into the wp_kses() function. To fix it, open up your plugin file, located here:
/wp-content/plugins/responsive-header-image-slider/responsive_headerimageslider.php
And change the following two lines:
update_post_meta( $post_id, ‘rsris_slide_link’, wp_kses( $_POST[‘rsris_slide_link’] ) );
update_post_meta( $post_id, ‘rsris_slide_embed’, wp_kses( $_POST[‘rsris_slide_embed’] ) );
…to…
update_post_meta( $post_id, ‘rsris_slide_link’, wp_kses( $_POST[‘rsris_slide_link’], wp_kses_allowed_html( ‘post’ ) ) );
update_post_meta( $post_id, ‘rsris_slide_embed’, wp_kses( $_POST[‘rsris_slide_embed’], wp_kses_allowed_html( ‘post’ ) ) );
That should fix it.
Thread Starter
askoO
(@askoo)
Thank you noodlz this fix worked for me.
noodlz, thanks a lot. Did the trick for me 🙂