Problem/Motivation

On a clean install of latest dev (8.0.0-beta10+124-dev) I get the following error repeatedly:

User error: "title" is an invalid render array key in Drupal\Core\Render\Element::children() (line 101 of C:\xampp\htdocs\drupal8\core\lib\Drupal\Core\Render\Element.php).

And also

User error: "name" is an invalid render array key in Drupal\Core\Render\Element::children() (line 101 of C:\xampp\htdocs\drupal8\core\lib\Drupal\Core\Render\Element.php).

Proposed resolution

Find one.

Remaining tasks

Fix.

User interface changes

??

API changes

??

CommentFileSizeAuthor
#11 2489326-01.png45.9 KBnithinkolekar
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mbrett5062’s picture

Issue summary: View changes
mbrett5062’s picture

Component: render system » user system
danielbeeke’s picture

Hi,

I had this issue too,

    <title>{{ head_title|safe_join(' | ') }}</title>

I used that inside html.html.twig and all was fine!

cilefen’s picture

Could someone add to the summary the steps to reproduce?

danielbeeke’s picture

I think I had the issue because I was updating from one dev version to another.
But I don't know for sure.

harings_rob’s picture

Hi,

This issues comes from updating beta-10 to beta-11

You should indeed, in your template replace:

{{ head_title }}

to:

{{ head_title|safe_join(' | ') }}

Cannot be reproduced as this is a fix?

See related issues. (https://www.drupal.org/node/2369987)

mbrett5062’s picture

Just clean install Drupal, then on each click of toolbar link, it will generate the two errors, check your watchdog listing.
I am working on a clean install right now, and will update issue summary with steps to reproduce.

harings_rob’s picture

Bartik as default template?

mbrett5062’s picture

Status: Active » Closed (cannot reproduce)

This has indeed been fixed as of Beta-11. No longer able to reproduce. Therefore marking closed.

nithinkolekar’s picture

Version: 8.0.x-dev » 8.0.0
Status: Closed (cannot reproduce) » Active

got this exact error when space is installed and set as default.

this is the very first error I got with drupal 8 and will remember it :).

nithinkolekar’s picture

FileSize
45.9 KB

attached the screenshot of log page

cilefen’s picture

@nithinkolekar Usually we would move this to the issue queue (the Project field) of the theme because that seems to be the problem, not Drupal itself. Could that be the case here?

dpi’s picture

Status: Active » Closed (won't fix)

Closing as outdated.