I am trying to insert a custom search filter in my view. The custom search filter is a custom date field. I'm using the following settings: Type of control = Date picker // Compare value as number // Comparison = between
What is happening: In the view I'm able to select a min date and a max date. It works fine when only selecting either min OR max date. But when selecting both I get a critical error on the page. Please try yourself on this page: hidden link
Hello. Thank you for contacting the Toolset support.
When I checked further - I found that there is following fatal error on error-log file.
PHP Fatal error: Uncaught TypeError: date(): Argument #2 ($timestamp) must be of type ?int, string given in /www/htdocs/w01cdf59/entwicklung/wp-content/plugins/webartisan/modules/blended_learning/blended_learning.php:834
The error is coming from the "webartisan" plugin. As soon as I deactivated that plugin I can see its working as expected. Can you please confirm.
Hi Minesh, thank you for your quick reply und your findings. There is obviously an issue with the type of the date or rather how the date is stored in the database. I'll check this and let you know what I found out.