Description
Expected and Actual Behavior
Describe what you are trying to achieve and what goes wrong.
Fetching record from table. Works on 3.2.12.
Provide output if related
PHP Fatal error: Uncaught Error: Access to undeclared static property: NewMigration_101::$_connection in /var/www/html/test-api/app/migrations/1.0.1/new.php:80
Provide minimal script to reproduce the issue
if (!self::$_connection->fetchOne(
"SELECT * FROM test WHERE name LIKE :name",
\Phalcon\Db::FETCH_ASSOC,
[
"name" => $name,
])) {
Details
-
System info and versions (if possible): (
phalcon info
)
Phalcon DevTools (3.4.0)
Environment:
OS: Linux 6801fde352f6 4.9.0-6-amd64 Easier installation on Linux and OSX #1 SMP Debian 4.9.82-1+deb9u3 (2018-03-02) x86_64
PHP Version: 7.0.27-1+ubuntu16.04.1+deb.sury.org+1
PHP SAPI: cli
PHP Bin: /usr/bin/php7.0
PHP Extension Dir: /usr/lib/php/20151012
PHP Bin Dir: /usr/bin
Loaded PHP config: /etc/php/7.0/cli/php.ini
Versions:
Phalcon DevTools Version: 3.4.0
Phalcon Version: 3.3.1
AdminLTE Version: 2.3.6 -
Phalcon Framework version: (
php --ri phalcon
)
Version => 3.3.1 -
PHP Version: (
php -v
)
PHP 7.0.27-1 -
Operating System:
Linux version 4.9.0-6-amd64 ([email protected]) (gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1) ) Easier installation on Linux and OSX #1 SMP Debian 4.9.82-1+deb9u3 (2018-03-02) -
Server: Nginx | Apache | Other
Server version: Apache/2.4.18 (Ubuntu)