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.
Follow-up from #2042927: notices in style unformatted.
Notice: Undefined variable: pdf_display in views_view_field_handler_include_view->render() (regel 158 van /mydomain/sites/all/modules/views_pdf/modules/views_view_field/views_view_field_handler_include_view.inc).
Notice: Undefined offset: 0 in views_pdf_plugin_style_unformatted->render_grouping_sets() (regel 48 van /mydomain/sites/all/modules/views_pdf/views_pdf_plugin_style_unformatted.inc).
Notice: Undefined variable: pdf_display in views_view_field_handler_include_view->render() (regel 158 van /mydomain/sites/all/modules/views_pdf/modules/views_view_field/views_view_field_handler_include_view.inc).
Notice: Undefined variable: pdf_display in views_view_field_handler_include_view->render() (regel 158 van /mydomain/sites/all/modules/views_pdf/modules/views_view_field/views_view_field_handler_include_view.inc).
Comments
Comment #1
sportel CreditAttribution: sportel commentedAm I the only one with these notices?
Comment #2
sportel CreditAttribution: sportel commentedCan I hide these error messages for all users except for the admin until this issue has been solved?
Comment #3
candelas CreditAttribution: candelas commentedhello
you can go to and say not to show
admin/config/development/logging
and as admin, you can check in
admin/reports/dblog
for what i have seen, you cant have grouping sets in views_pdf. you can search for issues about it and the rest.
i hope it helped :)
Comment #4
sportel CreditAttribution: sportel commentedThanks for the hint candelas,
Everything seems to be working, except for all the errors of course. I'll wait until there is a solution (I'm not capable of solving it at code level I'm afraid). At least I won't have to bother users with the messages anymore.
The comment you made on grouping sets is discussed in #2042927: notices in style unformatted I believe. I'm keeping an eye on that to. For the other error messages, I haven't found anyone else with the same problem. Curious.
Mike.
Comment #5
candelas CreditAttribution: candelas commented@sportel: i advice to you to spend a bit of time and detect which options you have selected in the view that causes those warnings. like that you make possible to debug. its easy for you, duplicate the view, and play with it. do you have included views? because you have a tip in the error ...
views_view_field_handler_include_view
good luck :)
Comment #6
rockaholiciam CreditAttribution: rockaholiciam commentedYou can go to the line it throws the error at and just before it, change this block of code:
to:
Comment #7
killua99 CreditAttribution: killua99 commentedRockaholiciam, could you please make a patch file for it? it's easy to create patch files.
create a patch with git
Comment #8
jelhan CreditAttribution: jelhan commentedI just created a complex PDF view with latest Views PDF dev version (2014-Aug-07), TCPDF 6.0.090 and FPDI 1.5.2 running on 5.4.4 and didn't got any notice or strict warning yet. This combination seems to work fine together.
Comment #9
killua99 CreditAttribution: killua99 commentedok fine, please a little bit more and then put it on RTBC to fix this issue :)
Comment #10
vegansupreme CreditAttribution: vegansupreme commentedI haven't seen this error lately. If anyone is still getting this error please reopen this issue and I'll investigate further.