Skip to main content
Topic: Errors in Message.subs.php file (Read 1296 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Errors in Message.subs.php file

Hi
Errors Undefined offset: -1 Undefined index: messages Undefined index: unread_messages : all these erors are with Message.subs.php file.

    augras
    Jeudi 26 Avril 2018, 08:11:08
    90.78.91.6

    V1BYlnwZKUWwSxwzuwO6t7eu3PozNCVK
    Type d'erreur: Non défini
    Notice: Undefined offset: -1

    https://augras.eu/puppy_forum/index.php?action=pm

    Fichier: /home/augras/public_html/augras.eu/puppy_forum/sources/subs/PersonalMessage.subs.php
    Ligne: 90

    augras
    Vendredi 27 Avril 2018, 14:51:08
    143.126.203.251

    RZYZ3XVWIC3TZI1yaLIEidJYo2SDjiNy
    Type d'erreur: Non défini
    Notice: Undefined index: messages

    https://augras.eu/puppy_forum/index.php?action=pm

    Fichier: /home/augras/public_html/augras.eu/puppy_forum/sources/subs/PersonalMessage.subs.php
    Ligne: 90

    augras
    Mercredi 02 Mai 2018, 20:05:38
    90.78.91.6

    ynQQpNPJi4RKPL7PNavmFxnl43wDJfmM
    Type d'erreur: Non défini
    Notice: Undefined index: unread_messages

    https://augras.eu/puppy_forum/index.php?action=pm

    Fichier: /home/augras/public_html/augras.eu/puppy_forum/sources/subs/PersonalMessage.subs.php
    Ligne: 94

Code: [Select]
90:$labels[(int) $this_label]['messages'] += $row['num'];
91:
92: if (!($row['is_read'] & 1))
93:{
94: $labels[(int) $this_label]['unread_messages'] += $row['num'];

Philippe

EDIT1
In the same file there ise also a Undefined:id error line 400
Code: [Select]
400:$context['labels'][(int) $label['id']]['unread_messages'] = 0;
    augras
    Mercredi 02 Mai 2018, 20:05:44
    90.78.91.6

    ynQQpNPJi4RKPL7PNavmFxnl43wDJfmM
    Type d'erreur: Non défini
    Notice: Undefined index: id

    https://augras.eu/puppy_forum/index.php?action=pm;pmid=8;kstart;f=inbox;start=0;sort=date;desc

    Fichier: /home/augras/public_html/augras.eu/puppy_forum/sources/subs/PersonalMessage.subs.php
    Ligne: 400
Philippe
Last Edit: May 05, 2018, 06:16:30 am by augras