Running this code:

sudo -u www-data drush site-install --db-url=mysql://commons:commons@localhost/commons --site-name=QASite --account-name=admin --account-pass=commons --account-mail=admin@example.com --site-mail=site@example.com -v -y commons commons_anonymous_welcome_text_form.commons_anonymous_welcome_title="Oh hai" commons_anonymous_welcome_text_form.commons_anonymous_welcome_body="No shirts, no shoes, no service." commons_create_first_group.commons_first_group_title="Internet people" commons_create_first_group.commons_first_group_body="Aloha"

Will lead to a few warnings triggered by the commons_follow_node module during setup:

/vagrant/commons_files/profiles/commons/modules/contrib/commons_follow/commons_follow_node/commons_follow_node.module).
WD php: Warning: in_array() expects parameter 2 to be array, null [warning]
given in commons_follow_node_follow_node() (line 117 of
/vagrant/commons_files/profiles/commons/modules/contrib/commons_follow/commons_follow_node/commons_follow_node.module).
WD php: Notice: Trying to get property of non-object in [notice]
commons_follow_node_follow_node() (line 117 of
/vagrant/commons_files/profiles/commons/modules/contrib/commons_follow/commons_follow_node/commons_follow_node.module).
WD php: Warning: in_array() expects parameter 2 to be array, null [warning]
given in commons_follow_node_follow_node() (line 117 of
/vagrant/commons_files/profiles/commons/modules/contrib/commons_follow/commons_follow_node/commons_follow_node.module).
WD php: Notice: Trying to get property of non-object in [notice]
commons_follow_node_follow_node() (line 117 of
/vagrant/commons_files/profiles/commons/modules/contrib/commons_follow/commons_follow_node/commons_follow_node.module).
WD php: Warning: in_array() expects parameter 2 to be array, null [warning]
given in commons_follow_node_follow_node() (line 117 of
/vagrant/commons_files/profiles/commons/modules/contrib/commons_follow/commons_follow_node/commons_follow_node.module).
WD php: Notice: Trying to get property of non-object in [notice]
commons_follow_node_follow_node() (line 117 of
/vagrant/commons_files/profiles/commons/modules/contrib/commons_follow/commons_follow_node/commons_follow_node.module).
WD php: Warning: in_array() expects parameter 2 to be array, null [warning]
given in commons_follow_node_follow_node() (line 117 of
/vagrant/commons_files/profiles/commons/modules/contrib/commons_follow/commons_follow_node/commons_follow_node.module).
WD php: Notice: Trying to get property of non-object in [notice]
commons_follow_node_follow_node() (line 117 of
/vagrant/commons_files/profiles/commons/modules/contrib/commons_follow/commons_follow_node/commons_follow_node.module).
WD php: Warning: in_array() expects parameter 2 to be array, null [warning]
given in commons_follow_node_follow_node() (line 117 of
/vagrant/commons_files/profiles/commons/modules/contrib/commons_follow/commons_follow_node/commons_follow_node.module).
WD php: Notice: Trying to get property of non-object in [notice]
commons_follow_node_follow_node() (line 117 of
/vagrant/commons_files/profiles/commons/modules/contrib/commons_follow/commons_follow_node/commons_follow_node.module).
WD php: Warning: in_array() expects parameter 2 to be array, null [warning]
given in commons_follow_node_follow_node() (line 117 of
/vagrant/commons_files/profiles/commons/modules/contrib/commons_follow/commons_follow_node/commons_follow_node.module).

Comments

lsolesen’s picture

Version: » 7.x-3.x-dev