Skip to content

Fatal errors - userposts.php - IMODE is not defined #4966

Closed
@Jimmi08

Description

@Jimmi08

Bug Description

userposts.php?0.forums.1

- Fatal error: Uncaught Error: Undefined constant "IMODE" in ***\userposts.php:238 Stack trace: #0 {main} thrown in C:*** userposts.php on line 238

There is no check if forum plugin is installed either, if this url is used

Fatal error: Uncaught Error: Failed opening required './e107_plugins/forum/forum_class.php' (include_path='.;C:\xampp\php\PEAR') in ***\userposts.php:129 Stack trace: #0 {main} thrown in ***\userposts.php on line 129
Suggestion:
this output should be managed by some method in e_user addon, not directly coded in this file.

PHP 8,1
e107 2.3.3 (maybe 2 weeks old)

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugA problem that should not be happening

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions