Во время обработки запрошенного шаблона произошла ошибка...
Can't convert this string to number: "/579095"
The blamed expression:
==> .vars['reserved-article-id'].data?number  [in template "20115#20151#206880" at line 5, column 23]

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign resourcePK = .vars["reserved-...  [in template "20115#20151#206880" at line 5, column 1]
----
1<#assign date = .vars['reserved-article-display-date'].data?string> 
2<#assign date = dateUtil.formatDate("EE, d MMM yyyy HH:mm:ss Z", date, localeUtil.getDefault())> 
3 
4 
5<#assign resourcePK = .vars['reserved-article-id'].data?number + 2> 
6 
7<#assign assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService")/> 
8 
9<#assign ratingService = serviceLocator.findService("com.liferay.ratings.kernel.service.RatingsStatsLocalService") /> 
10<#assign ratingEntryService = serviceLocator.findService("com.liferay.ratings.kernel.service.RatingsEntryLocalService") /> 
11<#assign entry = assetEntryLocalService.getEntry("com.liferay.journal.model.JournalArticle", resourcePK)/> 
12 
13 
14        <div class="col-md-12"> 
15            <div class="text-section__wrap"> 
16              <div class="text-section__header-img"> 
17             <#if Image5occ.getData()?? && Image5occ.getData() != ""> 
18	<img data-fileentryid="${Image5occ.getAttribute("fileEntryId")}" class = "photo" alt="${Image5occ.getAttribute("alt")}" src="${Image5occ.getData()}" /> 
19</#if> 
20</div> 
21              <!-- /.text-section__header-img --> 
22              <div class="text-section__text"> 
23                <div class="statistics"> 
24                  <div class="time"> 
25                    <p class="time__text time--black"><span class="time__clock time__clock--black"></span>${date}</p> 
26                    <!-- /.time__text time--black --> 
27                  </div> 
28                  <!-- /.time --> 
29                  <div class="views"> 
30                    <p class="views__text views--black"><span class="views__eye views__eye--black"></span>${entry.getViewCount()}</p> 
31                    <!-- /.views__text --> 
32                  </div> 
33                  <!-- /.views --> 
34                  <div class="likes"> 
35                    <p class="likes__text likes--black"><span class="likes__heart likes__heart--black"></span> 
36                    <#if ratingEntryService.getEntriesCount(entry.getClassName(), entry.getClassPK(), 1) gt 0 > 
37                            ${ratingService.getStats(entry.getClassName(), entry.getClassPK()).getTotalScore()} 
38                    <#else> 
39                    f! 
40                    </#if> 
41                    </p> 
42                    <!-- /.likes__text --> 
43                  </div> 
44                  <!-- /.likes --> 
45                </div> 
46                <!-- /.statistics --> 
47                <div class="text-section__header"> 
48                  <p class="h h--28 h--black">${.vars['reserved-article-title'].data}</p> 
49                  <!-- /.h h--28 h--black --> 
50                </div> 
51                <!-- /.text-section__header --> 
52                <div class="text-section__description"> 
53                  <p>${HTML9vj6.getData()}</p> 
54                </div> 
55                <!-- /.text-section__description --> 
56                <!-- <div class="text-section__autor"> 
57                  <a href="http://u24676.netangels.ru/medinfo72/default.html#" class="autor-link">Константин Константинопольский</a></div> 
58                /.text-section__autor --> 
59              </div> 
60              <!-- /.text-section__text --> 
61            </div> 
62            <!-- /.text-section__wrap --> 
63          </div> 
64          <!-- /.col-md-12 --> 
65           
66 
67<script> 
68Liferay.on( 
69    'allPortletsReady', 
70    function() {startNewsFunctionsAll();}); 
71 
72function startNewsFunctionsAll() { 
73tags(); 
74hideAdditionInfo(); 
75replace(); 
76commentary(); 
77//likesFix(); 
78likesFixNew(); 
79 
80
81 
82function tags() { 
83  //подставляем просмотры 
84  var viewsCount = $('.metadata-entry.metadata-view-count').text().replace(/\D+/g,""); 
85  $('.text-section').find('.views__text.views--black').text("").append('<span class="views__eye views__eye--black"></span>'+ viewsCount); 
86
87 
88function hideAdditionInfo() { 
89  //скрываем блок доп. информации 
90  $('.taglib-asset-metadata').css('display', 'none'); 
91 
92  //скрываем активность в соц. сетях 
93  $('.taglib-social-bookmarks').css('display', 'none'); 
94
95 
96function replace() { 
97  //переставляем печать 
98  var print = $('.print-action').html(); 
99  $('.print-action').css('display', 'none'); 
100  $('.text-section__text').append(print);  
101
102 
103function commentary() { 
104  //комментарии 
105  $('.panel-body').css('padding', '20px 40px 28px 40px'); 
106  $('.panel').css('box-shadow', '2px 2px 6px rgba(0,0,0,.25)'); 
107  $('.fieldset.add-comment').find(".lfr-discussion-details").addClass("hidden"); 
108  $('.fieldset.add-comment').find(".lfr-discussion-message-body").addClass('one-comment__person-text text--gray text--14'); 
109  $('.fieldset.add-comment').find(".lfr-discussion-message-author").children('.small').addClass('one-comment__date text--14 text--gray'); 
110  $('.fieldset.add-comment').find('.lfr-discussion-body').css('margin-left', '0'); 
111  $('.fieldset.add-comment').find('.subscribe-link').css('display', 'none'); 
112  $('.fieldset.add-comment').find('.taglib-discussion.lfr-discussion-body').css('margin-left', '0'); 
113  $('.fieldset.add-comment').prepend('<div style="margin-bottom: 15px; margin-top: 30px" class="custom-block"> <p class="title custom-block__title">Напишите комментарий</p> </div>'); 
114  $('.lfr-discussion.card-tab-group').first().prepend('<div style="margin-bottom: 15px;" class="custom-block"> <p class="title custom-block__title">Комментарии</p> </div>'); 
115  $('.btn.btn-comment.btn-lg.btn-primary.btn-default').removeClass('btn btn-comment btn-lg btn-primary btn-default').addClass('button'); 
116
117 
118function likesFixNew() { 
119  //попытка привязать лайки к лайкам сверху 
120   
121  var test = $('.asset-ratings').clone(); 
122  $('.asset-ratings').hide(); 
123  console.log(test)  
124  $('.text-section').find('.likes').children().remove(); 
125  $('.text-section').find('.likes').append(test); 
126   
127  $('.text-section').find('.glyphicon').css({"color":"#232323","text-shadow":"none", "font-weight":"300", "font-family":'"Roboto",sans-serif'}); 
128  //var likesCount = $('.text-section').find('.glyphicon').text(); 
129  //console.log("likesCount" + likesCount) 
130  //$('.text-section').find('.glyphicon').html(""); 
131  //$('.text-section').find('.glyphicon').append(likesCount); 
132  $('.text-section').find('.likes').css({"display":"flex","flex-direction":"column", "align-items":"center"}); 
133  $('.text-section').find('.rating').removeClass('rating'); 
134  $('.text-section').find('.asset-ratings').removeClass('asset-ratings'); 
135   
136   
137
138 
139function likesFix() { 
140  //попытка привязать лайки к лайкам сверху 
141  var likesFix = $('.asset-ratings').html(); 
142  console.log(likesFix) 
143  $('.asset-ratings').remove(); 
144  $('.text-section').find('.likes').children().remove(); 
145  $('.text-section').find('.likes').append(likesFix); 
146  $('.text-section').find('.glyphicon').css({"color":"#232323","text-shadow":"none", "font-weight":"300", "font-family":'"Roboto",sans-serif'}); 
147  var likesCount = $('.text-section').find('.glyphicon').text(); 
148   console.log("likesCount" + likesCount) 
149  $('.text-section').find('.glyphicon').html(""); 
150  $('.text-section').find('.glyphicon').append(likesCount); 
151  $('.text-section').find('.likes').css({"display":"flex","flex-direction":"column", "align-items":"center"}); 
152  $('.text-section').find('.rating').removeClass('rating'); 
153
154  </script>