object(ArgumentCountError)#1922 (7) { ["message":protected]=> string(163) "Too few arguments to function posts_get_related(), 0 passed in /var/www/fold.lv/html/themes/fold/controllers/event.controller.php on line 24 and exactly 2 expected" ["string":"Error":private]=> string(0) "" ["code":protected]=> int(0) ["file":protected]=> string(47) "/var/www/fold.lv/html/themes/fold/functions.php" ["line":protected]=> int(476) ["trace":"Error":private]=> array(8) { [0]=> array(3) { ["file"]=> string(66) "/var/www/fold.lv/html/themes/fold/controllers/event.controller.php" ["line"]=> int(24) ["function"]=> string(17) "posts_get_related" } [1]=> array(4) { ["file"]=> string(44) "/var/www/fold.lv/html/themes/fold/helper.php" ["line"]=> int(422) ["args"]=> array(1) { [0]=> string(66) "/var/www/fold.lv/html/themes/fold/controllers/event.controller.php" } ["function"]=> string(7) "include" } [2]=> array(5) { ["file"]=> string(44) "/var/www/fold.lv/html/themes/fold/router.php" ["line"]=> int(21) ["function"]=> string(10) "controller" ["class"]=> string(11) "ThemeHelper" ["type"]=> string(2) "->" } [3]=> array(3) { ["file"]=> string(61) "/var/www/fold.lv/html/wordpress/wp-includes/class-wp-hook.php" ["line"]=> int(308) ["function"]=> string(15) "template_router" } [4]=> array(5) { ["file"]=> string(54) "/var/www/fold.lv/html/wordpress/wp-includes/plugin.php" ["line"]=> int(205) ["function"]=> string(13) "apply_filters" ["class"]=> string(7) "WP_Hook" ["type"]=> string(2) "->" } [5]=> array(3) { ["file"]=> string(63) "/var/www/fold.lv/html/wordpress/wp-includes/template-loader.php" ["line"]=> int(104) ["function"]=> string(13) "apply_filters" } [6]=> array(4) { ["file"]=> string(50) "/var/www/fold.lv/html/wordpress/wp-blog-header.php" ["line"]=> int(19) ["args"]=> array(1) { [0]=> string(63) "/var/www/fold.lv/html/wordpress/wp-includes/template-loader.php" } ["function"]=> string(12) "require_once" } [7]=> array(4) { ["file"]=> string(31) "/var/www/fold.lv/html/index.php" ["line"]=> int(19) ["args"]=> array(1) { [0]=> string(50) "/var/www/fold.lv/html/wordpress/wp-blog-header.php" } ["function"]=> string(7) "require" } } ["previous":"Error":private]=> NULL }