Upgrading to latest git

Having trouble installing serendipity?
Post Reply
User avatar
Don Chambers
Regular
Posts: 3607
Joined: Mon Feb 13, 2006 3:40 am
Location: Chicago, IL, USA
Contact:

Upgrading to latest git

Post by Don Chambers » Wed Apr 25, 2018 4:28 am

Code: Select all

Fatal error: Can't use function return value in write context in /home/content/15/4055115/html/plugins/serendipity_event_nl2br/serendipity_event_nl2br.php on line 697
I don't often use the latest git version..... I tried uploading the latest snapshot. It is very late in my time zone, so any assistance on this is appreciated when I wake up tomorrow!

User avatar
Don Chambers
Regular
Posts: 3607
Joined: Mon Feb 13, 2006 3:40 am
Location: Chicago, IL, USA
Contact:

Re: Upgrading to latest git

Post by Don Chambers » Wed Apr 25, 2018 4:04 pm

The offending line 697 is this:

Code: Select all

		//check for empty content
		if (empty(trim($textstring))) { return $textstring; }

User avatar
onli
Regular
Posts: 2146
Joined: Tue Sep 09, 2008 10:04 pm
Contact:

Re: Upgrading to latest git

Post by onli » Fri Apr 27, 2018 6:07 pm

Which PHP version are you using?

Post Reply