Simple Machines Community Forum

SMF Development => Bug Reports => Fixed or Bogus Bugs => Topic started by: minimono on May 13, 2018, 12:35:49 AM

Title: A non-numeric value encountered
Post by: minimono on May 13, 2018, 12:35:49 AM
iam same this error

https://.../index.php?action=forum;start=%1
2: A non-numeric value encountered
D:/.../Sources/RecentForumTopics.php
Line: 170
167: $query_this_board = '{query_wanna_see_board}' . (!empty($modSettings['recycle_enable']) && $modSettings['recycle_board'] > 0 ? '
168: AND b.id_board != {int:recycle_board}' : ''). '
169: AND m.id_msg >= {int:max_id_msg}';
==>170: $query_parameters['max_id_msg'] = max(0, $modSettings['maxMsgID'] - 100 - $_REQUEST['start'] * 6);
171: $query_parameters['recycle_board'] = $modSettings['recycle_board'];
172:
173: $context['page_index'] = constructPageIndex($scripturl . '?action=forum', $_REQUEST['start'], min(100, $modSettings['totalTopics']), $rft_per_page, false);
174: }



SMF 2.0.15 , PHP 7.1.15
Title: Re: A non-numeric value encountered
Post by: Illori on May 13, 2018, 06:12:36 AM
RecentForumTopics.php is not a default file, you would need to ask the mod author for assistance in fixing this bug.
Title: Re: A non-numeric value encountered
Post by: d3vcho on May 13, 2018, 06:40:41 AM
Topic splitted.

Ref: https://www.simplemachines.org/community/index.php?topic=558892.0
Title: Re: A non-numeric value encountered
Post by: minimono on May 14, 2018, 03:51:59 AM
Quote from: Illori on May 13, 2018, 06:12:36 AM
RecentForumTopics.php is not a default file, you would need to ask the mod author for assistance in fixing this bug.

Thank You.
error from this mob https://custom.simplemachines.org/mods/index.php?mod=3856