python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Using variable with string for new class initialization
I need to initialize new class Safe with constructor call.
The way it works:
$paymentPortal = new Safe($order);
The way it doesnt:
$portal = 'Safe';
$paymentPortal = new $portal($order);
I get error...
SubjectX
Votes: 0
Answers: 2
502 Bad Gateway Error In Nginx using Phalcon and jQuery on submit
I'm having some trouble resolving a 502 error on an NGINX server using the Phalcon 4.0.x Framework. Specifically on forms that send Ajax data to the PHP controller. These do not seems to arrive, but t...
dovad
Votes: 0
Answers: 1
How to solve this error: Declaration error in Phalcon
When I run a simple project with Phalcon, It is Ok. But I'm going to run another Phalcon project that wrote by another person but I get an error: Fatal error: Declaration of Core\Config::toArray() mus...
Mohamad Shabihi
Votes: 0
Answers: 1
Fatal error: Uncaught Error: Class "Phalcon\Config" not found in Phalcon Php application
I installed Phalcon PHP version 5.0.0beta3 in my Ubuntu, because it's compatible with PHP 8.0, but when I run my application some Phalcon classes are not found, I already installed the psr module usin...
Zicato
Votes: 0
Answers: 1