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.
I receive the following notice when I am using a view via services view (find the exported view attached)
Notice: Undefined index: type in services_views_execute_view() (line 137 of sites/all/modules/contrib/services_views/services_views.resource.inc).
Note that I am using the exported view resource for this particular view.
Actually I receive hundreds of these on every single service call which cause a lot db log messages and a huge performance issue.
Not sure that the issue is relevant to this module but I think that we should take a look.
I am going to prepare a patch shortly
Comments
Comment #1
boyan.borisov CreditAttribution: boyan.borisov commentedI made the patch.
Comment #2
dmizrahi CreditAttribution: dmizrahi commentedThank you very much !
I had this error too.
Comment #3
chapabu CreditAttribution: chapabu commentedI had this error as well, and this patch fixes it.
There's not much to review as it's only a one liner, but it makes sense that we can mark this RTBC.
Comment #4
OnkelTem CreditAttribution: OnkelTem commentedBasically that line is not in it's place. Consider the patch applied.
Comment #5
FranciscoLuz CreditAttribution: FranciscoLuz commented#4 fixes the issue.
Comment #6
kylebrowning CreditAttribution: kylebrowning commentedComment #8
boyan.borisov CreditAttribution: boyan.borisov at FFW for LUSH Digital commentedThank you for committing this, @kylebrowning.