I have updated my site to PHP 8.0 and I'm still getting this error despite having the latest release of date.
TypeError: Cannot access offset of type string on string in date_views_filter_handler_simple->accept_exposed_input() (line 150 of /var/www/html/docroot/sites/all/modules/date/date_views/includes/date_views_filter_handler_simple.inc).
I get the error anytime I'm trying to edit any node that includes a date field.
Comments
Comment #2
museumboy commentedThe fatal error only occurs when my view includes an exposed filter that is NULL or is NOT NULL.
Comment #3
rahul_ commented@museumboy -
Temporary Fix -
Please do following changes and issue will resolve
In File /home/ide/project/docroot/sites/all/modules/contrib/date/date_views/includes/date_views_filter_handler_simple.inc
Replace
To
I will create a Patch and share with you.
Please let me know, after this changes you are facing similar issue.