Banner only shows “undefined” | WordPress.org

[ad_1]

Hi @ankurfox
I’m seeing it show “FESTIVE RANGE: GANESH CHATURTI 2024 | DIWALI 2024“. Did you do anything to fix it? I recently updated the plugin to support multiple banners, so there may be an issue on the upgrade that i need to address. Thanks!

Strange, which browser did you check this from? I checked from another browser (edge) where I have not logged in as a customer and I see what you see.

On the original browser (chrome), where I also access the backend, I’m logged in as the admin. There I still see “undefined”.

I logged out on the original browser (chrome, updated to latest) and checked, it still shows undefined.

Can you check maybe there’s a compatibility issue somewhere with chrome?

Also, hi

I was checking on Chrome, I also checked on Firefox, Edge, and Safari, all on a Mac computer and it all looked good. I’m wondering if it could be a caching issue? Can you check how the banner looks when you view your page in incognito mode?

And just for my information, when it showed up undefined, did the banner show up correctly but the text said undefined instead of your “FESTIVE RANGE:…” text?

Sorry for the multiple messages. I think I know what may have happened. The plugin does a check on the banner text to see whether to show it or not but it only checks whether it’s an empty string (“”). With the addition of multiple banners, i think the other banners are initially undefined, so i need to check for that as well. I will put out a small fix for that shortly.

Hey @ankurfox I just pushed out a small bug fix, version 3.0.1, please update when you get a chance and let me know if you’re still seeing the issue.

hi @ankurfox all issues should be fixed in v3.0.2

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer