文章

item.below is empty in menu.html.twig on top level menu

  I'm not sure if thing is the same problem but I've seen people get tripped up because they have to enabl the “ expanded ” option for menu items before they will display their children. Menu > Edit >  Display settings >  Show as expanded > Save

TWIG loop paragraph items

  < h1 > Homepage node </ h1 > < article {{ attributes }} > {{   node . field_text_under_slogan . value }}   < div > {% if content . field_key_visual_swiper [ '#items' ] | length > 0 %}   {% for item in content . field_key_visual_swiper %}           {% set paragraph = item [ '#paragraph' ] %}         {% if paragraph . field_button_colour and paragraph . field_button_colour .0. value . color %}       < div style = "background-color: {{ paragraph . field_button_colour .0. value . color }}" >         Button Color: {{ paragraph . field_button_colour .0. value . color }}       </ div >     {% endif %}     {% endfor %} {% endif %}           </ div > </ article >

drupal core .htaccess template

 \web\core\assets\scaffold\files\htaccess

SQL ERROR: Unknown system variable 'GTID_PURGED' | Unknown collation: ‘utf8mb4_unicode_520_ci’

  Need remove all lines with GTID_PURGED sed - i '/@@GLOBAL.GTID_PURGED=/d' your_file.sql The final file will load without problems Open the sql file in your text editor; 1. Search:  utf8mb4_unicode_ci  Replace:  utf8_general_ci  (Replace All) 2. Search:  utf8mb4_unicode_520_ci  Replace:  utf8_general_ci  (Replace All) 3. Search:  utf8mb4  Replace:  utf8  (Replace All) Save and upload!