Skip to content

Using phpbb 3.3.4 with php 8.0 Bug issue with Attachment images #5

@mrix2000

Description

@mrix2000

As the title suggests I am using the latest version of phpbb which is 3.3.4 yesterday I decided to update my server php to version 8.0 but today I noticed a bug whereby when approving a post with attachments the images did not show but they did when posted, I am not sure if this is relevant or not but when the images just showed as links I clicked on them to get the error message below...

[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/content_visibility.php on line 153: Undefined array key "topic_poster"
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/content_visibility.php on line 153: Undefined array key "poster_id"
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 1914: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3009)

I then decided to revert back to php 7.4 and the images once again appeared within the post approval page and when fully posted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions