Skip Navigation

[Resolved] On the front end site, form can't find reference posts

This support ticket is created 6 years, 3 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

This topic contains 2 replies, has 2 voices.

Last updated by thomasN-4 6 years, 3 months ago.

Assisted by: Nigel.

Author
Posts
#1124085
Capture5.PNG
Capture3.PNG
Capture2.PNG
Capture.PNG

I am trying to: Create a front end for a Invoice custom posttype. So user can log in and from the front end create an invoice. I am linking another post type to reference different cities. In the admin panel i can link to the city post type perfectly but when i create a form the front end is stuck at endless loop of serching.

Link to a page where the issue can be seen:
I can view the cities in the wordpress admin panel but not able to view the posts in the front end.

#1124489

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi Thomas

From what you describe I would expect to see a JS error in the browser console, can you check?

If that error is a 500 error from an ajax request, then you should be able to get details of that from your PHP logs.

If you haven't already, turn on the debug log by editing your wp-config.php file and change the line with WP_DEBUG like so:

define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
define('WP_DEBUG_DISPLAY', false);

That will create a debug.log file in your /wp-content/ directory which you can examine in any text editor. After visiting the form on the front-end inspect the log. If you don't find the debug.log file it means it didn't generate any warnings or errors.

One more thing. Could you please try disabling the non-Toolset plugins and switching theme to twentyseventeen then trying again? If the issue disappears then it should be possible to determine the source of any conflict by a process of elimination.

#1124869

My issue is resolved now. Thank you!
The issue was that i had a slim version of Jquery which was conflicting with the Jquery of searching function. I removed the reference to slim version and added full version of jquery in function.php and everything worked.