Upgrading to version 19.04 - PHP syntax error page__data.inc

I’ve had a stable version of webpagetest running for 2 years now. Currently the server runs version 17.12. Using the same method to build a server using 19.04 yields this error in the apache logs - PHP Parse error: syntax error, unexpected ‘[’ in /var/www/html/webpagetest/www/page_data.inc on line 481.

Having a hard time finding a solution. Have any of the dependancies changed?

Thanks in advance.

Looks like it has to do with the new heroTimings feature. What version of PHP are you on?