When running the install.php script to install Acquia Commons I get the following error after the database step is complete:
Fatal error: Call to undefined function commons_groups_get_group_content_entity_types() in /var/www/vhosts/smoothprojects.co.uk/httpdocs/commons/profiles/commons/modules/contrib/commons_groups/commons_groups.features.field_instance.inc on line 13

Any help on how to resolve this would be appreciated.

Comments

socialtechno’s picture

I had exactly the same problem today, on the Acquia Stack version 7.14.14.

I only get this problem if I check "Install example content" on the screen "Enter Homepage welcome text"
I re-ran the install.php with "Install example content" UN-checked and it ran clean to the end.

This maybe a useful short-term workaround for some people, and a clue for diagnosis.

FWIW, I also tried subsituting the version of ..profiles/commons/modules/contrib/commons_groups that was distributed with Commons 3.0. This also runs clear if I don't install sample content, but when I checked the box, it finished with a different error:

Fatal error: Call to undefined function preg_filter() in I:\Sites\commons-7.x-3.1\profiles\commons\modules\contrib\commons_events\commons_events.module on line 477

Finally I tried the latest 7.x-3.x-dev release. This also runs clear if sample content is not requested, and finishes with "Fatal error: Call to undefined function preg_filter()" when the box is checked.

debushee’s picture

That's useful info - thanks.

By the way when I re-run the script I still get the error. Is there something that needs to be done before re-running the script? I am simply selecting install.php from the browser. Any help would be useful. Thanks.