I've recently been having a problem when displaying results for posts on my website. Before, I used to get the "Uncaught InvalidArgumentException" error when I turned on debugging in the wp-config.php file as provided in the screenshots. I referred to your forum where I found this: https://toolset.com/forums/topic/uncaught-invalidargumentexception/.
When signed out the error also has the conditional query tags error saying some variables were called incorrectly
After adding the necessary lines of code to the wp-config.php file, the error disappeared but now no search results show. Also, there is no error_log.txt file when I check the files.
Please advise on what the issue could be and how to resolve it.
The issue is being cause by this line here in your archive.
[wpv-conditional if="( '[wpv-post-type]' eq 'abbreviation' ) AND ( '[wpv-post-id item='@related-video.parent']' ne '' )"]Related Video: [wpv-post-link item="@related-video.parent"]<br /><br />[/wpv-conditional]
Specifically [wpv-post-id item='@related-video.parent'], i've checked the post relationships and there aren't any relationship with the related-video slug. This specific line of code can be found here hidden link
Scroll to the archive content template and look at line 62. I'm assuming here that you want to get the ID of the Knitting videos. Can you confirm that this is the relationship you want to display ? hidden link
Essentially the issue is that you won't be able to pull the parent information with just the item attribute.
Given that you are using this on a search archive and the information can be from any post type, I would recommend creating a child view that lists out the knitting videos and pass the ID of the current post into this view.
As you can see below i've created an example view to list out the parent knitting videos for your posts, however Can you provide me with a link to a post that has a parent knitting video attached so that I can verify that the correct Relationship filters are being made correctly for the view.
With this it will allow you to display the Parent data however you won't be able to check the parent information in the conditional statement.