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

phalcon 2 : func_get_arg(): Argument 2 not passed to function

Hello

Plz I need some help

a while ago I installed Phalcon version 1.3 and was able to programming without any problems. After a while I update the program to version 2.0.0 and thwn I get this Error message:

func_get_arg(): Argument 2 not passed to function

Moreover, using forms when you write somethings wrong and you get back to firstpage, then the page's Csrf disappears and an error message comes up

Thx

/Regards Belal



34.6k
Accepted
answer

Are you using gettext?

Could you please compile from the 2.0.x branch?

cd cphalcon
git checkout 2.0.x
cd ext
sudo ./install

I using Windows and xampp

Did you install gcc, make, libtool, automake, etc?

I solve my problem now with NativeArray

But my problem is not solved with csrf

How to solve it?

Could you please post the code that allow us to reproduce the issue of csrf?

Thank you very much