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.
Getting two different warning notices using 7.x -3.2
Notice: Undefined index: #combine_param in bef_sort_combine_submit() (line 78 of /var/www/html/sites/all/modules/better_exposed_filters/better_exposed_filters.module).
Notice: Undefined offset: 1 in bef_sort_combine_submit() (line 83 of /var/www/html/sites/all/modules/better_exposed_filters/better_exposed_filters.module).
Comments
Comment #1
mikeker CreditAttribution: mikeker as a volunteer commentedCan you check that there is a value in the "Enter a query parameter to use for combined sorts" text field? It shouldn't be possible to turn on ccombined sort without specifying this param, but you never know.
If there is a value there, can you give me some details about the view in question or include an export of the view?
Thanks.
Comment #2
marcoscanoMight be related to #2471401: Combine sort order errors after update to latest version.
If the exposed form is in a block, the notices are thrown when the block is rendered. The patch in the issue solves the problem.
Comment #3
mikeker CreditAttribution: mikeker as a volunteer commentedI'm closing this as a dup of #2471401: Combine sort order errors after update to latest version based on #2. Thanks for the feedback @marcoscano.