There was a problem with a Velocity script
Pagesports/mice/2018-19p/players/bio-career-template
ErrorInvocation of method 'include' in class com.prestosports.render.ContentEngineInvoker threw exception java.lang.RuntimeException: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The last packet successfully received from the server was 865 milliseconds ago. The last packet sent successfully to the server was 1 milliseconds ago. at hqmzr3ctvtvnjncbsports/mice/2018-19p/players/bio-career-template[line 2, column 10]
Page source:
1: ## PICK UP OPTIONS
2: $website.include("options")
3: #set ($options = $request.getAttribute("options"))
4: 
5: #set ($locale = "en_us")
6: #set ($locale = $options.get("locale"))
7: #set ($showCareer = $wiki.valid() && $seasons)
8: #if ("yes" == $options.get("stats_show_career") && $seasons)
9:     #set ($showCareer = "yes")
10: #end
11: 
12: #if ($locale == "en_us")
13:     #set ($defLabel = "Defense")
14: #elseif ($locale == "en_gb")
15:     #set ($defLabel = "Defence")
16: #end
17: 
18: #set ($pos = "")
19: #if($attributes.get("position_stat"))
20:     #set ($pos = $attributes.get("position_stat"))
21: #else
22:     #set ($pos = $attributes.get("position"))
23:     #set ($pos = $statPosition)
24:     #set ($posVec = $pos.split("/"))
25:     #set ($pos = $posVec[0])
26: #end
27: #set ($pos = $pos.toLowerCase())
28: #set ($pos = $positions.get($pos))
29: 
30: #set ($highlights = $highlights.get($pos))
31: #if ($request.getParameter("pos"))
32:     #set ($pos = $request.getParameter("pos"))
33:     #set ($pos = $pos.toLowerCase())
34:     #set ($pos = $positions.get($pos))
35: #end
36: #set ($labels = $labels.get($pos))
37: #set ($briefs = $briefs.get($pos))
38: #set ($gamelogs = $gamelogs.get($pos))
39: #set ($view = $!request.getParameter("view"))
40: #set ($url = ${page.url})
41: #set ($playerId = $attributes.get("playerId"))
42: #set ($stats = $splits.overall)
43: 
44: ## CAREER STATS WILL PRINT LIKE THIS
45: #macro(splitBioCareer $label $stats $class)
46:     #set ($url = "${page.url}?view=career")
47:     #if ($request.getParameter("pos"))
48:       #set ($escPos = $request.getParameter("pos"))
49:       #set ($escPos = $tool.esc.url($escPos))
50:       #set ($url = "${url}&pos=$escPos")
51:     #end
52:     <tr class="$!{class}">
53:         <td class="pinned-col"><a href="${url}">${label}</a></td>
54:         #foreach ($brief in $briefs.keySet())
55:             #set ($value = "-")
56:             #set ($value = $!formatter.formatNumber($stats.get($brief), $formats.get($brief)))
57:             <td align="center">
58:                 #if ($value.length() > 0)$value#else - #end
59:             </td>
60:         #end
61:     </tr>
62: #end
63: 
64: #set ($name = $request.getParameter("name"))
65: $request.getAttribute("careerTotals").addGames($events)
66: $!request.getAttribute("careerMap").put($name, $stats)
67: 
68: #if ($request.getParameter("print") == 'yes')
69:     #splitBioCareer($name, $splits.overall, '')
70: #end

York
3

Linden Sturrock

gp
1
p
0
g
0
a
0
pim
0
+/-
+0
Player Stats
  Overall OR
Games 1 288th
Points 0 383rd
Goals 0 115th
Assists 0 161st
PIM 0 151st
+/- +0 1st
Power-play goals 0 41st
Short-handed goals 0 4th
Empty net goals 0 6th
Games started - -
Game-winning goals 0 30th
Game-tying goals 0 1st
Hat tricks 0 4th
Shots 0 1st
Recent Results
Date Opponent Result
Feb 13 at Brock L, 2-1
Feb 15 Brock L, 3-2
Date Opponent Score gs g a pts pim +/- ppg shg eng gwg gtg s
Feb 13 at Brock L, 2-1 - - - - - - - - - - - -
Feb 15 Brock L, 3-2 - 0 0 0 0 +0 0 0 0 0 0 0
  gp g a pts pim +/- ppg shg eng gwg gtg hat s
Total - - - 0 - - - - - - - - -
  gp g a pts pim +/- ppg shg eng gwg gtg hat s
Total 1 0 0 0 0 +0 0 0 0 0 0 0 0
Exhibition - - - 0 - - - - - - - - -
                           
Home 1 0 0 0 0 +0 0 0 0 0 0 0 0
Away - - - 0 - - - - - - - - -
Neutral - - - 0 - - - - - - - - -
                           
Wins - - - 0 - - - - - - - - -
Losses 1 0 0 0 0 +0 0 0 0 0 0 0 0
Ties - - - 0 - - - - - - - - -
                           
February 1 0 0 0 0 +0 0 0 0 0 0 0 0