Declaration of DevPackageExportAction::nextLoop()

Bitte in den Beiträgen keine externe Bilder einbinden, sondern nur die Dateianhänge verwenden.
Vielen dank.
  • Ich habe in meinem wBB3 ein älteres Plugin welches nun Folgenden Fehler ausschmeisst.

    Fatal error: PHP error in file httpdocs/wcf/lib/acp/action/DevPackageExportAction.class.php (7):
    Declaration of DevPackageExportAction::nextLoop() should be compatible with WorkerAction::nextLoop($title = 'wcf.acp.wo...', $url = NULL)

    In derDevPackageExportAction.class.php habe ich folgendes zu nextLoop gefunden.

    [php]
    class DevPackageExportAction extends WorkerAction { Zeile 7
    public $packageID = 0;
    public $package;
    public $exportedPips = array();
    public $steps = array('start', 'acpMenu', 'acpTpl', 'acptplpatch', 'bbcode', 'cronjob', 'eventlistener', 'groupOption', 'pagemenu', 'help', 'options', 'files', 'sql', 'pagelocation', 'smt', 'template', 'tplpatch', 'usercpmenu', 'userOption', 'userProfileMenu');
    public $updateVersions = array();
    [/php]

    [php]
    /**
    * Forwards to next loop.
    *
    * @param string $title
    * @param string $url
    */
    protected function nextLoop($title = 'wcf.acp.worker.progress.working', $url = null) {
    if ($url === null) $url = 'index.php?action='.$this->action.'&limit='.$this->limit.'&loop='.($this->loop + 1).'&packageID='.PACKAGE_ID.SID_ARG_2ND_NOT_ENCODED;
    WCF::getTPL()->assign(array(
    'stepTitle' => WCF::getLanguage()->get($title),
    'url' => $url
    ));
    WCF::getTPL()->display('workerNext');
    exit;
    }
    [/php]

    [php]
    /**
    * @see WorkerAction::nextLoop()
    */
    protected function nextLoop($title = 'wcf.acp.worker.progress.working') {
    parent::nextLoop($title, 'index.php?action=DevPackageExport&loop='.($this->loop + 1).'&activePackageID='.$this->packageID.'&packageID='.PACKAGE_ID.SID_ARG_2ND_NOT_ENCODED);
    }
    [/php]

    [php]
    /**
    * @see Action::execute()
    */
    public function execute() {
    parent::execute();
    $this->calcProgress($this->loop, count($this->steps)-1);
    WCF::getTPL()->assign(array(
    'loop' => $this->loop,
    'activePackageID' => $this->packageID
    ));
    if ($this->loop < count($this->steps)) {
    // Get Updates
    $sql = "SELECT version FROM wcf".WCF_N."_dev_versionlog WHERE packageID = ".$this->packageID;
    $result = WCF::getDB()->sendQuery($sql);
    while ($row = WCF::getDB()->fetchArray($result)) {
    $this->updateVersions[] = $row['version'];
    }
    usort ($this->updateVersions, array('Package', 'compareVersion'));

    $classname = ucfirst($this->getStepName($this->steps[$this->loop])).'Exporter';
    require_once($this->getStepClassPath($this->steps[$this->loop]).$classname.'.class.php');
    $exporter = new $classname($this->packageID, $this->package, $this->updateVersions);

    if (is_array($this->steps[$this->loop]))
    $this->exportedPips = $exporter->export($this->exportedPips, $this->steps[$this->loop]['params']);
    else
    $this->exportedPips = $exporter->export($this->exportedPips);
    WCF::getSession()->register('exportedPips'.$this->packageID, $this->exportedPips);
    }

    if ($this->loop == count($this->steps)-1)
    $this->finish('wcf.acp.worker.progress.finish', 'index.php?form=DevPackageExport&packageID='.PACKAGE_ID.SID_ARG_2ND_NOT_ENCODED);
    else
    $this->nextLoop('wcf.acp.dev.export.'.$this->getStepName($this->steps[$this->loop+1]));
    }

    [/php]

    Was kann/muss ich machen um den Fehler zu beheben?