[pmwiki-devel] PHP 8 undefined variables
Simon
nzskiwi at gmail.com
Mon Apr 15 01:41:42 PDT 2024
In a recipe I have a statement
\SDV($TotalCounterEnableGEOIP, 0); // default 0
This sets the variable "$TotalCounterEnableGEOIP" or at least I assume it
does.
Further on I use the variable in the statement
if ($TotalCounterEnableGeoIP == 1) {
but PHP tells me
Undefined variable $TotalCounterEnableGeoIP in
D:\Home\KiwiWiki\pmwiki\cookbook\totalcounter.php on line 632
Any suggestions on how I can remove this warning?
thanks
Simon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pmichaud.com/pipermail/pmwiki-devel/attachments/20240415/9755f82e/attachment.html>
More information about the pmwiki-devel
mailing list