Opened 2 years ago

Closed 18 months ago

Last modified 18 months ago

#12731 closed Bug Report - General (fixed)

mythweb uses PHP7 deprecate split() function

Reported by: charles.bovy@… Owned by: Stuart Auchterlonie
Priority: minor Milestone: 0.28.1
Component: Plugin - MythWeb Version: Master Head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

Function split() is not available in PHP7 anymore, and being replaced by preg_split().

For instance used in: http://backend/mythweb/settings/mythweb/flvplayer stops while configuring flvplayer

but there are probably more places to replace deprecated functions. See patch for one occassion to get flvplayer working.

Attachments (2)

mythweb.patch (632 bytes) - added by charles.bovy@… 2 years ago.
0001-Remove-changed-some-deprecated-PHP7-functions.patch (15.3 KB) - added by charles.bovy@… 2 years ago.

Download all attachments as: .zip

Change History (7)

Changed 2 years ago by charles.bovy@…

Attachment: mythweb.patch added

comment:1 Changed 2 years ago by Stuart Auchterlonie

Milestone: unknown0.28.1
Owner: changed from Rob Smith to Stuart Auchterlonie
Status: newassigned
Version: UnspecifiedMaster Head

Patches welcome to fix any other occurances of the depreciated split() function.

comment:2 Changed 2 years ago by charles.bovy@…

Ran mythweb through php7cc to detect 'unsupported' code. Please find attached (draft) patch. To be evaluated and ready for testing. At least, this is fixing the FlowPlayer? functionality for me.

Changed 2 years ago by charles.bovy@…

comment:3 Changed 23 months ago by Stuart Auchterlonie

Type: Bug Report - Hang/DeadlockBug Report - General

comment:4 Changed 18 months ago by Charles Bovy <charles.bovy@…>

Resolution: fixed
Status: assignedclosed

In 42ea1a1d20fc2ca1cddac3f851b17d1c8cdda465/mythweb:

[mythweb] Remove/changed some deprecated PHP7 functions:

Fixes #12731

Signed-off-by: Stuart Auchterlonie <stuarta@…>

comment:5 Changed 18 months ago by Charles Bovy <charles.bovy@…>

In 7ed09ed8ed00e600a5336e571460f67034bdec6c/mythweb:

[mythweb] Remove/changed some deprecated PHP7 functions:

Fixes #12731

Signed-off-by: Stuart Auchterlonie <stuarta@…>
(cherry picked from commit 42ea1a1d20fc2ca1cddac3f851b17d1c8cdda465)

Note: See TracTickets for help on using tickets.