Started getting these after update
PHP message: PHP Fatal error: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, bool given in?……
/wp-content/plugins/smart-app-banner/wsl-smart-app-banner.php:49
Running PHP 8.1, latest version of WP and your plugin
]]>Why am I getting a strange code from the Smart Banner Plugin on top of my webpages? It often happens after searching with the search box. The code then stays at the top of the page. It’s even there when I simply copy and paste the complete link into another browser. I can’t get rid of it unless I make simple edit to the page.?
This is a sample of the code
Notice: Undefined index: _wsl-app-id in /srv/users/thecreationspeaks-com/apps/visualverse-thecreationspeaks/public/wp-content/plugins/smart-app-banner/wsl-smart-app-banner.php on line 42
Notice: Undefined index: _wsl-app-id-ipad in /srv/users/thecreationspeaks-com/apps/visualverse-thecreationspeaks/public/wp-content/plugins/smart-app-banner/wsl-smart-app-banner.php on line 44
Notice: Undefined index: _wsl-affiliate-data in /srv/users/thecreationspeaks-com/apps/visualverse-thecreationspeaks/public/wp-content/plugins/smart-app-banner/wsl-smart-app-banner.php on line 45
Notice: Undefined index: _wsl-app-argument in /srv/users/thecreationspeaks-com/apps/visualverse-thecreationspeaks/public/wp-content/plugins/smart-app-banner/wsl-smart-app-banner.php on line 46
Thanks!
]]>Hi,
With the new updates, multiple warnings show up. It’s not usable.
Warning: Undefined array key”._ws-app-argument”
Trying to access array offset on value of type null
Undefined array key “_ws-app-id”
…
Here is a screenshot: https://ibb.co/WBSV5D6
I received notification of a security flaw in WordPress Smart App Banner plugin <= 1.1.3:
This could allow a malicious actor to inject malicious scripts, such as redirects, advertisements, and other HTML payloads into your website which will be executed when guests visit your site. This vulnerability has not been known to be fixed yet.
Patchstack
Will there be a patch to address this issue?
]]>I installed the app and saved app id. However, the banner does not show up. What’s wrong?
]]>I am trying to delete one of the apps in the plugin settings. I realized that I was using the wrong app ID, so I created another one with the correct app ID. Unfortunately, my team and I are unable to delete it. We have tried uninstalling the app entirely and using different computers, but nothing seems to work for us. We believe that this will solve our issue. Right now, users get a black and blank banner at the top of the page when they come to our site.
I see that it is in the code and should work fine, but none of us have been able to get to the bottom of it.
Thanks very much,
Victor
Hello
I’ve set up the plugin but it seems not to work?
]]>I have both andorid and ios app.
but both of them are webview capable.
naturally, the user who runs the mobile app will also see this content.
I wonder if I can prevent this?
that is, it will appear on all mobile devices. but it should not appear on devices with mobile applications installed.
Is this possible?
]]>Can you tell me if it works using Chrome mobile in iOS device?
Thanks in advance.
Santiago Lobos
Hi Team,
I started using the app and it’s great. Thanks for that but I have 2 questions;
1) I have 3 apps and would like to have the banner presenting with reference to the visited page. Is this possible?
2) Any intentions to do the same for Android? I saw some codes like the ones in the below links. Appreciate to have a look ?? ;
– https://github.com/kudago/smart-app-banner
– https://support.gonative.io/help/how-do-i-create-a-smart-app-banner-for-my-website
Thanks
]]>An increasing amount of my traffic is on Google AMP pages. Does the plugin work on those?
]]>Hi, i’ve found the following variables to be undefined:
smart-app-banner/wsl-smart-app-banner.php:57
if ((is_null($app_id_list) or $app_id == "") and
smart-app-banner/wsl-smart-app-banner.php:177
$global_banner_val = $_POST[ $global_banner_field_name ];
smart-app-banner/wsl-smart-app-banner.php:184
if( $_POST[ $global_banner_field_name ] == "Yes") {
My suggestions below:
smart-app-banner/wsl-smart-app-banner.php:41
$app_id_list = $app_id = null;
// This is a weird order, but the idea is that if there's a local
// definition we use that in preference to the global option
smart-app-banner/wsl-smart-app-banner.php:181
$_POST[ $global_banner_field_name ] = isset( $_POST[ $global_banner_field_name ] ) ? $_POST[ $global_banner_field_name ] : '';
$global_banner_val = $_POST[ $global_banner_field_name ];
// Save the posted value in the database
I’m happy to contribute if i’m given access
]]>The banner is not displaying on IOS devices. i TESTED ON 3 DEVICES 6 – 6S AND iphone X.
However, when i inspect element on an Imac i get this:
if (navigator.userAgent.match(/iPad/i) != null) {
document.write(“<meta name=\”apple-itunes-app\” content=\”app-id=1257623906\”>\n”);
}
else {
document.write(“<meta name=\”apple-itunes-app\” content=\”app-id=1257623906\”>”);
}
So seems like it should work….
Not sure why it is not displaying.
Hi, what should I use for app-argument if I want the app to open the same page as the URL of the particular post?
]]>website: https://wetransfer-download.com (plugin is activated)
Using my App ID 978180074, it doesn’t work (no banner).
Using your App ID 796510058, it does work (banner shown).
Tested on iPhone 6S.
Any ideas why?
]]>iOS works just fine, however, issues with Android. Anyone else experiencing issues with it?
Thanks.
]]>We are currently working with version 4.3.1 and according to the plugin page, it is only compatible up to 4.2.5 . My question is, is there a newer updated version of the smart app banner plugin or an alternative we can use? Please let me know. Thank you.
]]>is there a way to include on all pages but exclude one or two?
]]>I installed the plugin, the code shows up in the head, but no banner appears in iOS Safari. Could something in WordPress be blocking it somehow?
]]>I run iOS 8.2 and the Smart App Banner was visible. After I clicked “x”, the Smart Ap Banner was gone and never came back. I deleted the iOS Safari Cache and all website data, went with the Private Browsing but nothing helped. How long is it hidden now and how can I set up the cookie?
]]>Hi
Is this plugin compatible with tap stream for tracking purposes?
https://tapstream.com/developer/tracking-smart-app-banners/
best
mark
Hi, I installed your plugin and entered my affiliate code with the correct format in the settings area (at=myaffiliateID) but when I view the source code of my webpage (https://www.proofshareapp.com) the only variable that appears in the Meta tag area is the app ID.. the affiliate ID isn’t showing up in the meta tag. Is it still being passed somehow when the banner is being viewed? I can’t check it because I can’t see the source code or even see what URL is being passed on the iPad.
Thanks!
]]>Can you provide instructions on filling out the affiliate data correctly?
]]>Hi,
I have installed this plugin correctly but only one link is showing when I on a mobile device. I have different links show across these 3 pages. Any ideas?
https://approsport.com/afl-h2h-predictor-app/
https://approsport.com/nrl-h2h-predictor-app/
https://approsport.com/super-rugby-h2h-predictor-app/