What version of WordPress are you using? What version of PHP are you using?
The thing is, errors you shared reference lines of code that did not change between versions. The only difference is in the admin screen. There are literally no changes in the code that displays the App Banner.
Thread Starter
msstm
(@msstm)
Hi, it’s PHP 8.1 and the latest version of the plugin.
Nothing has changed on my end at all and I don’t think I had these errors before – I would have noticed.
-
This reply was modified 1 year ago by
msstm.
If the issue is what I think it is, it’s because something went from being a “notice” in PHP 7.x to “warning” in 8.x. This code has been pretty much unchanged in the plugin since version 0.3, so I’m pretty sure that the warnings were not introduced in the new version this weekend.
It isn’t correct, though, so I will fix when I get the time.
I’ve uploaded an update that will hopefully eliminate the warnings. I have not seen the same issue myself (even after upgrading to PHP 8.1) so I can’t be completely sure that it works. There may still be cases where warnings are shown in the admin screen. I’ll work on that next, when I get the chance.