SMFHacks.com

SMF Classifieds => Support => Topic started by: w5hro on March 13, 2015, 10:34:02 am

Title: Undefined index: keywords
Post by: w5hro on March 13, 2015, 10:34:02 am
Hi,

I'm occasionally getting the error below in the log when creating listings. It happens 1 time out of every 2 or 3 listings.

http://mydomain.com/index.php?action=classifieds;sa=editlisting2
8: Undefined index: keywords
File: /home/me/public_html/Sources/classifieds2.php
Line: 1278
Title: Re: Undefined index: keywords
Post by: w5hro on March 13, 2015, 04:06:42 pm
I figured out what's causing the error.

If I choose to Hide Keywords Field under the Listing/Auction Fields via the Layout Settings tab and then edit a listing it creates the error every time. It doesn’t like that field being hidden when editing. If I unhide the keywords field the error goes away.
Title: Re: Undefined index: keywords
Post by: SMFHacks on March 13, 2015, 09:08:26 pm
Posted update
4.0.3
!Fixed possible undefined error with keywords on edit listing/auction
Title: Re: Undefined index: keywords
Post by: w5hro on March 13, 2015, 09:13:34 pm
That was fast, thanks...