
Originally Posted by
Bruce1952
Hi All,
Running version 1.58a on a linux server running PHP Version: 8.1.31
Template Bootstrap Version 3.7.4
CKEditor version 5
Image Handler version 5
Quick Updates version 2.0.1
I have just received this error message in the log file:
[21-May-2025 19:36:25 Australia/Sydney] Request URI: /admin/index.php?cmd=quick_updates&page=50, IP address: 130.105.98.125, Language id 1
#0 /zc_plugins/QuickUpdates/v2.0.10/admin/quick_updates.php(1771): zen_debug_error_handler()
#1 /admin/index.php(23): require('/home/a1ntacdk3...')
--> PHP Warning: Undefined variable $text in /zc_plugins/QuickUpdates/v2.0.10/admin/quick_updates.php on line 1771.
This is what is in the file from line 1767 to 1781
foreach((array)$export_products as $key => $value){
if(!empty($value['products_model'])) $text = ' (' . $value['products_model'] . ')';
$quick_copy_from_array[] = array(
'id' => $key,
'text' => 'id:' . $key . $text
);
}
echo zen_draw_form('quickcopyfrom', FILENAME_QUICK_UPDATES);
echo zen_draw_pull_down_menu('quick_copy_from_id', $quick_copy_from_array, $_SESSION['quick_updates']['quick_copy_from_id']);
$array = array();
//$array[] = array('id' => $_SESSION['quick_updates']['quick_copy_number'],'text' => $_SESSION['quick_updates']['quick_copy_number'] . 'x');
$array[] = array('id' => 0,'text' => '0x');
$array[] = array('id' => 1,'text' => '1x');
$array[] = array('id' => 10,'text' => '10x');
echo zen_draw_pull_down_menu('quick_copy_number', $array, $_SESSION['quick_updates']['quick_copy_number']);
Any assistance on how to correct the issue would be appreciated.