I had to upgrade to latest Views dev version and my custom pagers don't work anymore.
I get this warning messages :
warning: Invalid argument supplied for foreach() in /Applications/MAMP/htdocs/nicolas-losson/sites/all/modules/views/plugins/views_plugin_query_default.inc on line 914.
warning: Invalid argument supplied for foreach() in /Applications/MAMP/htdocs/nicolas-losson/sites/all/modules/views/plugins/views_plugin_query_default.inc on line 990.
warning: Invalid argument supplied for foreach() in /Applications/MAMP/htdocs/nicolas-losson/sites/all/modules/views/plugins/views_plugin_query_default.inc on line 914.
user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM node node LEFT JOIN term_node term_node ON node.vid = term_node.vid LEFT' at line 2 query: SELECT FROM node node LEFT JOIN term_node term_node ON node.vid = term_node.vid LEFT JOIN term_data term_data ON term_node.tid = term_data.tid WHERE (node.type in ('fiche_projet')) AND ((term_data.name) = ('Pièces sonores')) LIMIT 0, 10 in /Applications/MAMP/htdocs/nicolas-losson/sites/all/modules/views/plugins/views_plugin_query_default.inc on line 1134.I get rid of it when I disable Custom_pager module.
Obviously something must have change in Views module. Is there any way to fix this within Custom_pager module or is it a Views issue ?
Comments
Comment #1
pkej commentedI have the same problem, but I didn't get any error messages, I just couldn't get the custom pagers to show up.
Comment #2
masande commentedapply this patch to the latest dev version to make compatible with views 3: http://drupal.org/files/issues/896776.patch
Comment #3
malancheril commentedI had the same problem as #1 pkej where I don't get any error messages but the pager just doesn't show up. I tried applying the patch but nothing changes.
Comment #4
malancheril commentedCorrection: I did get the same error message, the patch makes the error message go away but the pagers still don't show up. Has anyone been able to get customer pagers working with views 3?
Comment #5
adam_b commentedsubscribe
Comment #6
opdaviesWorks for me with views-6.x-3.0-alpha3. :)
Comment #7
nchase commentedpatch in #2 doesn't work for me with the views 3 dev beyond October 2011.
Comment #8
remaye commentedDuplicate of #896776: Views 3 compatibility