Rob d
V4.9.1 php error
March 09, 2017 03:02AM

After updating to 4.9.1 from 4.8.0 on one of my sites, I get this fatal error:

[09-Mar-2017 04:48:44 UTC] PHP Parse error:  syntax error, unexpected '[', expecting ')' in /home/****/public_html/sites/all/libraries/htmlpurifier/library/HTMLPurifier/Lexer.php on line 353

I reuploaded the files and same error. Went back to 4.8.0 and problem disappeared.

Any ideas?

Re: V4.9.1 php error
March 09, 2017 03:05AM

Yes, known issue. The PHP 5.3 regression is fixed in trunk, so if you use a copy from Git HEAD that will also solve the problem. Or hang tight until we do another release (I will probably wait a little bit before then though.)

Rob d
Re: V4.9.1 php error
March 09, 2017 12:56PM

Thanks, the GIT version seems to have fixed the problem. I will watch for the next release.

Sorry, you do not have permission to post/reply in this forum.