End of Support for Joomla 3 - Forum closed

Fehlermeldung in updater.php

  • cbt
  • cbt's Avatar Offline Topic Author
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0

Fehlermeldung in updater.php was created by cbt

Posted 5 years 10 months ago #22559
Ich habe beim lokalen Aufrufen der Website (Joomla Version: 3.8.1, php-Version: 7.2.12, Template: Perfect) diese Fehlermeldung:

Fehler: Warning: count(): Parameter must be an array or an object that implements Countable in C:\xampp\htdocs\cbt\libraries\src\Updater\Updater.php on line 284

Dies betrifft den Teil in der php-Datei:
// Version comparison operator.
$operator = $includeCurrent ? 'ge' : 'gt';

if (is_array($update_result))
{
// If we have additional update sites in the remote (collection) update XML document, parse them
if (array_key_exists('update_sites', $update_result) && count($update_result))
{
$thisUrl = trim($updateSite);
$thisId = (int) $updateSite;

foreach ($update_result as $extraUpdateSite)
{
$extraUrl = trim($extraUpdateSite);
$extraId = (int) $extraUpdateSite;

// Do not try to fetch the same update site twice
if (($thisId == $extraId) || ($thisUrl == $extraUrl))
{
continue;
}

$extraUpdates = $this->getUpdateObjectsForSite($extraUpdateSite, $minimum_stability);

if (count($extraUpdates))
{
$retVal = array_merge($retVal, $extraUpdates);
}
}
}
by cbt

Please Log in or Create an account to join the conversation.

Replied by joomlaplates on topic Fehlermeldung in updater.php

Posted 5 years 10 months ago #22562

Please Log in or Create an account to join the conversation.

Moderators: joomlaplates

Installations-Service

Don´t waste your time, we install your purchased Template
with the "Demo Content" within the next 24 hours.

Buy Now - 59€

Joomlaplates/Theme-Point is not affiliated with or endorsed by Open Source Matters or the Joomla! Project

Copyright © 2024 JoomlaPlates | Professional Joomla Templates with Uikit 3

Disclaimer & Privacy | License