Phalcon Framework 5.6.1

ParseError: Unclosed '{' on line 49

/var/www/studyforyou.info/apps/cache/_var_www_studyforyou.info_apps_modules_frontend_views__components__speciality-item.volt.compiled (51)
#0Phalcon\Mvc\View\Engine\Volt->render
#1Phalcon\Mvc\View->engineRender
#2Phalcon\Mvc\View->partial
#3Phalcon\Mvc\View\Engine\AbstractEngine->partial
/var/www/studyforyou.info/apps/cache/_var_www_studyforyou.info_apps_modules_frontend_views_about-speciality-profile_item.volt.compiled (3)
<?php if (isset($popularSpecialities) && $popularSpecialities) { ?>
  <?php foreach ($popularSpecialities as $speciality) { ?>
    <?= $this->partial('_components/_speciality-item', ['speciality' => $speciality]) ?>
  <?php } ?>
<?php } else { ?>
  <div class="catalog-item row m-0 mb-lg-4 col-12">
    <div class="col-lg-12 col-12">
      <h5><b lang-key="content nothing_found"><?= (empty($t_content->nothing_found) ? (null) : ($t_content->nothing_found)) ?>За вашим запитом нічого не знайдено</b></h5>
      <p lang-key="content another_search"><?= (empty($t_content->another_search) ? (null) : ($t_content->another_search)) ?>Виконайте пошук з іншими фільтрами</a></p>
    </div>
  </div>
<?php } ?>
#4Phalcon\Mvc\View\Engine\Volt->render
#5Phalcon\Mvc\View->engineRender
#6Phalcon\Mvc\View->partial
#7Phalcon\Mvc\View\Engine\AbstractEngine->partial
/var/www/studyforyou.info/apps/cache/_var_www_studyforyou.info_apps_modules_frontend_views_about-speciality-profile_index.volt.compiled (154)
<div id="about-speciality-app">
  <div style="display: none;" id="language_code"><?= $language ?></div>
 
  <?= $this->partial('layouts/header') ?>
 
  <div class="header-container about-speciality-header" <?php if (isset($aboutSpeciality['banner'])) { ?>style="background-image: url(<?= $aboutSpeciality['banner'] ?>)"<?php } ?>>
    <div class="shadow-bg">
      <?= $this->partial('layouts/sidebar') ?>
 
      <div class="row wrapper-1200 header-content">
        <div class="col-lg-12 col-md-12">
          <div class="mt-4 title">
            <h1 class="text-center"><?= $aboutSpeciality['title'] ?></h1>
            <div class="row mt-3">
              <div class="col-lg-12 col-md-12 text-center description-block">
                <span style="margin-left:5px;"><?= $aboutSpeciality['science'] ?></span>
                &nbsp;&nbsp;&nbsp;&nbsp;
                <i class="fas fa-graduation-cap" style="margin-top:-3px;"></i>
                <span style="margin-left:5px;"><?= $aboutSpeciality['study_levels'] ?></span>
              </div>
              <div class='wbnz-social-share-button' data-webynize-id='10101'></div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
  <div class="wrapper-1200">
    <div class="pr-4 pl-4 pt-2 pb-2 m-3 navigation" style="margin-bottom: 30px !important;">
      <?= $this->partial('layouts/breadcrumbs') ?>
    </div>
    <div class="content records-catalog row">
      <div class="col-lg-3 col-md-3 col-sm-12 col-xs-12 left-sidebar desktop-lg">
        <ul class="info-menu-navigation">
          <li><span data-link="#for-whom" class="nav-link-item" lang-key="content about_speciality"><i class="fa fa-chevron-right"></i> <?= (empty($t_content->for_whom) ? (null) : ($t_content->for_whom)) ?></span></li>
          <li><span data-link="#about-speciality" class="nav-link-item" lang-key="content about_speciality"><i class="fa fa-chevron-right"></i> <?= (empty($t_content->about_speciality) ? (null) : ($t_content->about_speciality)) ?></span></li>
          <li><span data-link="#specializations" class="nav-link-item" lang-key="content specialities_on_direction"><i class="fa fa-chevron-right"></i> <?= (empty($t_content->specialities_on_direction) ? (null) : ($t_content->specialities_on_direction)) ?></span></li>
          <?php if (isset($directionJobs)) { ?>
            <li><span data-link="#about-work" class="nav-link-item" lang-key="content where_can_work"><i class="fa fa-chevron-right"></i> <?= (empty($t_content->where_can_work) ? (null) : ($t_content->where_can_work)) ?></span></li>
          <?php } ?>
          <?php if (isset($popularSpecialities) && $popularSpecialities) { ?>
            <li style="text-transform:uppercase;"><span data-link="#popular-proposals" class="nav-link-item" lang-key="content popular_offers"><i class="fa fa-chevron-right"></i> <?= (empty($t_content->popular_offers) ? (null) : ($t_content->popular_offers)) ?></span></li>
          <?php } ?>
        </ul>
        <?= $this->partial('layouts/facebook') ?>
      </div>
      <div class="col-lg-3 col-md-3 col-sm-12 col-xs-12 left-sidebar mobile-lg-block">
        <ul class="info-menu-navigation mt-3">
          <li>
            <span data-link="#for-whom" class="nav-link-item" lang-key="content for_whom"><?= (empty($t_content->for_whom) ? (null) : ($t_content->for_whom)) ?></span>
          </li>
          <li>
            <span data-link="#about-speciality" class="nav-link-item" lang-key="content about_speciality"><?= (empty($t_content->about_speciality) ? (null) : ($t_content->about_speciality)) ?></span>
          </li>
          <li>
            <span data-link="#specializations" class="nav-link-item" lang-key="content specialities_on_direction"><?= (empty($t_content->specialities_on_direction) ? (null) : ($t_content->specialities_on_direction)) ?></span>
          </li>
          <li>
            <span data-link="#about-work" class="nav-link-item" lang-key="content where_can_work"><?= (empty($t_content->where_can_work) ? (null) : ($t_content->where_can_work)) ?></span>
          </li>
          <?php if (isset($directionJobs)) { ?>
            <li style="text-transform:uppercase;">
              <span data-link="#study-proposals" class="nav-link-item" lang-key="content study_offers"><?= (empty($t_content->study_offers) ? (null) : ($t_content->study_offers)) ?></span>
            </li>
          <?php } ?>
          <?php if (isset($popularSpecialities) && $popularSpecialities) { ?>
            <li style="text-transform:uppercase;">
              <span data-link="#popular-proposals" class="nav-link-item" lang-key="content popular_offers"><?= (empty($t_content->popular_offers) ? (null) : ($t_content->popular_offers)) ?></span>
            </li>
          <?php } ?>
        </ul>
      </div>
      <div class="catalog col-lg-9 col-md-9 col-sm-12 col-xs-12">
        <div class="row m-0 mb-lg-4">
          <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 p-0">
            <div id="for-whom" class="info-block">
              <p class="info-title" lang-key="content interested_in_for"><?= (empty($t_content->interested_in_for) ? (null) : ($t_content->interested_in_for)) ?></p>
              <span><?= $aboutSpeciality['direction_for'] ?></span>
              <i class="fa fa-chevron-down info-arrow"></i>
            </div>
            <div id="about-speciality" class="info-block">
              <p class="info-title" lang-key="content details_about"><?= (empty($t_content->details_about) ? (null) : ($t_content->details_about)) ?> <?= $aboutSpeciality['title'] ?></p>
              <span><?= $aboutSpeciality['description'] ?></span>
              <i class="fa fa-chevron-down info-arrow"></i>
            </div>
            <div id="specializations" class="info-block">
              <p class="info-title" lang-key="content available_specialities"><?= (empty($t_content->available_specialities) ? (null) : ($t_content->available_specialities)) ?> <?= $aboutSpeciality['title'] ?> <?= $aboutSpeciality['title'] ?></p>
              <span><?= $aboutSpeciality['about_directions'] ?></span>
              <div class="row mb-3">
                <?php if (isset($directionSpecialities)) { ?>
                  <?php foreach ($directionSpecialities as $directionSpeciality) { ?>
                  <div class="col-lg-6 col-md-6 work-item"><i class="fas fa-check"></i><?= $directionSpeciality->title ?></div>
                  <?php } ?>
                <?php } ?>
              </div>
              <i class="fa fa-chevron-down info-arrow"></i>
            </div>
            <?php if (isset($directionJobs)) { ?>
              <div id="about-work" class="info-block">
                <p class="info-title" lang-key="content employment_opportunities"><?= (empty($t_content->employment_opportunities) ? (null) : ($t_content->employment_opportunities)) ?></p>
                <span><?= $aboutSpeciality['job_description'] ?></span>
                <div class="row mt-3 mb-3">
 
                    <?php foreach ($directionJobs as $job) { ?>
                    <div class="col-lg-6 col-md-6 work-item"><i class="fas fa-check"></i><?= $job->title ?></div>
                    <?php } ?>
 
                </div>
                <i class="fa fa-chevron-down info-arrow"></i>
              </div>
            <?php } ?>
 
            <?php if (isset($popularSpecialities) && $popularSpecialities) { ?>
              <div class="wrapper-1200">
                <?php if (isset($language)) { ?>
                  <?= \Phalcon\Tag::hiddenField(['language', 'value' => $language, 'id' => 'lang']) ?>
                <?php } ?>
                <div class="about-speciality-popular-filters">
                  <form id="filter-form">
                    <div class="form-group">
                      <select class="form-control popular_city_id" name="city" @change="filterChange()">
                        <option value="" selected lang-key="filters city"><?= (empty($t_filters->city) ? (null) : ($t_filters->city)) ?></option>
                        <?php foreach ($cities as $city) { ?>
                          <option value="<?= $city->city_id ?>"><?= $city->title ?></option>
                        <?php } ?>
                      </select>
                    </div>
                    <div class="form-group">
                      <select class="form-control" id="languages" name="lang" @change="filterChange()">
                        <option value="" selected lang-key="filters language_teaching"><?= (empty($t_filters->language_teaching) ? (null) : ($t_filters->language_teaching)) ?></option>
                        <?php foreach ($languages as $lang) { ?>
                        <option value="<?= $lang->id ?>"><?= $lang->title ?></option>
                        <?php } ?>
                      </select>
                    </div>
                    <div class="form-group">
                      <select class="form-control" id="level" name="study_level" @change="filterChange()">
                        <option value="" selected lang-key="filters study_type"><?= (empty($t_filters->study_level) ? (null) : ($t_filters->study_level)) ?></option>
                        <?php foreach ($study_levels as $study_level) { ?>
                          <option value="<?= $study_level->id ?>"><?= $study_level->title ?></option>
                        <?php } ?>
                      </select>
                    </div>
                  </form>
                </div>
              </div>
 
 
 
              <div id="popular-proposals" class="info-block">
                <p class="info-title mt-3 mb-3" lang-key="content popular_education_offers"><?= (empty($t_content->popular_education_offers) ? (null) : ($t_content->popular_education_offers)) ?></p>
                <?= \Phalcon\Tag::hiddenField(['aboutSpecialityId', 'value' => $aboutSpecialityId, 'id' => 'aboutSpecialityId']) ?>
                <div class="row popular-specialities-block pr-2 pl-2">
                  <?= $this->partial('about-speciality-profile/item', ['popularSpecialities' => $popularSpecialities]) ?>
                </div>
              </div>
            <?php } ?>
          </div>
        </div>
      </div>
      <div class="col-sm-12 col-xs-12 left-sidebar mobile-lg-block text-center mb-5">
        <?= $this->partial('layouts/facebook') ?>
      </div>
    </div>
    
  </div>
      
  <?= $this->partial('layouts/select-university-modal') ?>
  
  <?= $this->partial('layouts/footer') ?>
</div>
#8Phalcon\Mvc\View\Engine\Volt->render
#9Phalcon\Mvc\View->engineRender
#10Phalcon\Mvc\View->processRender
#11Phalcon\Mvc\View->render
#12Phalcon\Mvc\Application->handle
/var/www/studyforyou.info/public/index.php (58)
<?php
//
use Phalcon\Mvc\Application;
use Phalcon\DI\FactoryDefault;
 
 
(new Phalcon\Support\Debug)->listen();
 
 
require_once __DIR__ . '/../vendor/autoload.php';
 
/**
 * The FactoryDefault Dependency Injector automatically register the right services providing a full stack framework
 */
$di = new FactoryDefault();
 
$dotenv = Dotenv\Dotenv::createImmutable(__DIR__);
$dotenv->load();
 
if($_ENV['ENVIRONMENT'] == 'local'){
    ini_set('display_errors', 1);
    ini_set('display_startup_errors', 1);
    ini_set('error_reporting', E_ALL & ~E_NOTICE);
    error_reporting(E_ALL & ~E_NOTICE);
} else {
    ini_set('display_errors', 0);
}
 
try {
 
 
    /**
     * Include services
     */
    $config = require __DIR__ . "/../apps/config/config.php";
 
 
    require_once __DIR__ . '/../apps/config/services.php';
 
    /**
     * Registering a router
     */
 
    require_once __DIR__ . "/../apps/config/routers.php";
 
 
    /**
     * Handle the request
     */
    $application = new Application($di);
 
 
    /**
     * Include modules
     */
    require_once __DIR__ . '/../apps/config/modules.php';
 
    $application->handle($_SERVER['REQUEST_URI'])->send();
 
 
} catch (\Exception $e) {
    echo $e->getMessage();
} catch (PDOException $e) {
    echo $e->getMessage();
}
 
KeyValue
_url/uk/about-speciality/kryminologia-v-polshchi-bs
KeyValue
USERwww-data
HOME/var/www
HTTP_HOSTstudyforyou.info
HTTP_ACCEPT_ENCODINGgzip, br, zstd, deflate
HTTP_USER_AGENTMozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_ACCEPT*/*
SCRIPT_FILENAME/var/www/studyforyou.info/public/index.php
PATH_INFO
REDIRECT_STATUS200
SERVER_NAMEstudyforyou.info
SERVER_PORT443
SERVER_ADDR54.37.235.116
REMOTE_PORT47000
REMOTE_ADDR216.73.216.131
SERVER_SOFTWAREnginx/1.18.0
GATEWAY_INTERFACECGI/1.1
HTTPSon
REQUEST_SCHEMEhttps
SERVER_PROTOCOLHTTP/1.1
DOCUMENT_ROOT/var/www/studyforyou.info/public
DOCUMENT_URI/index.php
REQUEST_URI/uk/about-speciality/kryminologia-v-polshchi-bs
SCRIPT_NAME/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHODGET
QUERY_STRING_url=/uk/about-speciality/kryminologia-v-polshchi-bs&
FCGI_ROLERESPONDER
PHP_SELF/index.php
REQUEST_TIME_FLOAT1781473560.9123
REQUEST_TIME1781473560
SITE_URLhttps://studyforyou.info
DATABASE_HOSTlocalhost
USERNAMEsfy_database
PASSWORDe234rwdf33123
DBNAMEsfy
LOG_IN_DBfalse
IMAGEPATH/var/www/data/images/
#Path
0/var/www/studyforyou.info/public/index.php
1/var/www/studyforyou.info/vendor/autoload.php
2/var/www/studyforyou.info/vendor/composer/autoload_real.php
3/var/www/studyforyou.info/vendor/composer/platform_check.php
4/var/www/studyforyou.info/vendor/composer/ClassLoader.php
5/var/www/studyforyou.info/vendor/composer/autoload_static.php
6/var/www/studyforyou.info/vendor/symfony/deprecation-contracts/function.php
7/var/www/studyforyou.info/vendor/symfony/polyfill-ctype/bootstrap.php
8/var/www/studyforyou.info/vendor/symfony/polyfill-ctype/bootstrap80.php
9/var/www/studyforyou.info/vendor/symfony/polyfill-mbstring/bootstrap.php
10/var/www/studyforyou.info/vendor/symfony/polyfill-mbstring/bootstrap80.php
11/var/www/studyforyou.info/vendor/cakephp/core/functions.php
12/var/www/studyforyou.info/vendor/symfony/polyfill-intl-grapheme/bootstrap.php
13/var/www/studyforyou.info/vendor/symfony/polyfill-intl-grapheme/bootstrap80.php
14/var/www/studyforyou.info/vendor/symfony/polyfill-intl-normalizer/bootstrap.php
15/var/www/studyforyou.info/vendor/symfony/polyfill-intl-normalizer/bootstrap80.php
16/var/www/studyforyou.info/vendor/symfony/string/Resources/functions.php
17/var/www/studyforyou.info/vendor/cakephp/utility/bootstrap.php
18/var/www/studyforyou.info/vendor/cakephp/utility/Inflector.php
19/var/www/studyforyou.info/vendor/symfony/polyfill-php80/bootstrap.php
20/var/www/studyforyou.info/vendor/vlucas/phpdotenv/src/Dotenv.php
21/var/www/studyforyou.info/vendor/vlucas/phpdotenv/src/Repository/RepositoryBuilder.php
22/var/www/studyforyou.info/vendor/vlucas/phpdotenv/src/Repository/Adapter/ServerConstAdapter.php
23/var/www/studyforyou.info/vendor/vlucas/phpdotenv/src/Repository/Adapter/AdapterInterface.php
24/var/www/studyforyou.info/vendor/vlucas/phpdotenv/src/Repository/Adapter/ReaderInterface.php
25/var/www/studyforyou.info/vendor/vlucas/phpdotenv/src/Repository/Adapter/WriterInterface.php
26/var/www/studyforyou.info/vendor/phpoption/phpoption/src/PhpOption/Some.php
27/var/www/studyforyou.info/vendor/phpoption/phpoption/src/PhpOption/Option.php
28/var/www/studyforyou.info/vendor/vlucas/phpdotenv/src/Repository/Adapter/EnvConstAdapter.php
29/var/www/studyforyou.info/vendor/vlucas/phpdotenv/src/Repository/Adapter/MultiReader.php
30/var/www/studyforyou.info/vendor/vlucas/phpdotenv/src/Repository/Adapter/MultiWriter.php
31/var/www/studyforyou.info/vendor/vlucas/phpdotenv/src/Repository/Adapter/ImmutableWriter.php
32/var/www/studyforyou.info/vendor/vlucas/phpdotenv/src/Repository/AdapterRepository.php
33/var/www/studyforyou.info/vendor/vlucas/phpdotenv/src/Repository/RepositoryInterface.php
34/var/www/studyforyou.info/vendor/vlucas/phpdotenv/src/Store/StoreBuilder.php
35/var/www/studyforyou.info/vendor/vlucas/phpdotenv/src/Store/FileStore.php
36/var/www/studyforyou.info/vendor/vlucas/phpdotenv/src/Store/StoreInterface.php
37/var/www/studyforyou.info/vendor/vlucas/phpdotenv/src/Store/File/Paths.php
38/var/www/studyforyou.info/vendor/vlucas/phpdotenv/src/Parser/Parser.php
39/var/www/studyforyou.info/vendor/vlucas/phpdotenv/src/Parser/ParserInterface.php
40/var/www/studyforyou.info/vendor/vlucas/phpdotenv/src/Loader/Loader.php
41/var/www/studyforyou.info/vendor/vlucas/phpdotenv/src/Loader/LoaderInterface.php
42/var/www/studyforyou.info/vendor/vlucas/phpdotenv/src/Store/File/Reader.php
43/var/www/studyforyou.info/vendor/vlucas/phpdotenv/src/Util/Str.php
44/var/www/studyforyou.info/vendor/symfony/polyfill-mbstring/Mbstring.php
45/var/www/studyforyou.info/vendor/graham-campbell/result-type/src/Success.php
46/var/www/studyforyou.info/vendor/graham-campbell/result-type/src/Result.php
47/var/www/studyforyou.info/vendor/vlucas/phpdotenv/src/Util/Regex.php
48/var/www/studyforyou.info/vendor/vlucas/phpdotenv/src/Parser/Lines.php
49/var/www/studyforyou.info/vendor/phpoption/phpoption/src/PhpOption/None.php
50/var/www/studyforyou.info/vendor/vlucas/phpdotenv/src/Parser/EntryParser.php
51/var/www/studyforyou.info/vendor/vlucas/phpdotenv/src/Parser/Lexer.php
52/var/www/studyforyou.info/vendor/vlucas/phpdotenv/src/Parser/Value.php
53/var/www/studyforyou.info/vendor/vlucas/phpdotenv/src/Parser/Entry.php
54/var/www/studyforyou.info/vendor/vlucas/phpdotenv/src/Loader/Resolver.php
55/var/www/studyforyou.info/apps/config/config.php
56/var/www/studyforyou.info/vendor/symfony/polyfill-mbstring/Resources/unidata/lowerCase.php
57/var/www/studyforyou.info/apps/config/services.php
58/var/www/studyforyou.info/apps/config/routers.php
59/var/www/studyforyou.info/apps/config/modules.php
60/var/www/studyforyou.info/apps/config/routesAdmin.php
61/var/www/studyforyou.info/apps/config/routesFrontend.php
62/var/www/studyforyou.info/apps/modules/frontend/Module.php
63/var/www/studyforyou.info/apps/modules/frontend/controllers/AboutSpecialityProfileController.php
64/var/www/studyforyou.info/apps/modules/frontend/controllers/ControllerBase.php
65/var/www/studyforyou.info/apps/modules/frontend/controllers/AuthController.php
66/var/www/studyforyou.info/apps/models/Languages.php
67/var/www/studyforyou.info/apps/models/FilterTranslates.php
68/var/www/studyforyou.info/apps/models/ArticleTranslates.php
69/var/www/studyforyou.info/apps/models/Strings.php
70/var/www/studyforyou.info/apps/models/StringsTranslates.php
71/var/www/studyforyou.info/apps/models/CountriesTranslates.php
72/var/www/studyforyou.info/apps/models/Filters.php
73/var/www/studyforyou.info/apps/models/CitiesTranslates.php
74/var/www/studyforyou.info/apps/models/Directions.php
75/var/www/studyforyou.info/apps/models/DirectionTranslates.php
76/var/www/studyforyou.info/apps/models/Medias.php
77/var/www/studyforyou.info/apps/models/DirectionStudyLevels.php
78/var/www/studyforyou.info/apps/models/DirectionJobs.php
79/var/www/studyforyou.info/apps/models/DirectionSpecialities.php
80/var/www/studyforyou.info/apps/models/DirectionPopularSpeciality.php
81/var/www/studyforyou.info/apps/models/Specialities.php
82/var/www/studyforyou.info/apps/models/UniversityTranslates.php
83/var/www/studyforyou.info/apps/models/SpecialityTranslates.php
84/var/www/studyforyou.info/apps/models/SpecialityLanguages.php
85/var/www/studyforyou.info/apps/models/Universities.php
86/var/www/studyforyou.info/apps/models/MediaSeo.php
87/var/www/studyforyou.info/apps/models/SpecialityDependend.php
88/var/www/studyforyou.info/apps/models/Countries.php
89/var/www/studyforyou.info/apps/cache/_var_www_studyforyou.info_apps_modules_frontend_views_about-speciality-profile_index.volt.compiled
90/var/www/studyforyou.info/apps/cache/_var_www_studyforyou.info_apps_modules_frontend_views_layouts_header.volt.compiled
91/var/www/studyforyou.info/apps/cache/_var_www_studyforyou.info_apps_modules_frontend_views_layouts_menu.volt.compiled
92/var/www/studyforyou.info/apps/cache/_var_www_studyforyou.info_apps_modules_frontend_views_layouts_sidebar.volt.compiled
93/var/www/studyforyou.info/apps/cache/_var_www_studyforyou.info_apps_modules_frontend_views_layouts_breadcrumbs.volt.compiled
94/var/www/studyforyou.info/apps/cache/_var_www_studyforyou.info_apps_modules_frontend_views_layouts_facebook.volt.compiled
95/var/www/studyforyou.info/apps/cache/_var_www_studyforyou.info_apps_modules_frontend_views_about-speciality-profile_item.volt.compiled
96/var/www/studyforyou.info/apps/cache/_var_www_studyforyou.info_apps_modules_frontend_views__components__speciality-item.volt.compiled
Memory
Usage4194304