Monday, 7 October 2013

Drupal - Warning: strpos() [function.strpos]: Empty delimiter. in /sites/all/modules/views_bulk_operations/views_bulk_operations.module

Currently it is allowed to declare a page view and leave the url field empty

When such a view has arguments, though, the call to strpos('$arg', $url) (with $url = empty string) in views_get_url issues a warning :

Warning: strpos(): Empty delimiter. in (...)\modules\views\views.module on line 745

The below solution could resolve our problem.

- having the url compulsory at view form validation time if "provide page view" is checked;
the description for the "url" textfield reads as if it is the case, but it's not (and for the time being it is not)

Refer :

No comments:

Post a Comment

Thank you so much for providing your valuable feedback. I will will look into them and update my skills & technologies accordingly.