Member-only story
2 min readJan 1, 2021
CI4 launches web development app only on its current release and rework — refactor set on the stage. On Docker environment it’s OK up until an error stack trace is cast.
docker pull veritus4/lamp-docker:php-mysql
is the latest version of more or less standard — compared to other LAMP provision packs in the market — open SUSE based image.
The point is that
docker container exec -it 9ee22a6ebdce /bin/bash
php spark spotify:grant
is passed and then
php spark spotify:access
is triggering erroneous behavior:
CodeIgniter CLI Tool - Version 4.0.0-rc.3 - Server-Time: 2021-01-01 14:40:06pmA starter pack is launching track set
Access token: BQDgnOI3ofYj4Ab6zcpD9BqrSGPjyw2z8ovGaBKJJ_rTRgerLCilvh-16J8JAwM7uKJZpb8WrAEu5bga6es
Getting playlist info
An uncaught Exception was encounteredType: ErrorException
Message: Array and string offset access syntax with curly braces is deprecated
Filename: /srv/www/vhosts/ci4/system/Entity.php
Line Number: 605
It is obvious that this PHP versions, available in virtual Docker container — machine are limited to PHP7, whereas the CI4 framework is requiring adapted non deprecation errors casting behavior and versions — CI4 is referencing MVC.