Announcement

Collapse
No announcement yet.

Hourly Cleanup error

Collapse
X
  • 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:

    Code:
            // 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;
                }
            }
    
            $this->check_options();
            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.

    Comment


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

      Thanks.
      Psychlinks Mental Health Support Forum
      Local Search Forum

      Comment

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