https://flarum.org/docs/install.html
Current Behavior
Flarum beta 10, 11 (or all...?) not support in PHP 7.4.1
Steps to Reproduce
- Using PHP 7.4.1.
composer create-project flarum/flarum . --stability=beta
or
composer create-project flarum/flarum:v0.1.0-beta.10 . --stability=beta- Set all about site setting (httpd-vhosts.conf, httpd.conf).
- Open the browser, and get the ERROR:
Notice: Trying to access array offset on value of type null in C:\xampp\htdocs\ft\vendor\illuminate\support\ServiceProvider.php on line 84 ...Full error like this:
Expected Behavior
If using PHP 7.3.6, the installer is work.

Environment
Output of "php flarum info", run this in terminal in your Flarum directory.
C:\xampp\htdocs\ft>php --version
PHP 7.4.1 (cli) (built: Dec 17 2019 19:24:02) ( ZTS Visual C++ 2017 x64 )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
C:\xampp\htdocs\ft>php flarum info
PHP Notice: Trying to access array offset on value of type null in C:\xampp\htdocs\ft\vendor\illuminate\support\ServiceProvider.php on line 84
Notice: Trying to access array offset on value of type null in C:\xampp\htdocs\ft\vendor\illuminate\support\ServiceProvider.php on line 84
Command "info" is not defined.
Nice catch, thanks for the report!!!
Can you try out this change and see whether that works? (You will find the appropriate files in the vendor/flarum/core directory.
It works, but...
Only for the installer page... xDDD
Here is error from Flarum installing:

Hell of "Trying to access array offset on value of type null"
It's seems like PHP 7.4 change and deprecation.
I tried refresh the page, and it is work so far.
I'm not sure if there are any hidden issues, but at least I have tried many of the core functions of the forums, and they are all normal.

Thanks for your help!!!
We will have to switch to another LESS library, it seems, but right now that's harder than I thought.
In the meantime - as a hack - can you add this line after the opening PHP tag of public/index.php?
~php
error_reporting(E_ALL ^ E_NOTICE);
~
I've sent a pull request to the Wikimedia less.php fork to add back support for PHP 7.1. Let's hope they accept this. :smile:
Okay, I hope this PR fixes all problems. :smiley:
Most helpful comment
Okay, I hope this PR fixes all problems. :smiley: