When I’m going to edit an existing banner, I get this problem. The problem only occurs in the custom banner plugin. I hope this helps.
WordPress versión 6.2.2
Tema activo: Hueman (versión 3.7.23)
Plugin actual: Responsive Lightbox & Gallery (versión 2.4.5)
PHP versión 7.4.7
Detalles del error
==================
Se ha producido un error del tipo E_ERROR en la línea 5001 del archivo /var/www/html/wp-content/plugins/responsive-lightbox/includes/class-galleries.php. Mensaje de error: Uncaught ArgumentCountError: Too few arguments to function Responsive_Lightbox_Galleries::admin_post_thumbnail_html(), 2 passed in /var/www/html/wp-includes/class-wp-hook.php on line 308 and exactly 3 expected in /var/www/html/wp-content/plugins/responsive-lightbox/includes/class-galleries.php:5001
Stack trace:
#0 /var/www/html/wp-includes/class-wp-hook.php(308): Responsive_Lightbox_Galleries->admin_post_thumbnail_html()
#1 /var/www/html/wp-includes/plugin.php(205): WP_Hook->apply_filters()
#2 /var/www/html/wp-content/plugins/custom-banners/custom-banners.php(319): apply_filters()
#3 /var/www/html/wp-admin/includes/template.php(1445): CustomBannersPlugin->custom_banners_post_thumbnail_html()
#4 /var/www/html/wp-admin/edit-form-advanced.php(688): do_meta_boxes()
#5 /var/www/html/wp-admin/post.php(206): require(‘/var/www/html/w…’)
#6 {main}
thrown
Hello, is there any way to choose the frequency (how many times) will the banners showing? For example i have a group with 2 banners and i want to show them at a percentage frequency of 50% each.
Let me know if i can achieve it somehow.
Thank you
]]>Hi.
I had custom banners admin part not working because a problem with the interaction with the filter “admin_post_thumbnail_html” since I moved to the latest version of responsive lightbox (2.3.4).
Seems the filter “admin_post_thumbnail_html” expects 3 parameters instead of 2.
I managed to get custom banners admin part working again by changing the line 319 of custom_banners.php from:
echo apply_filters( ‘admin_post_thumbnail_html’, $content, $post->ID );
to:
echo apply_filters( ‘admin_post_thumbnail_html’, $content, $post->ID , null);
The error message is as follows:
Fatal error: Uncaught ArgumentCountError: Too few arguments to function Responsive_Lightbox_Galleries::admin_post_thumbnail_html(),
2 passed in .../wp/wp-includes/class-wp-hook.php on line 307 and exactly 3 expected in
.../wp/wp-content/plugins/responsive-lightbox/includes/class-galleries.php:4241
Stack trace: #0 .../wp/wp-includes/class-wp-hook.php(307): Responsive_Lightbox_Galleries->admin_post_thumbnail_html()
#1 .../wp/wp-includes/plugin.php(189): WP_Hook->apply_filters()
#2 .../wp/wp-content/plugins/custom-banners/custom-banners.php(319): apply_filters()
#3 .../wp/wp-admin/includes/template.php(1395): CustomBannersPlugin->custom_banners_post_thumbnail_html()
#4 .../wp/wp-admin/edit-form-advanced.php(688): do_meta_boxes()
#5 .../wp/wp-admin/post.php(206): require('...')
#6 {main} thrown in .../wp/wp-content/plugins/responsive-lightbox/includes/class-galleries.php on line 4241
]]>
Hi, just wondering if it’s possible to change the banner’s output html using a filter or hook in the PRO version.
Thanks!
Hi there, I’m trying to display a random banner using the ‘Banner List’ widget – is this possible?
I have a group of banners created and I can get one to display – I’d just like a random one from the group to appear each time.
Thanks
]]>Hello, I read your support answer 6 years ago about banner links to open in a new window/tab but I don’t see any option in the backend to make link to open to a new tab, and in the frontend, the banner still open in the same windows/tab
]]>I can no longer add/remove or change a Woocommerce product image while this plugin is enabled, please advise.
]]>Hi
It would be awesome if there is a option for rel on links, for exempel noopener or noreferrer
Hi
I get this warning with crome audit
Links do not have a discernible name
Link text (and alternate text for images, when used as links) that is discernible, unique, and focusable improves the navigation experience for screen reader users. Learn more.
It would be awesome if there is a way to sett a link text, separate input or using the title. Thank you in advance!
]]>Wordpress and Pantheon is telling me that your plugin version 3.2.1 has known vulnerabilities. I’ve looked at your latest version and I see that is still the latest version. Please release an update fixing this issue. Thank you
]]>I have a homepage where I got 4 positions where banners are shown.
So I made 4 banner groups for them. Simply : position-1, position-2, etc.
I implemented the code correctly. I.E.
<?php echo do_shortcode( ‘[banner group=”position-1 count=”99″ transition=”fade” timer=”6000″]’, false );?>
That works. However. I have a group for in the sidebar, called: Sidebar-big. And yet the position-1 group, shows banners from the sidebar group. I checked the banners and they only have the sidebar-group checked. How is this happeneing.
]]>The instructions say:
To output a Random Banner, place the following shortcode in the desired area of the Page or Post Content:
[banner]
However when I use the [banner] shortcode it display all banners one after the other.
Is there a way to display just one random banner?
]]>It seems it isn’t possible to display a “pure HTML” banner (what I enter in the banner caption editor)?
I actually only want to inline some “text banners”. If I try to workaround it with a dummy picture it doesn’t display the caption correctly if it’s more than one line (goes out of view).
There’s a massive gap under the rotating banner, how can I remove it? Thanks
]]>There is a frame/border under the banner. I tired adding CSS to the “Custom CSS” section but doesn’t work. Thanks
]]>Good afternoon,
I am using this plugin to appear transition, however whenever it loads the first banner, it hides and soon it appears, everything is very fast but you can notice
What could be causing this.
]]>Using this plugin, can i set my banner yo show just on a specific page, and not on the sidebar widget. Is this possible??
]]>Hello!
Is there any chance we can change the background color where is the links and button?
thank you
]]>I want to know how many time was clicked every banner, help me please!
]]>Hi
How can I set the plugin to view in same page all banner ordonate by date, not randomly in 2 columns ? Can I do ?
Thanks
]]>i create a banner , i found it was not responsive
https://herbalistasia.com/testpage/
i just want to confirm is it this plug it was not support responsive , right?
]]>Hi!
Thanks for this amazing plugin!
I have a problem at display a banner group on my site:
https://cordoba.circuitogastronomico.com/
The entire list of banners showing at the same time as a list.
Can you help me with this?
Regards!
]]>Hi,
after upgrade to Version 1.7.5 border appears around banners.
how do I get rid of it?
thanks
When I call a banner with [banner id="1"]
, it shows caption depends on the value of “Never Show Captions” in Basic options.
It is confusing because there is no visible difference between Case 1 and 3 on the settings page. Is that your expected behavior?
]]>I have a bannner with an image but keep “Target URL” and “Call To Action Text” blank. Until v1.7.3, it shows just an image. But from v1.7.4, an link to “#” inserted before img and it wrapps the banner.
How do I remove the link?
]]>Hi, I’m trying to remove the black border around my banner.
I at the point were i think i need to change the css – i just don’t know what to put in the custom css box?????
thanks
]]>Hello
I recently installed the plugin and are testing the different settings and functions. One thing I noticed is that the Rotating Banner Widget doesn’t show. The custom banner widget works fine though.
See for yourself (the rotating banner i below the custom banner in the sidebar – but hidden):
https://stkf.sinkadus.com/vad-vi-gor/
Any ideas why this is as it is?
]]>can I add a banner to the header that will display based on a category I am trying to 1 not have a banner on home page but have a banner on each page and or post after based on category.
]]>Howdy,
Have an issue now after updating the plugin today.
I only use one banner on home page as a widget (on natureheals.co.uk home page where the free consult bit is and the chinese book picture)
after the update the button disappeared the banner text is outside the picture and and everything looks weird , I’ve recreated the banner and it is still happening please adivse on how to fix.
Thanks
]]>Hi,
I inserted group of banners on right bottom
https://fxdm.co/wp/time-intervals-in-the-graphs/
code in tex widget is:
[banner group='desno' count='3' transition='fade' timer='2000']
there is block but without banners. Niether single banners appear with code
[banner id="978"]
Same is happening when I use custom banner widged.
Same banner codes are working when I insert it on regular post.
Please help
]]>