The forums are closed and will be removed when we launch our new site.
Looking for support? You can access the support system via your account.
dpolonsky
Forum Replies Created
-
dpolonsky in reply to:
Query vars and results order don't match(Private) March 29, 2019 at 5:50 pm #206964This reply has been marked as private.dpolonsky in reply to:
Date UI field in search form causes undefined index error(Private) March 29, 2019 at 5:46 pm #206962We never did, due to security concerns at my company I can’t show you the code to our site. It’s okay though, I’ve worked around it. You can mark this as resolved although this will always remain a mystery. 🙂
dpolonsky in reply to:
Date UI field in search form causes undefined index error(Private) March 29, 2019 at 3:16 pm #206914I disabled all of my plugins as well – still the same result. Very weird.
dpolonsky in reply to:
Date UI field in search form causes undefined index error(Private) March 29, 2019 at 3:07 pm #206911I have 6 fields.
– Search
– Post Type:
Set to “Dropdown” and I changed the “All Items” to “All”
– Category:
Set to “Dropdown” with all items set to “All” and display count/hide empty terms/hierarchical/Include children checked
– Post Date:
Set to “Date Range” with Date Formar 03/28/2019 and only the “Use dropdown for year/month” checked
– Sort Order:
Set to “Dropdown” and All Items as “Relevance”. Sort options set as Title/Desc and Date/Desc
– Submit button.I decided to simplify and try another test so I set up a new form. This time I didn’t touch any of the settings, and I just added a Search field and a Date field. Set the Date field to date range and didn’t mess with anything else. All the other settings on the Date field are empty or at their defaults. As soon as I tried to publish, I got the error again.
The
date_use_dropdown_year
is specific to the PRO plugin, I searched my customized WP theme to make sure we didn’t have the same meta key for something else and we don’t.I also switched to a default WP theme (Twenty Sixteen) to see if it was theme related. I still get the same error.
dpolonsky in reply to:
Ajax still firing even though I disabled it(Private) March 28, 2019 at 7:38 pm #206859Never mind I found it – I had “auto submit form?” checked. I unchecked it. Thanks. 🙂
dpolonsky in reply to:
Results displaying on index.php instead of search.php after first submission(Private) March 28, 2019 at 6:21 pm #206854That did the trick! Thanks so much!
Also – is there any reason why the search term isn’t already in the search form when landing on the search results? Looks like this is only an issue when I use my default WP search bar elsewhere on the site that takes me to the results the first time. If I add a search term in the shortcode form on the search results page – it keeps the search word in the field after submission.
dpolonsky in reply to:
Results displaying on index.php instead of search.php after first submission(Private) March 28, 2019 at 3:52 pm #206797To clarify, the search bar that comes from the site is not from S&F Pro, it’s just the WP default search bar, but it will bring the user to search.php for the results – where the S&F shortcode form resides. It’s when searching in the S&F shortcode form that the results go to index.php. Thanks.
dpolonsky in reply to:
Date UI field in search form causes undefined index error(Private) March 28, 2019 at 3:17 pm #206788Thank you for all of your time. While I still get the error, I’m going to just use the date range field with the “Use dropdown for Year/month” checkboxes checked. That seems to work fine. To re-create the fatal error, all you’d have to do is set up the Post Date field, and set it to “Date Range” and don’t fill out anything else for that field. Try to publish the form and you should see the undefined error.
Thanks again!
dpolonsky in reply to:
Date UI field in search form causes undefined index error(Private) March 22, 2019 at 4:51 pm #206054This reply has been marked as private.dpolonsky in reply to:
Date UI field in search form causes undefined index error(Private) March 22, 2019 at 2:47 pm #206010If it helps, I was using the non-PRO S&F plugin previously before I switched to PRO. I don’t know if perhaps the free version of the plugin saves things in the database for the date range field that may conflict with trying to set up a date range field in PRO?
I was replacing the shortcode from the free version with the pro version, and both forms should have a date range. In the case of the free version, I had the date range set up as two text fields for the from/to date, format mm/dd/yyy.
Thanks.
-
AuthorPosts