MyBB Community Forums

Full Version: reputation.php warning 1.8.38
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
If a member adds reputation for a post, a warning is thrown.

<error>
<dateline>1735834296</dateline>
<datetime>2025-01-02 16:11:36 UTC -0700</datetime>
<script>reputation.php</script>
<line>244</line>
<type>2</type>
<friendly_type>Warning</friendly_type>
<message>Undefined array key "nomodal"</message>
<back_trace>#0  errorHandler->error() called at [/inc/class_error.php:153]
#1  errorHandler->error_callback() called at [/reputation.php:244]
</back_trace>
</error>

Find on line 244,
if($mybb->input['nomodal'])
and replace with
if(!empty($mybb->input['nomodal']))

That conditional appears on lines 71, 87, 103, 244, 301, 317, 332, 349, 365, 381, 528, and should be corrected the same way.