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.
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?
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.
Yes, please provide access in the private reply fields here and I will take a closer look. Thank you.
I had to limit the number of returned posts, and that fixed the issue. My issue is resolved now. Thank you!