Jump to content

PHP Fatal Error when posting


SystemShock

Recommended Posts

Hi

Since upgrading to version 4.1.10 anybody on my site who tries to create a new topic or reply to an existing topic gets an internal server error.

Here is what appears in my apache error logs,

[Tue Apr 19 09:18:50 2016] [error] [client 41.0.151.x] PHP Fatal error:  Can't use function return value in write context in /home/www/xxxx/web/forums/system/Text/HtmlPurifierInternalLinkDef.php on line 70, referer: http://www.systemshock.co.za/forums/topic/39526-funny-videos-part-2/

 

Line 70-74 contains the following.

if ( empty( array_diff( $requiredQueryString, $queryString ) ) )
                            {
                                    $isOkay = TRUE;
                                    break;
                            }

 

Has anybody else experienced this?

I'm running php 5.4.45-0+deb7u2 and apache 2.2.22-13+deb7u6

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...