Hallöchen Sven,
da das Problem noch besteht, beschreibe ich es hier nochmal ausführlich.
Fehlermeldung (Warnung):
the line 4019 in usercp is
I looked at usercp-templates and in this booth templates
usercp_attachments
usercp_attachments_attachments
where changes. This new line is missing:
PHP
because there was an "own" change:
P
I didn't that manually so it's possible, that it comes with a plugin.
I found the plugin - attachmentmassdeletecontrol.php
I'll change it. At first I'll added the new line and kept the variable ... let's see ;-)
... I saw, that the plugin deletes the "new" line :-(
p.e. usercp_attachments_attachments - original / plugin is deactivated:
PHP
plugin is activated:
Die Meldung wird wohl immer genau 100x mit einem Zeitstempel ausgegeben. Heute hatte ich das bisher 1x, also 100x die Warnung, gestern waren es 2x, also 2x 100x die Warnung - allerdings nur mit 6s Abstand ...
da das Problem noch besteht, beschreibe ich es hier nochmal ausführlich.
Fehlermeldung (Warnung):
PHP-Code:
<error>
<dateline>1761454970</dateline>
<script>usercp.php(4019) : eval()'d code</script>
<line>7</line>
<type>2</type>
<friendly_type>Warning</friendly_type>
<message>Undefined variable $select_bit</message>
<back_trace>#0 errorHandler->error() called at [/inc/class_error.php:157]
#1 errorHandler->error_callback() called at [/usercp.php(4019) : eval()'d code:7]
#2 eval() called at [/usercp.php:4019]
</back_trace>
</error>
the line 4019 in usercp is
Code:
eval("\$attachments .= \"".$templates->get("usercp_attachments_attachment")."\";");usercp_attachments
usercp_attachments_attachments
where changes. This new line is missing:
Code:
<td class="{$altbg}" width="1"><input type="checkbox" class="checkbox" name="attachments[{$attachment['aid']}]" value="{$attachment['aid']}" /></td>Code:
{$select_bit}I found the plugin - attachmentmassdeletecontrol.php
I'll change it. At first I'll added the new line and kept the variable ... let's see ;-)
... I saw, that the plugin deletes the "new" line :-(
p.e. usercp_attachments_attachments - original / plugin is deactivated:
Code:
<tr>
<td class="{$altbg}" width="1">{$icon}</td>
<td class="{$altbg}" width="40%"><a href="attachment.php?aid={$attachment['aid']}" target="_blank">{$attachment['filename']}</a><br /><span class="smalltext">{$sizedownloads}</span></td>
<td class="{$altbg}"><a href="{$attachment['postlink']}#pid{$attachment['pid']}">{$attachment['subject']}</a><br /><span class="smalltext">{$lang->attachment_thread} <a href="{$attachment['threadlink']}">{$attachment['threadsubject']}</a></span></td>
<td class="{$altbg}" align="center">{$attachdate}</td>
<td class="{$altbg}" width="1"><input type="checkbox" class="checkbox" name="attachments[{$attachment['aid']}]" value="{$attachment['aid']}" /></td>
</tr>PHP
Code:
<tr>
<td class="{$altbg}" width="1">{$icon}</td>
<td class="{$altbg}" width="40%"><a href="attachment.php?aid={$attachment['aid']}" target="_blank">{$attachment['filename']}</a><br /><span class="smalltext">{$sizedownloads}</span></td>
<td class="{$altbg}"><a href="{$attachment['postlink']}#pid{$attachment['pid']}">{$attachment['subject']}</a><br /><span class="smalltext">{$lang->attachment_thread} <a href="{$attachment['threadlink']}">{$attachment['threadsubject']}</a></span></td>
<td class="{$altbg}" align="center">{$attachdate}</td>
{$select_bit}
</tr>Die Meldung wird wohl immer genau 100x mit einem Zeitstempel ausgegeben. Heute hatte ich das bisher 1x, also 100x die Warnung, gestern waren es 2x, also 2x 100x die Warnung - allerdings nur mit 6s Abstand ...
PHP Version 8.3.27 (Stand 11/2025)
MySQLi Version 8.0.36 (Stand 09/2024)
Mybb Version 1.8.39 (Stand 07/2025)
Grüße, André
MySQLi Version 8.0.36 (Stand 09/2024)
Mybb Version 1.8.39 (Stand 07/2025)
Grüße, André
