I am trying to submit this following log error entry to my form but even when I select input validation Any, Baserow won’t let me input the following:
[06-Nov-2024 12:03:08 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/domain/public/wp-content/plugins/plugin/src/Currency/Money_Formatter.php on line 61
Here the screenshots of my problem. I cannot pass the form validation despite it says it should let any value pass.
Hey @artoflogic, I imagine this is being caused by the contents of the input containing special characters. I’ll pass this on to the team for review.
Hi @cwinhall , thank you for replying.
Yes, it could be. If you could check the input I provided if that works. The best would be if you could permit all these special characters or provide a solution how to save this. I would like to build an app that can manage some of our error logs. I think I can send all these special characters to chat gpt and if I save this via the API, I think it will work. There is no reason the application builder has to be more restrictive.
Thank you!
Hi @artoflogic,
I’m having some trouble replicating this. If I enter your log entry, since the validation is “Any”, it passes validation.
As you have a second element in the form, I’m more inclined to think that’s the cause.
Does the form have an action? Are you trying to create or update a row with the Website
value?
Cheers,
Peter Evans
Hi @picklepete ,
Yes, you are right, I removed the second field and now it works.
There some other problems with other fields or fields I have deleted or added on this form and now seem to create the issue. That’s why the error message shows up. I will have to debug this and if I have zoomed in the problem, open a separate issue.
This issue is closed then. There is no problem with input validation. Thank you.