Trying this process again.
With existing database:
1 - backup home directory on shared host w/ cPanel
2 - remove all 2.1.1 code, folders and all
3 - update php version to 7.4 using MultiPHPManager and PHP Selector
4 - copy setup-master.zip to shared host, extract and move files to root folder
5 - set permissions on files to 777
6 - browse to siteroot/setup.php and follow the prompts: Continue / Accept license and proceed / complete fields for database settings / Next step
7 - Out-of-date TastyIgniter v2 found / Continue
8 - Fresh: No theme or extensions / Downloading core / Extracting core / Writing config (Error Trying to access……) / Finishing Install (Error Trying to access …….)
Detail of error follows:
[2020/12/03 01:44:01] => Foundation setup: writeConfig
[2020/12/02 07:44:02] => Handler error (onInstall): Trying to access array offset on value of type null
[2020/12/02 07:44:02] => Trace log:
#0 /home/rdqbbq/public_html/setup/classes/SetupController.php(650): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8, ‘Trying to acces…’, ‘/home/rdqbbq/pu…’, 650, Array)
#1 /home/rdqbbq/public_html/setup/classes/SetupController.php(231): SetupController->rewriteConfigFiles()
#2 /home/rdqbbq/public_html/setup/classes/SetupController.php(264): SetupController->onInstall()
#3 /home/rdqbbq/public_html/setup/classes/SetupController.php(27): SetupController->execPostHandler()
#4 /home/rdqbbq/public_html/setup/bootstrap.php(63): SetupController->__construct()
#5 /home/rdqbbq/public_html/setup.php(1): include_once(‘/home/rdqbbq/pu…’)
#6 {main}
[2020/12/03 01:44:03] => .============================ POST REQUEST ==========================.
[2020/12/03 01:44:03] => Postback payload: Array
(
[disableLog] => 1
)
[2020/12/03 01:44:03] => Foundation setup: finishInstall
[2020/12/02 07:44:03] => Handler error (onInstall): Trying to access array offset on value of type null
[2020/12/02 07:44:03] => Trace log:
#0 /home/rdqbbq/public_html/setup/classes/SetupController.php(576): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8, ‘Trying to acces…’, ‘/home/rdqbbq/pu…’, 576, Array)
#1 /home/rdqbbq/public_html/setup/classes/SetupController.php(460): SetupController->setSeederProperties(NULL)
#2 /home/rdqbbq/public_html/setup/classes/SetupController.php(236): SetupController->completeSetup()
#3 /home/rdqbbq/public_html/setup/classes/SetupController.php(264): SetupController->onInstall()
#4 /home/rdqbbq/public_html/setup/classes/SetupController.php(27): SetupController->execPostHandler()
#5 /home/rdqbbq/public_html/setup/bootstrap.php(63): SetupController->__construct()
#6 /home/rdqbbq/public_html/setup.php(1): include_once(‘/home/rdqbbq/pu…’)
#7 {main}
Why does this error occur. I am resorting to copying my database to a local linux box to upgrade the database and then restore it back to the production site. Workaround, but what a pain!