The 7.x-1.7 nodeblock.module contains a line of code that is not valid in PHP-5.2
$block_title = $values ?: ($node->nid ? '' : _nodeblock_node_title($node, $langcode));

The "?:" operator isn't supported in PHP-5.2

Please either work around it or document the change in system requirements.

Comments

dbfunk created an issue. See original summary.

Johnny vd Laar’s picture

Status: Active » Closed (won't fix)

Support for PHP 5.2 has ended in 2010. You shouldn't be running this on any server. I'm not supporting old PHP versions.