Problem: I created a custom code snippet to run on-demand. It seems to work correctly but I see an error message in the code editor page marked "Last Error":
[2021-06-27 10:38:12, frontend] Executed code snippet "update".
Note: Depending on the nature of the error, you may need to run the script in a particular scenario to make sure the issue is gone.
Solution: It looks like the error was resolved in the code snippet but the internal test procedure was not run again after the code edits. Click "Save the snippet and try again" to run the code again through the internal test procedure. If it is successful, that should clear out the internal error log history and remove the "last error" display.
The issue here is that the user wanted to pre filter their view so that only specific products will be displayed using that view. Solution:
If you are using our Block builder then you should be able to see a query filter in the Content selection section under the Block tab.
This query filter section should allow you to create a static filter that is based on any post attribute such as custom fields or taxonomy.
Based on the custom field i'm assuming that you're getting the email from the current post that is being created by the form. In this case you should be able to do this.