WSOD at admin/config/services/printfriendly after enabling module

Comments

animare created an issue. See original summary.

hangoverocks’s picture

subscribing !

silvi.addweb’s picture

Its working proper for me. I am using 7.x-3.0 version. Can you please provide steps to reproduce the issue?

crutch’s picture

After install I do not get WSOD but when visiting the address below to configure

admin/config/services/printfriendly

get onscreen error

Fatal error: Can't use function return value in write context in C:\xampp\htdocs\sites\all\modules\printfriendly\printfriendly.admin.inc on line 44

crutch’s picture

Got it partially working by removing line 44 temporarily. Upon using it does not print Panelized Node containing View Panes with relationships, based on an entity reference field, and there are Ads displayed when initiating the print process. Certain organizations are not allowed to display ads so this module we cannot use. It seems to work well otherwise.

bayousoft’s picture

Same error as #4 using the latest 7.x

augusto182’s picture

Same error in line 75.

I refactored like this:

$printfriendly_page_custom_header = variable_get('printfriendly_page_custom_header');
if(!empty($printfriendly_page_custom_header)) {
$icon = 'custom_logo';
}
else {
$icon = 'default_logo';
}

fabsgugu’s picture

Status: Active » Closed (outdated)