I solved it by my own
Thanks Ismael for your answer. However, this didn’t correct the problem.
Now i’ve forced the load of the script as you suggest, but the problem continues. The script is loading, but the problem remains the same and by debugging the page with the console there is a thing that calls my attention.
There is a warning stating that “Ha fallado la carga del <script> con origen “SITE/wp-content/themes/enfold/js/avia-snippet-cookieconsent.js?ver=4.7.6.4”.
This is spanish. In english it means that that script failed to load. Instead of “SITE” it stats the domain that you have on the private content section of the first message.
That script exists, you can load it directly by pasting the URL on the navigation bar, but for some reason it fails when loading from inside a page. I’m testing it with firefox.
With other browsers the error remains the same, but the debug information on the console varies.
Any hint about what’s happening?