Daniel Thomann
Active member
The error occours if you use the layout of the portal for the forums. Also the global rss isn't available with an error 500 (at least at my environment).Having this issue as well. It's spamming our error log. Haven't really looked into it yet, but just wanted to chime in.![]()
The problem is, that the xenporta wants a node-id to catch a custom style. Since the node_id is 0 for the global rss, you have to set it to 0 if it's empty.
To work around the problem open @xenforoinstallpath/library/EWRporta/ControllerPublic/Forum.php
search:
Code:
$response->params['layout1'] = 'forum-'.$response->params['forum']['node_id'];
Code:
$node_id = (!empty($response->params['forum']['node_id'])) ? $response->params['forum']['node_id'] : 0;
$response->params['layout1'] = 'forum-'.$node_id;