We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Micro application error

Hello, help me.

I use the example of your documentation -> v1.2.1 -> Tutorial 3: Creating a Simple REST API Did everything exactly as you have.

in return I get an error:

Warning: no array or string given in /usr/local/www/apache22/data/my-rest-api/index.php on line 186

line 186: $app->handle();

Version PHP: 5.4.7 Phalcon version: 1.2.1 OS: FreeBSD 9.1

What's the problem? sorry for the english, I'm from Russia.



432

i installed php version 5.3 and 1.2.3 phalcon. the problem is gone Thanks!



98.9k