After updating PHP to version 8.1, unfortunately the banners are not displayed and I receive an error code on the website:
Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /…/wp-content/plugins/random-banner/include/controller/populate-content.php:216 Stack trace: #0 /… /wp-content/plugins/random-banner/include/controller/populate-content.php(586): bc_rb_open_case() #1 /…/wp-content/plugins/random-banner/include/widget/random- banner-widget.php(54): bc_rb_generate_banners('firstpost', Array) #2 /…/wp-includes/class-wp-widget.php(394): random_banner_widget->widget(Array, Array) #3 /…/wp-includes/widgets.php(837): WP_Widget->display_callback(Array, Array) #4 /…/wp-content/themes/xxx/index.php(38): dynamic_sidebar ('first-post-widg…') #5 /…/wp-includes/template-loader.php(106): include('/…') #6 /…/wp- blog-header.php(19): require_once('/…') #7 /…/index.php(17): require('/…') #8 {main} thrown in /. ../wp-content/plugins/random-banner/include/controller/populate-content.php on line 216
Can you help solve this problem? I use plugin version 4.2.2 and the latest WordPress.
]]>Is it possible to add rel=”nofollow noopener noreferrer” to link?
]]>Pro banner is no more updated. Random banner pro version is consistently generating PHP errors and consuming server memory. This is the example of error from logs:
_start(): Cannot start session when headers already sent in /home/**/public_html/**/wp-content/plugins/random-banner/random-banner-pro.php on line 59
PHP Warning: session_start(): Cannot start session when headers already sent in /home/**/public_html/**/wp-content/plugins/random-banner/include/function/function.php on line 769
Hello,
The shortcode in php shown on the plugin page does not work;
<?php echo do_shortcode('[bc_random_banner]'); ?>
I added this code from wordpress theme editor to footer.php file but banner did not appear on the site. I also created a file named randomb.php containing the php shortcode and uploaded it to the site home directory but it still didn’t work.
]]>Plugin fail to display random banners if cache plugin like
wp-rocket or litespeed is used.
This is a serious limitation.
Can this be fixed?
Fatal error: Cannot declare class Mobile_Detect, because the name is already in use in /home/tinh/public_html/wp-content/plugins/td-mobile-plugin/Mobile_Detect.php on line 28
The site is experiencing technical difficulties. Please check your site admin email inbox for instructions.
I installed the plugin but it’s not showing well at admin. Add banner button doesn’t work, don’t know how to use it. Many functions are PRO. Strange!
]]>After activating your plugin, it display “unable to communicate back with site to check for fatal errors, so the php change was reverted. you will need to upload your php file change by some other means, such as by using sftp.” when I add shortcode to my homepage…
]]>Hello All,
I have created a Random banner and placed inside my website. But for some reason the banner is not showing the pictures. When I look in ‘Edit in Live preview’ Everything is working perfectly. But on the site only the Bannername is shown.
My WordPress is running local on my Synology Nas just to get thing ready before putting it on the Web.
The strange thing is that I use the same banner on a other site (on the web) and there is working fine. As far as I can find, I have made all setting the same.
Does anybody have an Idea what could be the problem.
Thanks
]]>Hi and thank you for this beautiful and easy to use plugin.
Is is possible to link with the shortcode to a specific banner.
I’d like to create different banners for different post and don’t want it to be random.
Thank you!
]]>Hi
Thanks for your plugin.
I have two categories of banners:
1. Banners that link to internal pages on my site.
2. Banners that link to external products.
The problem is as follows:
I want the links to external products to open in a new tab. But I want the links to internal pages to open in the same browser window.
I cannot see how this can be achieved with your current settings. If you tick the open new tab option in settings/other. All links open in a new tab. If you don’t tick it, none of the links open in a new tab.
Is there a way to have my external links (category) open in a new tab while my internal links (category) open in the same browser window?
Kind Regards
max
]]>having a issue that client does not like. When you load a page with the random ads you will see all the ads load up stacked on top of each other, Then the page will shift after all elements have been rendered and then everything looks normal. Client does not want to see all the ads for that split second.
Any fixes for this?
don’t know if there code for render order, maybe making div render last might fix. or is that how this plug-in is designed to look this way?
]]>I made the translation and put it in wp-content/plugins/random-banner/include/language random-banner-bg_BG.mo and random-banner-bg_BG.po How to locate the plugin in the appropriate language
]]>Installed from WordPress, got 503 error on clicking activate. Downloaded zip file, installed from that. Also got 503 error.
No trouble activating other plugins.
]]>This plugin seems to work great barring one strange bug I found…
I used Random Banner to create two banner areas on my site. One using shortcode in a text widget to display 300×300 size… And another using shortcode in a text widget to create 728×90 size.
Both work fine except if I load a GIF file type into the category that displays the 728 size banners the banner won’t display anything (it says no ads to display). If I only load JPG files it works fine but as soon as I load a GIF into that category it stops working…even the JPG files won’t display. To fix it I have to delete every file (including JPG files) from that category and load them all back in again….deleting just the GIF files doesn’t work…I must delete all the files in the category and start over.
Strangely the 300×300 banner works just fine with a mix of JPG and GIF files. The shortcode is identical for both except for the category name. I even tried switching the 300×300 shortcode into the location where the 728 banner displays and it still works….so it’s nothing to do with where I display the banner on my site.
I tried loading only GIF files, I tried changing the options in the shortcode to different settings, I tried putting the banner in different places on the site. I tried loading the banners into the posts directly and they still won’t work if there’s at least one GIF file loaded into that category.
It’s just something to do with loading GIF files at 728×90 breaks the functionality of this plugin.
]]>Hi,
We are using your plugin on the website and it has been performing great so far. However, the problem occurred when I decided to remove some of the old ads and add new ones. Old ads are still rotating event though they are not displayed in the list of ads.
Second, do you have a max limit of ads rotating at the same time for the free version? Currently, I have 4 ads on the plugin dashboard. Only 2 of them are displayed. In the meanwhile, two removed ads are still rotating.
Please advise!
kind regards
Ivars
I am using your plug in and the random images only seem to work on some browsers but not all… Some browsers like IE Edge just show the same banner on all the pages .. site example: https://prcbuilders.wpengine.com/faq/
I have three banners
]]>The banners are not sliding on mobile version but it works as a slider on bigger screens. Is this how it’s supposed to be?
]]>If I have an image that is 400×400 pixels, but in adding the ad I enter the values of 200×200, the image is still trying to display at 400×400 pixels.
Where can I set it so it only displays at 200×200?
]]>I tried updating from version 1.3 to version 2 on https://www.ladysmithdowntown.com/ and the site came down.
Had to delete the plugin. Is there a way to get 1.3 back?
]]>Hi,
I am loving the Random Banner as far as it goes.
I would like the ability to add multiple banners, way more than ten, and to be able to put them in categories/tags and then in the widget be able to say which category/tag to select from.
Someone else has already noted that the upload is not functioning at the moment.
I suspect that what I am suggesting would require a custom post type. It may be that the banner would be loaded as the feature image, and the content of the banner may overlay it.
From my point of view this kind of change would let the module be a whole lot more useful.
]]>I installed the plugin, but when I went to the settings and click the upload button nothing happens. So I can’t select or upload any images.
]]>I suspect becaue images are not uplaoding.
Tried copy-pasting the image URL as well.
No luck either.
Aslo, I couldn’t find the setting for the size?
]]>Is there shortcode so that I can place into a textbox? My theme is making it “so” difficult to remove all of the “widget” styling… If I could just put shortcode into a nonformated textbox widget, it would be so much easier!
]]>Is it possible to mix and match banner sizes? Or do they all have to be the same size?
]]>From the documentation I guess it’s not possible, but I need to display more than just one banner on a page. Is this possible?
Thanks, Frank