Seeing logs under PHP8.1:
--> PHP Warning: Undefined array key 1 in /home/bmicpanel/public_html/client/admin/backup_mysql.php on line 157.
where that line is
if (zen_not_null($resultcodes)) list($strA, $strB) = preg_split ('/[|]/', $resultcodes);
Seeing logs under PHP8.1:
--> PHP Warning: Undefined array key 1 in /home/bmicpanel/public_html/client/admin/backup_mysql.php on line 157.
where that line is
if (zen_not_null($resultcodes)) list($strA, $strB) = preg_split ('/[|]/', $resultcodes);
That Software Guy. My Store: Zen Cart Modifications
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
In my version I find I modified it for that same reason,
from
list($strA, $strB) = preg_split ('/[|]/', $resultcodes);
to
[$strA, $strB] = array_pad(explode('|', $resultcodes, 2), 2, null);
Steve
github.com/torvista: Spanish Language Pack, Google reCaptcha, Structured Data, Multiple Copy-Move-Delete, Image Checker, BackupMySQL Admin/Auto...
OK, but that change didn't make it to Github.
https://github.com/torvista/Zen_Cart...mysql.php#L155
looks just like what I posted.
That Software Guy. My Store: Zen Cart Modifications
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
Hmm, no, there's so many changes in my personal version, it's difficult to push things piecemeal logically...haven't got round to it!
Steve
github.com/torvista: Spanish Language Pack, Google reCaptcha, Structured Data, Multiple Copy-Move-Delete, Image Checker, BackupMySQL Admin/Auto...
Yep, that looks like what's needed. TY.
That Software Guy. My Store: Zen Cart Modifications
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
Bookmarks