warning: Invalid argument supplied for foreach() in /var/aegir/hostmaster-6.x-1.8/includes/common.inc on line 1680.

fix as Steven Jones mentioned in IRC

/var/aegir/hostmaster-6.x-1.8/profiles/hostmaster/modules/hosting/web_pack/hosting_web_pack.service.inc
line 44: add slave_servers = array();

$master_servers = array();
$slave_servers = array();
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Steven Jones’s picture

Status: Active » Needs review
FileSize
656 bytes

Patch attached.

Steven Jones’s picture

Status: Needs review » Reviewed & tested by the community

From IRC:

<@darthsteven> if you find and edit hosting_web_pack.service.inc
<@darthsteven> line 46
<@darthsteven> says:
<@darthsteven> $master_servers = array();
<@darthsteven> add below that
<@darthsteven> $slave_servers = array();
<@darthsteven> and see if that makes them go away
<@wroxbox> darthsteven: fixed!
Steven Jones’s picture

Status: Reviewed & tested by the community » Fixed

Committed to 6.x-1.x and 6.x-2.x.

Steven Jones’s picture

@wroxbox Thanks very much for the bug report and the test!

Steven Jones’s picture

Title: Warningns after enabling "web pack" » Warnings after enabling "web pack"

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

  • Commit 61cb0f5 on 6.x-2.x, dev-ssl-ip-allocation-refactor, dev-1205458-move_sites_out_of_platforms, 7.x-3.x, dev-588728-views-integration, dev-1403208-new_roles, dev-helmo-3.x by Steven Jones:
    Issue #1550284 by Steven Jones | wroxbox: Fixed Warningns after enabling...

  • Commit 61cb0f5 on 6.x-2.x, dev-ssl-ip-allocation-refactor, dev-1205458-move_sites_out_of_platforms, 7.x-3.x, dev-588728-views-integration, dev-1403208-new_roles, dev-helmo-3.x by Steven Jones:
    Issue #1550284 by Steven Jones | wroxbox: Fixed Warningns after enabling...