Phalcon Framework 3.4.1

ArgumentCountError: Too few arguments to function Site\Controllers\ProductController::indexAction(), 0 passed and exactly 1 expected

/home/admin/www/glazik/app/Site/Controllers/ProductController.php (24)
#0Site\Controllers\ProductController->indexAction()
#1Phalcon\Dispatcher->callActionMethod(Object(Site\Controllers\ProductController), indexAction, Array())
#2Phalcon\Dispatcher->dispatch()
#3Phalcon\Mvc\Application->handle()
/home/admin/www/glazik/public/index.php (28)
<?php
 
use \Phalcon\Debug,
    \Phalcon\Config as ConfigAdapter,
    \Phalcon\Mvc\Application;
 
setlocale(LC_ALL, 'uk_RU.UTF-8');
date_default_timezone_set('Europe/Kiev');
error_reporting(E_ALL);
ini_set('display_errors', 1);
 
require_once 'defines.php';
 
(new Debug())->listen();
 
try {
 
    $config = new ConfigAdapter(require_once CONFIG_PATH);
 
    $application = new Application();
 
    require_once CONFIG_DIR . BS . 'loader.php';
    require_once CONFIG_DIR . BS . 'services.php';
    require_once CONFIG_DIR . BS . 'modules.php';
 
    $application->setDI($di);
 
    echo $application->handle()->getContent();
} catch (\Phalcon\Exception $e) {
    echo $e->getMessage(), '<br>';
    echo nl2br(htmlentities($e->getTraceAsString()));
} catch (Exception $e) {
    echo $e->getMessage(), '<br>';
    echo nl2br(htmlentities($e->getTraceAsString()));
} catch (PDOException $e){
    echo $e->getMessage();
}
KeyValue
_url/product/1day-trueye/
KeyValue
USERwww-data
HOME/var/www
HTTP_ACCEPT_ENCODINGgzip
HTTP_CONNECTIONKeep-Alive
HTTP_HOSTglazik.com.ua
HTTP_ACCEPT_LANGUAGEen-US,en;q=0.5
HTTP_ACCEPTtext/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_USER_AGENTCCBot/2.0 (https://commoncrawl.org/faq/)
APPLICATION_ENVproduction
SCRIPT_FILENAME/home/admin/www/glazik/public/index.php
PATH_INFO
REDIRECT_STATUS200
SERVER_NAMEwww.glazik.com.ua
SERVER_PORT80
SERVER_ADDR192.168.225.102
REMOTE_PORT53592
REMOTE_ADDR34.236.38.146
SERVER_SOFTWAREnginx/1.14.0
GATEWAY_INTERFACECGI/1.1
REQUEST_SCHEMEhttp
SERVER_PROTOCOLHTTP/1.1
DOCUMENT_ROOT/home/admin/www/glazik/public
DOCUMENT_URI/index.php
REQUEST_URI/product/1day-trueye/
SCRIPT_NAME/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHODGET
QUERY_STRING_url=/product/1day-trueye/
FCGI_ROLERESPONDER
PHP_SELF/index.php
REQUEST_TIME_FLOAT1566488927.7706
REQUEST_TIME1566488927
#Path
0/home/admin/www/glazik/public/index.php
1/home/admin/www/glazik/public/defines.php
2/home/admin/www/glazik/app/Common/Config/config.production.php
3/home/admin/www/glazik/app/Common/Config/loader.php
4/home/admin/www/glazik/vendor/autoload.php
5/home/admin/www/glazik/vendor/composer/autoload_real.php
6/home/admin/www/glazik/vendor/composer/ClassLoader.php
7/home/admin/www/glazik/vendor/composer/autoload_namespaces.php
8/home/admin/www/glazik/vendor/composer/autoload_psr4.php
9/home/admin/www/glazik/vendor/composer/autoload_classmap.php
10/home/admin/www/glazik/vendor/composer/autoload_files.php
11/home/admin/www/glazik/vendor/symfony/polyfill-mbstring/bootstrap.php
12/home/admin/www/glazik/vendor/guzzlehttp/psr7/src/functions_include.php
13/home/admin/www/glazik/vendor/guzzlehttp/psr7/src/functions.php
14/home/admin/www/glazik/vendor/guzzlehttp/promises/src/functions_include.php
15/home/admin/www/glazik/vendor/guzzlehttp/promises/src/functions.php
16/home/admin/www/glazik/vendor/guzzlehttp/guzzle/src/functions_include.php
17/home/admin/www/glazik/vendor/guzzlehttp/guzzle/src/functions.php
18/home/admin/www/glazik/vendor/clue/stream-filter/src/functions.php
19/home/admin/www/glazik/vendor/paragonie/random_compat/lib/random.php
20/home/admin/www/glazik/vendor/php-http/message/src/filters.php
21/home/admin/www/glazik/vendor/swiftmailer/swiftmailer/lib/swift_required.php
22/home/admin/www/glazik/vendor/swiftmailer/swiftmailer/lib/classes/Swift.php
23/home/admin/www/glazik/app/Common/Config/services.php
24/home/admin/www/glazik/app/Common/Config/modules.php
25/home/admin/www/glazik/app/Common/Routes/Site.php
26/home/admin/www/glazik/app/Common/Library/Helpers.php
27/home/admin/www/glazik/app/Common/Routes/WwwSiteMirror.php
28/home/admin/www/glazik/app/Common/Routes/Admin.php
29/home/admin/www/glazik/app/Common/Routes/Api.php
30/home/admin/www/glazik/app/Site/Module.php
31/home/admin/www/glazik/app/Common/Library/Site/WwwHandlers.php
32/home/admin/www/glazik/app/Common/Library/Site/HttpsHandlers.php
33/home/admin/www/glazik/app/Common/Library/Site/SeoHandlers.php
34/home/admin/www/glazik/app/Common/Library/Acl.php
35/home/admin/www/glazik/app/Common/Config/redirects.php
36/home/admin/www/glazik/app/Site/Controllers/ProductController.php
37/home/admin/www/glazik/app/Site/Controllers/ControllerBase.php
38/home/admin/www/glazik/app/Common/Library/I18n.php
39/home/admin/www/glazik/app/Common/I18n/ru.php
40/home/admin/www/glazik/app/Common/Library/Site/RecentlyViewed.php
41/home/admin/www/glazik/app/Common/Models/Categories.php
42/home/admin/www/glazik/app/Common/Models/ModelBase.php
Memory
Usage2097152