In one of my views.tpl file
The code is :

<?php print render(block_get_blocks_by_region('XXX')); ?>

But this give me Strict warning: Only variables should be passed by reference???

Comments

nevets’s picture

Change to

<?php
$r = block_get_blocks_by_region('XXX');
print render($r);
?>
Morten Andersen’s picture

You are my hero :-)