Hallo, Gast! (Registrieren)

Letzte Ankündigung: MyBB 1.8.8 veröffentlicht (17.10.16)


Benutzer, die gerade dieses Thema anschauen: 1 Gast/Gäste
[G] Undefinierte Variablen
#1
In Folgenden Daten sind undefinierte Variablen, oder anderweitige Fehler.

./inc/datahandlers/
pm.php:
function insert_pm(), line 348
undefined array $touser

post.php:
function insert_post(), line 716
undefined array $done_users

function insert_thread(), line 996, 997
undefined variable $pid
undefined variable $tid
PHP-Code:
$firstpostup = array("firstpost" => $pid);
$db->update_query(TABLE_PREFIX."threads"$firstpostup"tid='{$tid}'"); 
should be(?)
PHP-Code:
$firstpostup = array("firstpost" => $this->pid);
$db->update_query(TABLE_PREFIX."threads"$firstpostup"tid='{$this->tid}'"); 

user.php:
function verify_username(), line 99
undefined variable $bannedusername
undefined variable $missingname

function verify_profile_fields(), line 403
undefined variable $proferror

./inc/
class_xml.php
function get_tree(), line 42
undefined variable $vals
undefined variable $index
$vals could be a class object?
PHP-Code:
xml_parse_into_struct($parser$this->data$vals$index

class_plugins.php
function run_hooks(), line 100
undefined variable $returnargs

class_moderation.php
function delete_thread(), line 175
undefined array $userposts

class_language.php
function set_language(), line 90
undefined variable $langinfo

function load_language(), line 143
undefined array $l

function get_languages(), line 172
undefined array $langinfo

class_feedparaser.php
function parse_rss(), line 182
replace
PHP-Code:
$item['author'] = $fed_item['author']['value']; 
with
PHP-Code:
$item['author'] = $feed_item['author']['value']; 

function get_rss_timestamp(), line 226
undefined variable $time

class_diff.php
function reverse(), line 81
undefined variable $obj

function render(), line 1021,1022
undefined variables $x0, $y0

functions_forumlist.php
function build_forumbits(), line 86
undefined array $parent_lastpost

functions_post.php
function get_post_attaxgments(), line 524
undefined variable $tcount

functions_search.php
function clean_keywords_ft(), line 259
undefined variable $boolean

function perform_search_mysql(), line 449,452,456
449 undefined array $searchin
452 missing double quotes $mybb->user[usergroup]
456 undefined variable $fid

function perform_search_mysql_ft(), line 720, 726
720 undefined array $searchin
726 undefined variable $fid

functions.php
function build_forum_jump, line 1564
undefined array $jumpfcache
could it be, it's should be $fjumpcache?

(Ergänze die Liste in wenigen Minuten noch einmal)

Edit: Das wars für Heute.

Mfg Garlant
Ich gebe keinen Support per Messenger oder PN!