We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I try render piece of my code with Phalcon\Mvc\View\Simple. Like this
$view = new \Phalcon\Mvc\View\Simple(); $view->setDI($di); $view->setViewsDir($viewsDir); $view->registerEngines(static::registerEngines($view, $di)); $render = $view->render($path, $params);
and get error
Fatal error: Uncaught TypeError: Argument 2 passed to Fabfuel\Prophiler\Plugin\Phalcon\Mvc\ViewPlugin::beforeRenderView() must implement interface Phalcon\Mvc\ViewInterface, instance of Phalcon\Mvc\View\Simple given in Z:\OpenServer\domains\project\server\trunk\vendor\fabfuel\prophiler\src\Fabfuel\Prophiler\Plugin\Phalcon\Mvc\ViewPlugin.php:42 Stack trace: #0 [internal function]: Fabfuel\Prophiler\Plugin\Phalcon\Mvc\ViewPlugin->beforeRenderView(Object(Phalcon\Events\Event), Object(Phalcon\Mvc\View\Simple), 'Z:\\OpenServer\\d...') #1 [internal function]: Phalcon\Events\Manager->fireQueue(Object(SplPriorityQueue), Object(Phalcon\Events\Event)) #2 [internal function]: Phalcon\Events\Manager->fire('view:beforeRend...', Object(Phalcon\Mvc\View\Simple), 'Z:\\OpenServer\\d...') #3 [internal function]: Phalcon\Mvc\View\Simple->_internalRender('user_groups/mod...', Array) #4 Z:\OpenServer\domains\project\server\trunk\app\core\Helpers\ViewHelper.php(60): Phalcon\Mvc\View\Simple->render('user_groups/mod...', Array) #5 Z:\OpenServer\ in Z:\OpenServer\domains\project\server\trunk\vendor\fabfuel\prophiler\src\Fabfuel\Prophiler\Plugin\Phalcon\Mvc\ViewPlugin.php on line 42
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I try render piece of my code with Phalcon\Mvc\View\Simple.
Like this
and get error
The text was updated successfully, but these errors were encountered: