Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
warning: strpos() [function.strpos]: Empty delimiter in [path]\sites\all\modules\annotation\annotation_text\annotation_text.module on line 349.
Note: I applied the better_UI patch, but this error occurs in either case. This happens independently of content type - in any text based content that has annotation enabled.
Comments
Comment #1
baaj CreditAttribution: baaj commentedThe offending line is $pos = strpos($haystack, $needle);
Comment #2
k3rr78nd CreditAttribution: k3rr78nd commentedIt looks like either $haystack or $needle is empty. I added one line to test for this which fixed the error for me:
Comment #3
BrockBoland CreditAttribution: BrockBoland commented