Fatal error: Class 'Phalcon\\Http\\Client\\Request'
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: Error on request Fatal error: Class 'Phalcon\Http\Client\Request' not found in ControllerBase.php on line 41 use Phalcon \Http\Client\Request as CRequest ; $provider = CRequest :: getProvider (); $provider -> setBaseUri ( 'http://localhost/testing' ); 回答1: You will need to a copy of the incubator library files from the Phalcon/Incubator github. Download and copy all or just the HTTP directory to your /app/library/ folder. In your public/index.php, add $loader->registerNamespaces with the correct path to the incubator library.