Seems I have been instructed to do the upgrade using the methods described in order to resolve a long-standing issue with migrating 2.1.1 data to 3.0.4-beta.22.2. Seems issues with the Pre-Order options not allowing customers to order before our open time may be caused by the migrate scripts I used to move data from the 2.1.1 format/structure to the 3.0.4-beta.22.2 format/structure.
Therefore I am embarking on a new path to upgrade my existing 2.1.1 site to 3.0.4-beta.22.2. These are the steps I have followed and the errors I have encountered:
1 - backup 2.1.1 database and restore to new mysql database (same server as web server so all settings remain the same except the db user and password)
2 - create new folder for TI installation - run chmod 777 -R newfoldername so that TI has write permission as required.
3 - point browser to server IP/newfoldername/setup.php and complete the setup pages. Server Requirements displays just fine.
4 - Accept license and proceed button takes me to Database Settings page: completing with existing db name and prefix along with new username and password seems to work as the installation takes me to the next page for selecting a theme to install. However, before displaying, a message box pops up stating, Out-of-date TastyIgniter v2 found. Clicking Continue button takes me to the Setup your site page.
5 - paste your carte key in the first field, Choose a pre-built theme takes me to selecting a theme.
6 - Install Theme begins the code execution of downloading and extracting the server files for TastyIgniter.
An error pops up after about 20 seconds stating “Trying to access array offset on value of type null”
Note, no migration statements displayed. No page asking for Site Details displayed.
And, this is the bottom of the setup.log file:
`[2020/08/31 04:58:18] => Foundation setup: writeConfig
[2020/08/30 09:58:18] => Handler error (onInstall): Trying to access array offset on value of type null
[2020/08/30 09:58:18] => Trace log:
#0 /opt/lampp/htdocs/rdqupg/setup/classes/SetupController.php(659): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8, ‘Trying to acces…’, ‘/opt/lampp/htdo…’, 659, Array)
#1 /opt/lampp/htdocs/rdqupg/setup/classes/SetupController.php(243): SetupController->rewriteConfigFiles()
#2 /opt/lampp/htdocs/rdqupg/setup/classes/SetupController.php(276): SetupController->onInstall()
#3 /opt/lampp/htdocs/rdqupg/setup/classes/SetupController.php(27): SetupController->execPostHandler()
#4 /opt/lampp/htdocs/rdqupg/setup/bootstrap.php(62): SetupController->__construct()
#5 /opt/lampp/htdocs/rdqupg/setup.php(1): include_once(‘/opt/lampp/htdo…’)
#6 {main}
[2020/08/31 04:58:18] => .============================ POST REQUEST ==========================.
[2020/08/31 04:58:18] => Postback payload: Array
(
[disableLog] => 1
)
[2020/08/31 04:58:18] => Foundation setup: finishInstall
[2020/08/30 09:58:19] => Handler error (onInstall): Trying to access array offset on value of type null
[2020/08/30 09:58:19] => Trace log:
#0 /opt/lampp/htdocs/rdqupg/setup/classes/SetupController.php(585): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8, ‘Trying to acces…’, ‘/opt/lampp/htdo…’, 585, Array)
#1 /opt/lampp/htdocs/rdqupg/setup/classes/SetupController.php(469): SetupController->setSeederProperties(NULL)
#2 /opt/lampp/htdocs/rdqupg/setup/classes/SetupController.php(248): SetupController->completeSetup()
#3 /opt/lampp/htdocs/rdqupg/setup/classes/SetupController.php(276): SetupController->onInstall()
#4 /opt/lampp/htdocs/rdqupg/setup/classes/SetupController.php(27): SetupController->execPostHandler()
#5 /opt/lampp/htdocs/rdqupg/setup/bootstrap.php(62): SetupController->__construct()
#6 /opt/lampp/htdocs/rdqupg/setup.php(1): include_once(‘/opt/lampp/htdo…’)
#7 {main}
And, admin page shows:
Object not found!
The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again. Multiple attempts using this method do not produce anything different.
7 - running php artisan igniter:up produces the following error after Migrated app Main: In UpdateRecordSeeder.php line 42: Undefined property: stdClass::$status_for.