Beim Update von 3.1.2-RC1-dev auf 3.1.2 bekommeich im ACP folgende Debug Meldung:
Das hier ist die besagte Zeile:[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/version_helper.php on line 262: call_user_func_array() expects parameter 2 to be array, string given
Code: Alles auswählen
throw new \RuntimeException(call_user_func_array(array($this->user, 'lang'), $exception->getMessage()));
Code: Alles auswählen
public function get_versions($force_update = false, $force_cache = false)
{
$cache_file = '_versioncheck_' . $this->host . $this->path . $this->file;
$info = $this->cache->get($cache_file);
if ($info === false && $force_cache)
{
throw new \RuntimeException($this->user->lang('VERSIONCHECK_FAIL'));
}
else if ($info === false || $force_update)
{
try {
$info = $this->file_downloader->get($this->host, $this->path, $this->file);
}
catch (\RuntimeException $exception)
{
throw new \RuntimeException(call_user_func_array(array($this->user, 'lang'), $exception->getMessage()));
}
$error_string = $this->file_downloader->get_error_string();
if (!empty($error_string))
{
throw new \RuntimeException($error_string);
}
$info = json_decode($info, true);
config.php
ersetzt.Selbst wenn ich die Sprache auf en umstelle, bleibt es bei dieser Debug Meldung.
Edit:
Wenn ich das hier:
Code: Alles auswählen
throw new \RuntimeException(call_user_func_array(array($this->user, 'lang'), $exception->getMessage()));
Code: Alles auswählen
throw new \RuntimeException($this->user->lang('VERSIONCHECK_FAIL'));