No announcement yet.

Hourly Cleanup error

  • Filter
  • Time
  • Show
Clear All
new posts

  • [Forum] Hourly Cleanup error

    Trying to trouble shoot automatic bans in infraction system. vBulletin 4.2.5

    The Hourly Cleanup task is giving me this error:

    Hourly Cleanup

    PHP Warning: array_merge(): Argument #1 is not an array in ..../includes/class_datastore.php on line 927
    The coide around that line says:

            // fetch anything remaining
            $items = $items ? array_merge($items, $unfetched_items) : $unfetched_items;
            if ($items = $this->prepare_itemlist($items, true))
                if (!($result = $this->do_db_fetch($items)))
                    return false;
            return true;
    Any suggestions?
    Psychlinks Mental Health Support Forum
    Local Search Forum

  • #2
    It is a warning not an error. You should turn off display errors on a production machine. However, neither Hourly Cleanup task calls the datastore directly. Do you have any plugins on the hooks within the hourly cleanup files? The hooks are cron_script_cleanup_hourly and cron_script_cleanup_hourly2
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud customization and demonstration site.
    vBulletin 5 Documentation - Updated every Friday. Report issues here.
    vBulletin 5 API - Full / Mobile
    I am not currently available for vB Messenger Chats.


    • #3
      I found one - a spambot stopper add-on. Disabled that. That resolved the error.

      Psychlinks Mental Health Support Forum
      Local Search Forum


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