Opened 7 years ago

Closed 7 years ago

#11277 closed Patch - Bug Fix (Fixed)

MythWeb cryptic PHP Warning: Unknown: function '0' not found or invalid function name in Unknown on line 0

Reported by: Anthony Messina <amessina@…> Owned by: Rob Smith
Priority: minor Milestone: unknown
Component: Plugin - MythWeb Version: 0.26-fixes
Severity: low Keywords: PHP 5.4
Cc: Ticket locked: no

Description

This ticket is somewhat related to 10504 as it pertains to PHP 5.4 changes. Even without the patch below, MythWeb has functioned without issue, except that for every click, I would get the following error in my Apache 2.2.22 logs, with PHP 5.4.8 on a Fedora 17 x86_64 machine:

PHP Warning:  Unknown: function '0' not found or invalid function name in Unknown on line 0

The attached patch may not be the true fix, but commenting out the lines related to output_handler does remove the errors from the Apache error log.

It also comments out php_value for items that are no longer present in PHP 5.4, such as safe_mode, register_globals, and magic_quotes_gpc.

Attachments (1)

mythweb-php54-unknown-function.patch (1.4 KB) - added by Anthony Messina <amessina@…> 7 years ago.
Patch to remove "PHP Warning: Unknown: function '0' not found or invalid function name in Unknown on line 0" in Apache error logs with PHP 5.4

Download all attachments as: .zip

Change History (3)

Changed 7 years ago by Anthony Messina <amessina@…>

Patch to remove "PHP Warning: Unknown: function '0' not found or invalid function name in Unknown on line 0" in Apache error logs with PHP 5.4

comment:1 Changed 7 years ago by udovdh@…

Patch helps remove the errors, also in my case. (see 10504 too)

comment:2 Changed 7 years ago by Rob Smith

Resolution: Fixed
Status: newclosed
Note: See TracTickets for help on using tickets.