When previewing a node, the following messages appear and are logged:
Notice: Undefined property: stdClass::$print_display in print_link_allowed() (line 868 of sites/all/modules/print/print.module).
Notice: Undefined property: stdClass::$print_pdf_display in print_pdf_link_allowed() (line 592 of sites/all/modules/print/print_pdf/print_pdf.module).
Solution:
print.module line 868
Change
if (!$node->print_display) {
into
if ((!isset($node->print_display)||!$node->print_display)) {
print_pdf/print_pdf.module, line 592:
change
if (!$node->print_pdf_display) {
into
if ((!isset($node->print_pdf_display)||!$node->print_pdf_display)) {
As a reminder for next release of this beautiful module
Comments
Comment #1
jeuelc CreditAttribution: jeuelc commentedit works. thanks.
Comment #2
jcnventura CreditAttribution: jcnventura commentedComment #3
asrobI'm using this module and the problem exists. After I patched this one the bug has gone. Thanks.
Comment #4
jcnventura CreditAttribution: jcnventura commentedI've committed a fix to dev.