echo "</tbody></table>";
}
} catch (Exception $ex) {
- echo $ex->getFile(). ' ' . $ex->getLine() . ' ' . $ex->getMessage();
+ echo $ex->getFile(). ' ' . $ex->getLine() . ' ' . $ex->getTraceAsString() . ' ' . $ex->getMessage();
die;
}
$output = ob_get_contents();
<?php
-global $whereInProductsId, $data_Up;
+global $whereInProductsId, $data_up;
if ($whereInProductsId != " in ()") {
$i=0;
$fields_hide="";
-foreach($_POST["hide"] as $v =>$p) {
+foreach($_POST["hide"] ?? [] as $v =>$p) {
$v=(int)$v;
if($p=="on") {
if($i!=0) {$fields_hide .=",";