This website can use cookies to improve the user experience

This website can use cookies to improve the user experience and to provide certain services and functions to users. Cookies contain small amounts of information (such as login information and user preferences) and will be stored on your device.

Enable All Cookies Privacy Policy

Just found this error after upgrade


Notice

This topic is archived. New comments cannot be posted and votes cannot be cast.

Responses to this topic


1 Re: Just found this error after upgrade
avatar
Editor
0
From: -
Sorry, didn't saw this post earlier Slightly Frowning Face

There is some 2.0 legacy code that cause this problem. To fix it, open /modules/articles/articlessummary.php and remove the following code (around line 256):

 $blocks = $templates -> prepareblocks( $main_templates[ 'site_block_html' ], $main_templates[ 'site_block_php' ], $insert );


foreach( $blocks as $block_id => $block_content )
{
$insert[ 'site_block_' . $block_id ] = $block_content;
}
1 Re: Just found this error after upgrade
avatar
OP 232
From: -
Top articles block doesn't work to. Comments doesn't work in articles even enabled in cadmin/articles preferences/comments.

Notice

This topic is archived. New comments cannot be posted and votes cannot be cast.