Index: /lib/wpsg_db.class.php
===================================================================
--- /lib/wpsg_db.class.php	(revision 8224)
+++ /lib/wpsg_db.class.php	(revision 8226)
@@ -224,14 +224,5 @@
 			foreach ($data as $k => $v) {
 
-			    if (is_array($v)) {
-			        
-			        /*
-			        echo '<pre>'; debug_print_backtrace(); echo '</pre>';
-			        
-			        var_dump($v);
-			        die();
-			        */
-			        
-                }
+				if (is_array($v)) $v = json_encode($v);
 
 				if ($v != "NOW()" && $v != "NULL") $v = "'".$v."'";
Index: /mods/wpsg_mod_downloadplus.class.php
===================================================================
--- /mods/wpsg_mod_downloadplus.class.php	(revision 8224)
+++ /mods/wpsg_mod_downloadplus.class.php	(revision 8226)
@@ -437,7 +437,7 @@
 	        $oProduct = wpsg_product::getInstance($produkt_id);
 
-	        $oProduct->setMeta('mod_downloadplus_set', $_REQUEST['mod_downloadplus_set']);
-	        $oProduct->setMeta('mod_downloadplus_template', $_REQUEST['mod_downloadplus_template']);
-	        $oProduct->setMeta('mod_downloadplus_mode', $_REQUEST['mod_downloadplus_mode']);
+	        if (isset($_REQUEST['mod_downloadplus_set'])) $oProduct->setMeta('mod_downloadplus_set', $_REQUEST['mod_downloadplus_set']);
+	        if (isset($_REQUEST['mod_downloadplus_template'])) $oProduct->setMeta('mod_downloadplus_template', $_REQUEST['mod_downloadplus_template']);
+	        if (isset($_REQUEST['mod_downloadplus_mode'])) $oProduct->setMeta('mod_downloadplus_mode', $_REQUEST['mod_downloadplus_mode']);
 
 	        if ($this->shop->hasMod('wpsg_mod_productvariants')) {
Index: /mods/wpsg_mod_export.class.php
===================================================================
--- /mods/wpsg_mod_export.class.php	(revision 8224)
+++ /mods/wpsg_mod_export.class.php	(revision 8226)
@@ -2363,5 +2363,5 @@
                         // Kundenvariable
                         $kvid = substr($field_value, 3);
-                        $return = $kunde['kv'][$kvid];
+                        $return = $kunde['kv'][$kvid]??'';
 
                     } else {
@@ -2403,5 +2403,5 @@
 
             }
-
+ 
             $return = substr($return, 0, intval($f['size']));
 
Index: /mods/wpsg_mod_fuellmenge.class.php
===================================================================
--- /mods/wpsg_mod_fuellmenge.class.php	(revision 8224)
+++ /mods/wpsg_mod_fuellmenge.class.php	(revision 8226)
@@ -127,5 +127,5 @@
 				$order_data = $this->shop->cache->loadOrder($basket->o_id);
 		
-				$arBasket['sum']['fuellmenge'] = $order_data['fuellmenge'];
+				if (isset($order_data['fuellmenge'])) $arBasket['sum']['fuellmenge'] = $order_data['fuellmenge'];
 		
 			}
Index: /mods/wpsg_mod_produktartikel.class.php
===================================================================
--- /mods/wpsg_mod_produktartikel.class.php	(revision 8224)
+++ /mods/wpsg_mod_produktartikel.class.php	(revision 8226)
@@ -559,5 +559,5 @@
                 $this->getProduktlink($produkt_id, $this->shop->view['data']['url']);
 
-                $this->shop->view['data']['beschreibung'] = preg_replace("/\r|\n/", "", wpsg_hspc(strip_tags($this->shop->view['data']['beschreibung'])));
+                if (isset($this->shop->view['data']['beschreibung'])) $this->shop->view['data']['beschreibung'] = preg_replace("/\r|\n/", "", wpsg_hspc(strip_tags($this->shop->view['data']['beschreibung'])));
 
                 $arBilder = array();
Index: /mods/wpsg_mod_stock.class.php
===================================================================
--- /mods/wpsg_mod_stock.class.php	(revision 8224)
+++ /mods/wpsg_mod_stock.class.php	(revision 8226)
@@ -136,8 +136,8 @@
 		public function produkt_save_before(&$product_data) {
 
-			wpsg_checkRequest('stock', [WPSG_SANITIZE_INT, ['allowEmpty' => true]], __('Lagerbestand'),$product_data, $_REQUEST['wpsg_mod_stock_stock']);
-			wpsg_checkRequest('stock_count', [WPSG_SANITIZE_CHECKBOX, ['allowEmpty' => true]], __('Lagerbestand zÃ€hlen'), $product_data, $_REQUEST['wpsg_mod_stock_stock_count']);
-			wpsg_checkRequest('minstockproduct_count', [WPSG_SANITIZE_INT, ['allowEmpty' => true]], __('Mindestlagerbestand zÃ€hlen'), $product_data, $_REQUEST['wpsg_mod_minstockproduct']);
-			wpsg_checkRequest('minstockproduct_mail', [WPSG_SANITIZE_EMAIL, ['allowEmpty' => true]], __('Lagerbestand / Benachrichtigung an'), $product_data, $_REQUEST['wpsg_mod_stock_minstockproduct_mail']);
+			if (isset($_REQUEST['wpsg_mod_stock_stock'])) wpsg_checkRequest('stock', [WPSG_SANITIZE_INT, ['allowEmpty' => true]], __('Lagerbestand'),$product_data, $_REQUEST['wpsg_mod_stock_stock']);
+			if (isset($_REQUEST['wpsg_mod_stock_stock_count'])) wpsg_checkRequest('stock_count', [WPSG_SANITIZE_CHECKBOX, ['allowEmpty' => true]], __('Lagerbestand zÃ€hlen'), $product_data, $_REQUEST['wpsg_mod_stock_stock_count']);
+			if (isset($_REQUEST['wpsg_mod_minstockproduct'])) wpsg_checkRequest('minstockproduct_count', [WPSG_SANITIZE_INT, ['allowEmpty' => true]], __('Mindestlagerbestand zÃ€hlen'), $product_data, $_REQUEST['wpsg_mod_minstockproduct']);
+			if (isset($_REQUEST['wpsg_mod_stock_minstockproduct_mail'])) wpsg_checkRequest('minstockproduct_mail', [WPSG_SANITIZE_EMAIL, ['allowEmpty' => true]], __('Lagerbestand / Benachrichtigung an'), $product_data, $_REQUEST['wpsg_mod_stock_minstockproduct_mail']);
 
 		}
Index: /views/produkt/index.phtml
===================================================================
--- /views/produkt/index.phtml	(revision 8224)
+++ /views/produkt/index.phtml	(revision 8226)
@@ -313,15 +313,19 @@
                                 
                                 $arTermDisplay = [];
+
+                                if (is_array($post_terms)) {
                                 
-                                foreach ($post_terms as $term) {
-                                    
-                                    if (!in_array($term->slug, $arTermExclude)) {
+                                    foreach ($post_terms as $term) {
                                         
-                                        if ($wpsg_mod_produktartikel_cat_first_level && $term->parent !== 0) continue;
-                                        
-                                        $arTermDisplay[] = $term->name;
+                                        if (!in_array($term->slug, $arTermExclude)) {
+                                            
+                                            if ($wpsg_mod_produktartikel_cat_first_level && $term->parent !== 0) continue;
+                                            
+                                            $arTermDisplay[] = $term->name;
+                                            
+                                        }
                                         
                                     }
-                                    
+
                                 }
                                 
