e107inc/e107

View on GitHub
e107_plugins/forum/shortcodes/batch/post_shortcodes.php

Summary

Maintainability
A
0 mins
Test Coverage
D
61%

Invalid offset "thread_id" of array type array{}
Open

        $tmp = $this->forum->postGet($this->threadInfo['thread_id'], $start, $num);

Invalid offset "thread_total_replies" of array type array{}
Open

        $num = isset($this->threadInfo['thread_total_replies']) ? min($this->threadInfo['thread_total_replies'], $parm) : 0;

Invalid offset "thread_id" of array type array{}
Open

        $tmp = $this->forum->postGet($this->threadInfo['thread_id'], 0, 1);

Call with 2 arg(s) to \e_parse::toText() which only takes 1 arg(s) defined at /code/e107_handlers/e_parse_class.php:2158
Open

            $text = $tp->toText("[quote={$quoteName}]\n".$post."\n[/quote]\n",true);

Call to deprecated function \getperms() defined at /code/class2.php:1322
Open

        if (is_object($this->forum) && $this->forum->prefs->get('attach') && (check_class($uploadClass) || getperms('0')))

Invalid offset "thread_total_replies" of array type array{}
Open

        $start = isset($this->threadInfo['thread_total_replies']) ? max($this->threadInfo['thread_total_replies'] - $parm, 0) : 0;

Invalid operator: left operand of - is null (expected number)
Open

        $start = isset($this->threadInfo['thread_total_replies']) ? max($this->threadInfo['thread_total_replies'] - $parm, 0) : 0;

Invalid offset "breadcrumb" of array type array{}
Open

        return $_tmp['breadcrumb'];

Call to deprecated function \getperms() defined at /code/class2.php:1322
Open

        if(is_object($this->forum) &&  $this->forum->prefs->get('attach') && (check_class($pref['upload_class']) || getperms('0')))

There are no issues that match your filters.

Category
Status