Myrage

Invalid argument supplied for foreach()
ErrorException in /var/www/html/wp-content/themes/myrage/views/article.pug:
Invalid argument supplied for foreach() on line 65, offset 11
										div.admin.my-3
											a.btn.btn-success.px-3(
												href!= get_edit_post_link()
											)!= __("Modifier", "myrage")
								div.content.w-100!= $key['content']
								footer
									ul.list-unstyled.tag-list.w-100
										each $tag in $key['tags']()

											li.tag-item
												img(
													src= $tag['img']
													alt= $tag['label']
													title= $tag['label']
												)
									.share.d-flex.flex-row.flex-wrap.align-items-center.justify-content-between
## /var/www/html/wp-content/themes/myrage/single-post.php(38)
#0 /var/www/html/wp-content/themes/myrage/single-post.php(38): Phug\Util\SandBox->Phug\Util\{closure}()
#1 /var/www/html/wp-content/themes/myrage/vendor/phug/phug/src/Phug/Renderer/Renderer/Adapter/EvalAdapter.php(21) : eval()'d code(336): {closure}()
#2 /var/www/html/wp-content/themes/myrage/vendor/phug/phug/src/Phug/Renderer/Renderer/Adapter/EvalAdapter.php(21): eval()
#3 /var/www/html/wp-content/themes/myrage/vendor/phug/phug/src/Phug/Renderer/Renderer/AbstractAdapter.php(103): Phug\Renderer\Adapter\EvalAdapter->Phug\Renderer\Adapter\{closure}()
#4 /var/www/html/wp-content/themes/myrage/vendor/phug/phug/src/Phug/Renderer/Renderer/Adapter/EvalAdapter.php(19): Phug\Renderer\AbstractAdapter->execute()
#5 /var/www/html/wp-content/themes/myrage/vendor/phug/phug/src/Phug/Renderer/Renderer/Partial/AdapterTrait.php(156): Phug\Renderer\Adapter\EvalAdapter->display()
#6 /var/www/html/wp-content/themes/myrage/vendor/phug/phug/src/Phug/Util/Util/SandBox.php(38): Phug\Renderer->Phug\Renderer\Partial\{closure}()
#7 /var/www/html/wp-content/themes/myrage/vendor/phug/phug/src/Phug/Renderer/Renderer/Partial/AdapterTrait.php(117): Phug\Util\SandBox->__construct()
#8 /var/www/html/wp-content/themes/myrage/vendor/phug/phug/src/Phug/Renderer/Renderer/Partial/AdapterTrait.php(159): Phug\Renderer->getNewSandBox()
#9 /var/www/html/wp-content/themes/myrage/vendor/phug/phug/src/Phug/Renderer/Renderer/Partial/AdapterTrait.php(225): Phug\Renderer->getSandboxCall()
#10 /var/www/html/wp-content/themes/myrage/vendor/phug/phug/src/Phug/Renderer/Renderer.php(252): Phug\Renderer->callAdapter()
#11 /var/www/html/wp-content/themes/myrage/single-post.php(109): Phug\Renderer->displayFile()
#12 /var/www/html/wp-includes/template-loader.php(106): include('/var/www/html/w...')
#13 /var/www/html/wp-blog-header.php(19): require_once('/var/www/html/w...')
#14 /var/www/html/index.php(17): require('/var/www/html/w...')
#15 {main}
$parameters = 
array:6 [
  "titre" => "Myrage"
  "description" => "Développeur web Liégeois"
  "dateNow" => 1670130176
  "blog" => array:1 [
    0 => array:12 [
      "id" => 1
      "title" => "Bonjour tout le monde !"
      "content" => """
        \n
        <p>Bienvenue sur WordPress. Ceci est votre premier article. Modifiez-le ou supprimez-le, puis commencez à écrire !</p>\n
        """
      "permalink" => "https://myrage.be/bonjour-tout-le-monde/"
      "author" => "myrage"
      "author_link" => "<a href="http://127.0.0.1/new_myrage" title="Aller sur le site de myrage" rel="author external">myrage</a>"
      "date" => "6 avril 2022"
      "image" => array:8 [
        "article" => false
        "sidebar" => false
        "slider" => false
        "topPage" => false
        "topPage_small" => false
        "topPage_medium" => false
        "id" => 0
        "alt" => false
      ]
      "shareFacebook" => "https://www.facebook.com/sharer/sharer.php?u=https://myrage.be/bonjour-tout-le-monde/&src=sdkpreparse"
      "shareMail" => "mailto:?subject=Tribu Carnivore - bonjour-tout-le-monde&body=https://myrage.be/bonjour-tout-le-monde/"
      "video" => null
      "tags" => Closure() {#9611
        file: "/var/www/html/wp-content/themes/myrage/single-post.php"
        line: "36 to 42"
      }
    ]
  ]
  "prev" => array:2 [
    "url" => "https://myrage.be/bonjour-tout-le-monde/"
    "name" => "Bonjour tout le monde !"
  ]
  "next" => array:2 [
    "url" => "https://myrage.be/bonjour-tout-le-monde/"
    "name" => "Bonjour tout le monde !"
  ]
]