2.4.8 install not working

I upgraded to 2.4.8 in the usual way but am getting this error message when I try to execute sitecake.php:
Fatal error: Cannot use object of type Sitecake\Content\ElementList as array in /home/wendyl60/public_html/sitecake/2.4.8/src/Sitecake/Content/PageRenderAwareTrait.php on line 127

Any suggestions?

Hi, can you send me FTP details on PM so I can check it out? Thanks

Has a solution been found?
I have the same problem since the update to 2.4.8.
Use PHP 7.1

Same problem.

Error (0): Cannot use object of type Sitecake\Content\ElementList as array in [[SITE]/sitecake/2.4.8/src/Sitecake/Content/PageRenderAwareTrait.php, line 127]

Here is a fragment of code:

// Check if meta tag already exist
$metaExists = false;
$existingAttributes = [];
$metaTags = $page->query(‘meta[name="’ . $name . ‘"]’);
if ($metaTags->count() > 0) {
/* @var Element $meta */
$meta = $metaTags[0];
$metaExists = true;
// Remove all existing attributes except ‘name’ attribute
$existingAttributes = $meta->getAttributes();
foreach ($existingAttributes as $attr => $value) {
if ($attr !== ‘name’) {
$meta->removeAttribute($attr);
}
}
// set content attribute
$meta->setAttribute(‘content’, $content);
} else {
$meta = new Meta($name, $content);
}

Error in line 127:

$meta = $metaTags[0];

Any solution?

Yea we figured this bug. It will be fixed in next release. Until then you could change that line of code to
$meta = $metaTags->first();