Skip to main content ↑ ↓
2.0 - Num_Replies in Recycled Topics Started by ScottJB · · Read 165 times 0 Members and 1 Guest are viewing this topic.

2.0 - Num_Replies in Recycled Topics

When trying to get into my board that is set for recycling, I get this error:

Code: [Copy]
Type of error: Undefined
 Warning: Undefined array key "num_replies"
 /index.php?board=8
 File: /sources/ElkArte/TopicUtil.php—Line:62

Backtrace:

Code: [Copy]
Warning: Undefined array key "num_replies"
#0: {closure:ElkArte\Errors\ErrorHandler::__construct():53}()
Called from: /sources/ElkArte/TopicUtil.php line: 62
#1: prepareContext()
Called from: /sources/ElkArte/Controller/MessageIndex.php line: 660
#2: loadBoardTopics()
Called from: /sources/ElkArte/Controller/MessageIndex.php line: 193
#3: action_messageindex()
Called from: /sources/ElkArte/SiteDispatcher.php line: 421
#4: dispatch()
Called from: /index.php line: 143
#5: elk_main()
Called from: /index.php line: 71

Re: 2.0 - Num_Replies in Recycled Topics

Reply #1 –

Thanks ... the fix is here: https://github.com/elkarte/Elkarte/pull/3870/changes/026a7139aa57851a35f902e3d76630d246a90818  or just replace your MessageIndex.subs.php file with this one: https://raw.githubusercontent.com/Spuds/Elkarte/026a7139aa57851a35f902e3d76630d246a90818/sources/subs/MessageIndex.subs.php