2023-09-23, 05:30 PM
ratethread.php
A warning is generated.
Find line 96
A warning is generated.
<error>
<dateline>1695210774</dateline>
<datetime>2023-09-20 11:52:54 UTC -0500</datetime>
<script>ratethread.php</script>
<line>96</line>
<type>2</type>
<friendly_type>Warning</friendly_type>
<message>Trying to access array offset on value of type null</message>
<back_trace>#0 errorHandler->error() called at [/inc/class_error.php:153]
#1 errorHandler->error_callback() called at [/ratethread.php:96]
</back_trace>
</error>
Find line 96
if($ratecheck['rid'] || isset($mybb->cookies['mybbratethread'][$tid]))
and replace with if(!empty($ratecheck['rid']) || isset($mybb->cookies['mybbratethread'][$tid]))