Announcement

Collapse
No announcement yet.

FATAL ERROR when trying to delete a thread or post

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [Forum] FATAL ERROR when trying to delete a thread or post

    This happens like 50% of the time when we try to delete something:

    Fatal error: Existing data passed is not an array
    Called set_existing in [path]/editpost.php on line 1270
    Called require in [path]/vbseo.php on line 1397
    in [path]/includes/class_dm.php on line 265
    #0 vb_error_handler(256, Existing data passed is not an array
    Called set_existing in /home/servers/www.puff.com/www/forums/vb/editpost.php on line 1270
    Called require in /home/servers/www.puff.com/www/forums/vb/vbseo.php on line 1397
    , /home/servers/www.puff.com/www/forums/vb/includes/class_dm.php, 265, Array ([existing] => ,[line] =>
    Called set_existing in /home/servers/www.puff.com/www/forums/vb/editpost.php on line 1270
    Called require in /home/servers/www.puff.com/www/forums/vb/vbseo.php on line 1397
    ,[trace] => Array ([0] => Array ([file] => /home/servers/www.puff.com/www/forums/vb/editpost.php,[line] => 1270,[function] => set_existing,[class] => vB_DataManager,[object] => vB_DataManager_Forum Object ([validfields] => Array ([forumid] => Array ([0] => 3,[1] => 3,[2] => _-_mEtHoD_-_,[3] => verify_nonzero),[styleid] => Array ([0] => 2,[1] => 0,[2] => if ($data < 0) { $data = 0; } return true,[title] => Array ([0] => 7,[1] => 1,[2] => _-_mEtHoD_-_),[title_clean] => Array ([0] => 7,[1] => 1),[description] => Array ([0] => 7,[1] => 0,[2] => _-_mEtHoD_-_),[description_clean] => Array ([0] => 7,[1] => 0),[options] => Array ([0] => 101,[1] => 2),[displayorder] => Array ([0] => 3,[1] => 0),[replycount] => Array ([0] => 3,[1] => 0),[lastpost] => Array ([0] => 3,[1] => 0),[lastposter] => Array ([0] => 7,[1] => 0),[lastposterid] => Array ([0] => 7,[1] => 0),[lastpostid] => Array ([0] => 3,[1] => 0),[lastthread] => Array ([0] => 7,[1] => 0),[lastthreadid] => Array ([0] => 3,[1] => 0),[lasticonid] => Array ([0] => 2,[1] => 0),[lastprefixid] => Array ([0] => 9,[1] => 0),[threadcount] => Array ([0] => 3,[1] => 0),[daysprune] => Array ([0] => 2,[1] => 2,[2] => if ($data == 0) { $data = -1; } return true,[newpostemail] => Array ([0] => 7,[1] => 0,[2] => _-_mEtHoD_-_,[3] => verify_emaillist),[newthreademail] => Array ([0] => 7,[1] => 0,[2] => _-_mEtHoD_-_,[3] => verify_emaillist),[parentid] => Array ([0] => 2,[1] => 1,[2] => _-_mEtHoD_-_),[password] => Array ([0] => 8,[1] => 0),[link] => Array ([0] => 7,[1] => 0),[parentlist] => Array ([0] => 7,[1] => 2,[2] => return preg_match('#^(\d+,)*-1$#', $data),[childlist] => Array ([0] => 7,[1] => 2),[showprivate] => Array ([0] => 3,[1] => 0,[2] => if ($data > 3) { $data = 0; } return true,[defaultsortfield] => Array ([0] => 7,[1] => 0),[defaultsortorder] => Array ([0] => 7,[1] => 0,[2] => if ($data != "asc") { $data = "desc"; } return true,[imageprefix] => Array ([0] => 9,[1] => 0,[2] => _-_mEtHoD_-_),[vsa_ap_viewforum] => Array ([0] => 2,[1] => 0),[vsa_ap_viewthread] => Array ([0] => 2,[1] => 0),[vsa_ap_postthread] => Array ([0] => 2,[1] => 0),[vsa_ap_postreply] => Array ([0] => 2,[1] => 0),[vsa_ap_viewlink] => Array ([0] =

  • #2
    To troubleshoot this, first download a fresh copy of the vBulletin ZIP file from the Members Area then reupload all the original vB non-image files (except install.php). Make sure you upload these in ASCII format and overwrite the ones on the server. Also be sure to upload the admincp files to whichever directory you have set in your config.php file. Then run 'Suspect File Versions' in Diagnostics to make sure you have all the original files for your version and that none show 'File does not contain expected contents':

    Admin CP -> Maintenance -> Diagnostics -> Suspect File Versions

    [Note: In some cases you may also need to remove any of the listed .xml files in the includes/xml directory.]

    Next, disable all plugins.Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php:

    define('DISABLE_HOOKS', true);

    As you use vBSEO, you will also need to disable this via it's own Control Panel and rename any relevant .htaccess files to ensure they're not being called.

    Then if you still have this problem, create a new style and choose no parent style. This will force it to use the default templates. Finally empty your browser cache, close all browser windows then try again. Make sure you change to the new style and view your forums with it.

    Do you have the same problem?
    Vote for:

    - *Admin Settable Paid Subscription Reminder Timeframe*
    -
    *PM - Add ability to reply to originator only*
    - Add Admin ability to auto-subscribe users to specific channel(s)
    - "Quick Route" Interface...

    Comment

    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
    Working...
    X