blt https://www.alexmoreno.net/ en Parse error: syntax error, unexpected ':', expecting ';' or '{' in vendor/doctrine /annotations/lib/ Doctrine/ Common /Annotations/ AnnotationRegistry. php on line 50 https://www.alexmoreno.net/parse-error-syntax-error-unexpected-expecting-or <article role="article" about="https://www.alexmoreno.net/parse-error-syntax-error-unexpected-expecting-or" class="node node--type-blog node--promoted node--view-mode-teaser"> <header> <div class="node__meta"> <span> By <span class="node__author"><span><a title="View user profile." href="https://www.alexmoreno.net/alejandro-moreno" lang="" about="https://www.alexmoreno.net/alejandro-moreno" typeof="schema:Person" property="schema:name" datatype="" xml:lang="">alexmoreno</a></span></span>, 30 May, 2018 </span> </div> <div class="node__top-wrapper"> <h2 class="node__title"> <a href="https://www.alexmoreno.net/parse-error-syntax-error-unexpected-expecting-or" rel="bookmark"><span>Parse error: syntax error, unexpected ':', expecting ';' or '{' in vendor/doctrine /annotations/lib/ Doctrine/ Common /Annotations/ AnnotationRegistry. php on line 50</span> </a> </h2> </div> </header> <div class="node__content text-content"> <div class="text-content field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>Easy error to fix, once you know what's going on (is not always the case?).</p> <p>Just upgrade your system from php 5 to php7. Drupal8 requirement.</p> <p>In BLT, just edit your box/config.yml and change this line</p> <pre> php_version: "5.6"</pre> <p>to this:</p> <pre> php_version: "7.2"</pre> <p>Good old vagrant provision should do the rest of the trick. You are welcome :-)</p></div> <div class="field field--name-field-imagenes field--type-image field--label-hidden field__items"> <div class="field__item"> <img src="https://www.alexmoreno.net/sites/default/files/php7-drupal8-error.png" width="1748" height="788" alt="unexpected error" typeof="foaf:Image" /> </div> </div> <div class="field field--name-taxonomy-vocabulary-1 field--type-entity-reference field--label-hidden field--tag-ref"> <ul class="links field__items field--tag-ref__items"> <li class="field--tag-ref__item"><a href="https://www.alexmoreno.net/taxonomy/term/113" hreflang="es">blt</a></li> <li class="field--tag-ref__item"><a href="https://www.alexmoreno.net/category/categorias/drupal" hreflang="es">drupal</a></li> </ul> </div> </div> </article> Wed, 30 May 2018 08:04:41 +0000 alexmoreno 118 at https://www.alexmoreno.net Acquia BLT short Drupal8 howto https://www.alexmoreno.net/acquia-blt-short-drupal8-howto <article role="article" about="https://www.alexmoreno.net/acquia-blt-short-drupal8-howto" class="node node--type-blog node--promoted node--view-mode-teaser"> <header> <div class="node__meta"> <span> By <span class="node__author"><span><a title="View user profile." href="https://www.alexmoreno.net/alejandro-moreno" lang="" about="https://www.alexmoreno.net/alejandro-moreno" typeof="schema:Person" property="schema:name" datatype="" xml:lang="">alexmoreno</a></span></span>, 4 August, 2017 </span> </div> <div class="node__top-wrapper"> <h2 class="node__title"> <a href="https://www.alexmoreno.net/acquia-blt-short-drupal8-howto" rel="bookmark"><span>Acquia BLT short Drupal8 howto</span> </a> </h2> </div> </header> <div class="node__content text-content"> <div class="text-content field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>Working with vm’s makes everything simpler and easier. Easy to reproduce bugs, easy to reproduce features between environments and, most importantly, between developers.</p></div> <div class="field field--name-field-imagenes field--type-image field--label-hidden field__items"> <div class="field__item"> <img src="https://www.alexmoreno.net/sites/default/files/blt-deploy-workflow.png" width="1182" height="662" alt="" typeof="foaf:Image" /> </div> </div> <div class="field field--name-taxonomy-vocabulary-1 field--type-entity-reference field--label-hidden field--tag-ref"> <ul class="links field__items field--tag-ref__items"> <li class="field--tag-ref__item"><a href="https://www.alexmoreno.net/linux" hreflang="es">linux</a></li> <li class="field--tag-ref__item"><a href="https://www.alexmoreno.net/virtualbox" hreflang="es">virtualbox</a></li> <li class="field--tag-ref__item"><a href="https://www.alexmoreno.net/taxonomy/term/112" hreflang="es">vagrant</a></li> <li class="field--tag-ref__item"><a href="https://www.alexmoreno.net/taxonomy/term/113" hreflang="es">blt</a></li> <li class="field--tag-ref__item"><a href="https://www.alexmoreno.net/taxonomy/term/114" hreflang="es">acquia</a></li> </ul> </div> </div> </article> Fri, 04 Aug 2017 07:58:45 +0000 alexmoreno 116 at https://www.alexmoreno.net