SMFHacks.com

SMF Classifieds => Support => Bugs => Topic started by: vkot on September 03, 2015, 04:30:13 am

Title: Undefined index
Post by: vkot on September 03, 2015, 04:30:13 am
I have the following error messages in my SMF log. I quote the relevant line in Sources/classifieds2.php
My SMF Classifieds version is 3.0.2

Undefined index: qtyinstock
Code: [Select]
  $qtyinstock = (int) $_REQUEST['qtyinstock'];
Undefined index: cat
Code: [Select]
$cat = (int) $_REQUEST['cat'];
Undefined index: t
Code: [Select]
$termsid = (int) $_REQUEST['t'];
Undefined index: catid
Code: [Select]
$catid = (int) $_REQUEST['catid'];
Are these corrected in version 4? Or am I missing something? (for example, maybe the database was not updated properly when I updated to 3.0.2)
Title: Re: Undefined index
Post by: SMFHacks on September 03, 2015, 12:03:16 pm
Not sure does it happen all the time if not then probably an odd condition. But it shouldn't have in 4.0