Skip Navigation

[Resolved] Insert Custom Search View on Page cause Page to Hang when publishing

This support ticket is created 4 years, 11 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

Tagged: 

This topic contains 4 replies, has 2 voices.

Last updated by allenC 4 years, 11 months ago.

Assisted by: Christian Cox.

Author
Posts
#1427631

I have reverted from Blocks to Views 3 because Blocks does not have Relevanssi functionality. When I try to place a Custom Search View onto my page, I hit Publish and the Page hangs Publishing.... I never actually saves the page. I have tried other types of simple views and they seem to work without a problem. I have disabled every plugin I have as well as reverting to the 2019 Theme.

#1430325

Hi, can you tell me if there are any JavaScript errors logged when you submit the page?
When you edit the Page, are you using the Classic editor, or the Blocks editor?
Are you using a shortcode to insert the View? If so, can you share the shortcode here?

#1430331

The View is a simple Custom Search. I have not got a page to actually save yet when I insert the View. I am just inserting the view in (I thin) the Block editor. I have not seen any javascript errors - just PHP errors that eventually lead to a out of memory error. The Debug log starts with:

29-Dec-2019 00:27:54 UTC] PHP Notice: Trying to get property 'post_type' of non-object in /home/wp_pbreeh/texasworker.com/wp-includes/class-wp-query.php on line 4103
[29-Dec-2019 00:27:54 UTC] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/wp_pbreeh/texasworker.com/wp-includes/class-wp-query.php:4103) in /home/wp_pbreeh/texasworker.com/wp-includes/pluggable.php on line 1265
[29-Dec-2019 00:27:54 UTC] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/wp_pbreeh/texasworker.com/wp-includes/class-wp-query.php:4103) in /home/wp_pbreeh/texasworker.com/wp-includes/pluggable.php on line 1268
[29-Dec-2019 00:28:08 UTC] PHP Notice: Trying to get property 'post_type' of non-object in /home/wp_pbreeh/texasworker.com/wp-includes/class-wp-query.php on line 4103
[29-Dec-2019 00:28:08 UTC] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/wp_pbreeh/texasworker.com/wp-includes/class-wp-query.php:4103) in /home/wp_pbreeh/texasworker.com/wp-includes/pluggable.php on line 1265
[29-Dec-2019 00:28:08 UTC] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/wp_pbreeh/texasworker.com/wp-includes/class-wp-query.php:4103) in /home/wp_pbreeh/texasworker.com/wp-includes/pluggable.php on line 1268
[29-Dec-2019 00:28:47 UTC] PHP Warning: preg_match_all(): Compilation failed: missing closing parenthesis at offset 20 in /home/wp_pbreeh/texasworker.com/wp-content/plugins/internal-links-premium/core/linkbuilder.php on line 130

Then it goes on to have a lot of linkbuilder errors. However, if I disable linkbuilder, it seems to find other errors. I am happy to give you access to the site. thanks for the help.

#1431497

Yes, please provide access in the private reply fields here and I will take a closer look. Thank you.

#1432721

I had to limit the number of returned posts, and that fixed the issue. My issue is resolved now. Thank you!