Skip to:
Content

Opened 2 years ago

Closed 2 years ago

Last modified 21 months ago

#3053 closed defect (fixed)

Fatal error when replying to a spammed topic on PHP 7.1.1

Reported by: SergeyBiryukov Owned by: johnjamesjacoby
Milestone: 2.6 Priority: normal
Severity: normal Version:
Component: Component - Replies Keywords: has-patch commit
Cc:

Description

Getting an error when replying to a spammed topic on a PHP 7.1.1 install:

Fatal error: Uncaught Error: [] operator not supported for strings in bbpress/includes/replies/functions.php:462

Attachments (1)

3053.patch (1008 bytes) - added by SergeyBiryukov 2 years ago.

Download all attachments as: .zip

Change History (4)

@SergeyBiryukov
2 years ago

#1 @SergeyBiryukov
2 years ago

Related: #3031

Last edited 2 years ago by SergeyBiryukov (previous) (diff)

#2 @johnjamesjacoby
2 years ago

  • Owner set to johnjamesjacoby
  • Resolution set to fixed
  • Status changed from new to closed

In 6360:

Trash: Cast _pre_ post-meta values to an array.

Prevents notices & warnings in the event 0 or 1 replies exist.

Props SergeyBiryukov. Fixes #3053.

#3 @netweb
21 months ago

In 6416:

Trash: Cast _pre_ post-meta values to an array.

Prevents notices & warnings in the event 0 or 1 replies exist.

Props SergeyBiryukov.
See #3053.
Merges [6360] to the 2.5 branch.

Note: See TracTickets for help on using tickets.