The following has evaluated to null or missing:
==> mostrarTituloH2 [in template "20102#20129#105831" at line 4, column 40]
----
Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----
----
FTL stack trace ("~" means nesting-related):
- Failed at: #assign hayH2 = getterUtil.getBoolean... [in template "20102#20129#105831" at line 4, column 1]
----
1<#assign title = .vars['reserved-article-title'].getData()>
2<div class="containerInterior">
3<#assign hayH1 = getterUtil.getBoolean(MostrarTituloH1.getData())>
4<#assign hayH2 = getterUtil.getBoolean(mostrarTituloH2.getData())>
5
6<#if hayH1>
7 <h1 aria-level="1" role="heading" id="titulo">${layout.getName(locale)}</h1>
8</#if>
9<#if hayH2>
10
11 <#if TituloContenido.getData()?? && TituloContenido.getData() != "">
12 <#assign contenido = TituloContenido.getData()>
13 <#else>
14 <#assign contenido = title>
15 </#if>
16
17 <#if hayH1>
18 <p id="subtitulo"
19 aria-level="2"
20 role="heading"
21 style="
22 color: #007f33 !important;
23 font-size: 45px;
24 font-family: 'IberPangea Medium', sans-serif;
25 line-height: 45px;
26 margin-top: .75em;
27 margin-bottom: .9em;">
28 ${contenido}
29 </p>
30 <#else>
31 <p id="subtitulo"
32 style="
33 color: #007f33 !important;
34 font-size: 45px;
35 font-family: 'IberPangea Medium', sans-serif;
36 line-height: 45px;
37 margin-top: .75em;
38 margin-bottom: .9em;">
39 ${contenido}
40 </p>
41 </#if>
42
43</#if>
44
45<#if getterUtil.getBoolean(MostrarCategorias.getData())>
46
47
48
49 <#assign journalArticleId = .vars['reserved-article-id'].data>
50 <#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")>
51
52 <#assign assetCategoryPropertyLocalService = serviceLocator.findService("com.liferay.asset.category.property.service.AssetCategoryPropertyLocalService") />
53
54 <#assign article = journalArticleLocalService.getArticle(groupId, .vars['reserved-article-id'].data) />
55 <#assign assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService")>
56 <#assign asset = assetEntryLocalService.getEntry('com.liferay.journal.model.JournalArticle', article.resourcePrimKey) >
57 <#assign layoutLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.LayoutLocalService") />
58
59 <p class="tag-categorias">
60
61 <#list asset.getCategories() as category>
62
63
64
65 <#if assetCategoryPropertyLocalService.fetchCategoryProperty(category.getCategoryId(), "friendlyURL")??>
66
67 <#assign categoryFriendly = '/tag/' + assetCategoryPropertyLocalService.fetchCategoryProperty(category.getCategoryId(), "friendlyURL").getValue() />
68
69 <#if layoutLocalService.fetchLayoutByFriendlyURL(groupId, false, categoryFriendly)??>
70 <#assign categoryLayout = layoutLocalService.fetchLayoutByFriendlyURL(groupId, false, categoryFriendly) />
71 <#assign categoryLayoutURL = portalUtil.getLayoutFullURL(categoryLayout, themeDisplay) />
72
73 <a class="tag-categoria" href="${categoryLayoutURL}">${category.getTitle(locale)?cap_first}</a>
74
75 <#else>
76 <a class="tag-categoria" href="/tag/#">${category.getTitle(locale)?cap_first}</a>
77
78 </#if>
79 </#if>
80
81
82
83
84 </#list>
85
86 </p>
87
88</#if>
89<div id="contenidoEntradilla">${DescripcionDetalleContenido.getData()}</div>
90
91
92<#if ContenidoWebcofl.getSiblings()?has_content>
93 <#list ContenidoWebcofl.getSiblings() as cur_ContenidoWebcofl>
94 <#assign
95 webContentData = jsonFactoryUtil.createJSONObject(cur_ContenidoWebcofl.getData())
96 />
97
98 <#if webContentData?length gt 5>
99 <@liferay_asset["asset-display"]
100 className = webContentData.className
101 classPK = webContentData.classPK?number
102 />
103
104 </#if>
105
106
107 </#list>
108</#if>
109</div>
110<@liferay_util["html-top"]>
111<style>
112 #decPagination div.containerInterior p#subtitulo {
113 font-family: "Iberpangea Medium";
114 font-size: 45px;
115 line-height: 45px;
116 color: #007F33;
117 margin-bottom: 20px;
118 }
119
120
121 div.contenidoCentrado div.contenidoInterior div.containerInterior p.tag-categorias a.tag-categoria:focus{
122 outline: 2px solid rgba(0, 0, 0, 0.7) !important;
123 }
124 p.tag-categorias > .tag-categoria {
125 width: auto !important;
126 max-width: inherit !important;
127 }
128
129 div.faldon h2 {
130 width: 100%;
131 float: left;
132 font-size: 1.26em;
133 font-family: IberPangeaText Light, sans-serif;
134 margin-bottom: 2em;
135 border-bottom: 1px solid #e0e0e0;
136 padding-bottom: .8em;
137 color: #427314 !important;
138
139 line-height: 1.35em;
140 margin-top: .75em;
141 }
142 .contenidoInterior div.faldon h2+ul li:before {
143 margin: .15em 0 0 -1.75em;
144 font-size: 1em;
145 }
146 .cursiva_texto {
147 font-style: italic;
148 }
149 .contenidoInterior h1 {
150 font-family: 'IberPangea', sans-serif !important;
151 font-size: 32px !important;
152 border: none !important;
153 line-height: 36px !important;
154 letter-spacing: 0px !important;
155 color: #00402A !important;
156 padding-left: 0em !important;
157 margin-bottom: 14px !important;
158 }
159 p span.table a.enlace-actualidad[href*="/tag/"],
160 p span.table a.enlace-actualidad[href*="/label/"],
161 p.tag-categorias a.tag-categoria[href*="/tag/"],
162 p.tag-categorias a.tag-categoria[href*="/label/"]{
163 line-height: 23px !important;
164 }
165 .contenidoInterior #contenidoEntradilla p.entradilla {
166 font-family: IberPangeaText, sans-serif !important;
167 font-size: 17px !important;
168 line-height: 23px !important;
169 font-weight: 700;
170 color: #615D5A !important;
171 margin-top: 2em;
172 }
173
174 .contenidoInterior h2#subtitulo{
175 font-family: 'IberPangea Medium', sans-serif !important;
176 margin-bottom: 0.4em;
177 }
178 #decPagination div.containerInterior{
179 max-width:980px;
180 margin:0 auto 25px;
181 }
182 #decPagination div.containerInterior h1#titulo{
183 font-family:"Iberpangea Medium";
184 font-size:32px;
185 line-height:36px;
186 color:#00402A;
187 text-transform:none;
188 border-left:none;
189 margin-top:20px;
190 }
191 #decPagination div.containerInterior h2#subtitulo{
192 font-family:"Iberpangea Medium";
193 font-size:45px;
194 line-height:45px;
195 color:#007F33;
196 margin-bottom:20px;
197 }
198 #decPagination div.containerInterior p.tag-categorias{
199 margin-bottom:30px !important;
200 }
201 #decPagination div.containerInterior p.tag-categorias a.tag-categoria{
202 margin-right:20px;
203 color:#00402A;
204 }
205 #decPagination div.containerInterior div#contenidoEntradilla p.entradilla{
206 font-family:"IberpangeaText";
207 font-size:20px ;
208 line-height:26px;
209 color:#615D5A;
210 }
211 @media all and (max-width:500px){
212 #decPagination div.containerInterior h1#titulo{
213 font-size:26px;
214 line-height:36px;
215 }
216 #decPagination div.containerInterior h2#subtitulo{
217 font-size:35px;
218 line-height:35px;
219 margin-bottom:20px;
220 }
221 #decPagination div.containerInterior div#contenidoEntradilla p.entradilla{
222 font-family:"IberpangeaText Bold";
223 font-size:16px ;
224 line-height:24px;
225 }
226 }
227 @media screen and (max-width: 47.95em) {
228 .contenidoInterior h1 {
229 font-size: 26px !important;
230 }
231 .contenidoInterior h2#subtitulo{
232 font-size: 35px;
233 line-height: 35px;
234 color: #007F33 !important;
235 margin-bottom: 1em;
236 }
237 .contenidoInterior #contenidoEntradilla p.entradilla {
238 margin-top: 0.8em;
239 }
240 .contenidoInterior #contenidoEntradilla p.entradilla {
241 line-height: 24px !important;
242 }
243 }
244
245
246</style>
247</@>

You wake up in the morning and think about having some chocolate scones for breakfast. As soon as you visualise the sweets in your head, your mobile phone sends you a notification: "Craving detected, wouldn't you rather eat something healthier? It sounds like science fiction, but it is just one of the countless applications that neurotechnology will bring us in the coming decades.
WHAT IS NEUROTECHNOLOGY
Neurotechnology encompasses all technologies developed to understand the brain, visualise its processes and even control, repair or improve its functions. Although electroencephalography is almost a century old, the first major breakthrough in this field has come in recent decades with brain imaging using magnetic resonance imaging (MRI) scans. This technique, among other things, has allowed researchers to identify which areas of the brain are activated or deactivated during certain tasks.
From there, neurotechnology has reached other areas that normally go unnoticed, ranging from the development of drugs to treat mental disorders such as depression, insomnia or attention deficit disorder, to technologies dedicated to neurological rehabilitation after cerebrovascular accidents or to hearing recovery with cochlear implants. And this, as we shall see below, has only just begun.
NEUROTECHNOLOGY PRACTICES AND TECHNIQUES
Neurotechnology uses different techniques to record brain activity and stimulate parts of the brain at will. Non-invasive techniques are those that allow action from the outside, while invasive techniques require the implantation of electrodes through surgery.
Among those dedicated to recording brain activity are:
- Electroencephalogram (EEG) is the oldest non-invasive technique and records the electrical activity of the brain using electrodes placed on the scalp.
- Functional magnetic resonance imaging (fMRI) measures brain activity by detecting changes in brain blood flow using high resolution. It is a more costly process.
- Functional near-infrared spectroscopy (fNIRS) uses hand-held sensors placed on the scalp and it has a lower resolution than fMRI.
- Implantation of microneedles is an invasive technique that involves inserting tiny electrodes into the cerebral cortex. The signals are very clear, but reach a very limited area.
In terms of techniques to stimulate the brain, these are the most commonly used:
- Transcranial electrical stimulation (tES) is a non-invasive technique in which small currents are applied to electrodes located on the scalp. It can stimulate certain functions.
- Transcranial magnetic stimulation (TMS) follows the same principle, but uses magnetic pulses through coils placed on the scalp. The magnetic field produces electrical current flows in the brain, altering communication between neurons, and has been used to improve perception, learning and memory.
- Focused ultrasound (FUS) is a non-invasive technology that applies focused pulses of infrared light to stimulate specific areas of the brain. It can be applied, for example, through the eyes or nose.
- Deep brain stimulation (DBS) is performed by surgically implanting electrodes that act as neurostimulators. They have been used successfully in humans to alleviate the symptoms of diseases such as Parkinson's disease or epilepsy.
Cognitive technologies
Neurotechnology is related to cognitive technologies. According to consulting firm Deloitte, these are technologies derived from artificial intelligence that allow tasks to be performed that previously could only be done by humans. Some examples are artificial vision, machine learning, deep learning, natural language processing or robotic process automation, among others.
In particular, the data obtained on the functioning of the brain is used to develop artificial neural networks. For example, the aforementioned machine vision can be used to identify a person's emotions by analysing their facial expressions. In addition, the use of these technologies will also enable further development of neurodidactics, thus improving learning methods and processes.
APPLICATIONS OF NEUROTECHNOLOGY
Below, we review some of the most recent applications:
Neuronal biofeedback
Using real-time EEG or fMRI, someone can be taught to control their central nervous functions, such as heartbeat.
Next generation neuropharmacology
Behavioural and molecular neuropharmacology are benefiting from a better understanding of the nervous system to develop more effective drugs.
Neuroprostheses
These devices are able to replace motor, sensory or cognitive abilities damaged as a result of injury or disease.
Neural interfaces
Brain-computer interfaces are fundamental in the development of new sensors and prostheses, allowing signals to be sent and received in real time.
Optogenetic implants
The combination of neurotechnology, genetics and optogenetics allows specific genes in neural tissue to be switched on or off using focused light.

Neurotechnology is advancing by leaps and bounds, which is why it sometimes seems to us to be entering the realms of science fiction. One example is augmented capabilities, i.e. the possibility of amplifying the senses and mental capacities — almost like a superhero —. Another has to do with the development of brain-brain interfaces, which would be able to translate thoughts, sensations or impulses into digital signals that could be transmitted to another person — is telepathy closer? —.
THE LATEST ADVANCES IN NEUROTECHNOLOGY
Major neurotechnology projects are currently in the hands of large technology companies. In 2016, billionaire Elon Musk, creator of Tesla and SpaceX, launched Neuralink, a company dedicated to the development of an implantable brain-machine interface. The idea is, through painless surgery, to implant very thin wires — about five microns in diameter — into the cerebral cortex to obtain and send information.
Founded in the same year, the company Kernel has a prototype of a non-invasive brain interface based on near-infrared spectroscopy. In particular, it is a helmet, which for the time being is a gadget, capable of identifying, for example, moods. Giants such as Facebook and Google are also developing their own neurotechnology projects.
The limits of neurotechnology: neurorights
The capabilities of neurotechnology focus on detecting what is happening inside the brain so that, when the time comes, it can influence its functions. This is where the ethical limits appear because this, taken to the extreme and as a result of technological evolution, can be tantamount to reading, even controlling, a person's thoughts and emotions.
According to the prestigious journal Scientific American
External link, opens in new window., advances in neurotechnology require a parallel evolution of neurorights. In the near future, private companies could have access to the vast amounts of data that neurotechnological devices will yield, and these rights would focus on the protection of such personal information and the prevention of risks arising from it, such as epigenetic modifications, neuropsychiatric complications or its use for biohacking.