Skip to content
This repository was archived by the owner on Feb 24, 2026. It is now read-only.
This repository was archived by the owner on Feb 24, 2026. It is now read-only.

Could not determine how to assign acf to a Trendwerk\Faker\Entity\User #28

@jhhazelaar

Description

@jhhazelaar

Can't use acf on user fixtures.

UnexpectedValueException: Could not determine how to assign acf to a Trendwerk\Faker\Entity\User object in file /Users/user/.wp-cli/packages/vendor/nelmio/alice/src/Nelmio/Alice/Instances/Populator/Populator.php on line 104
Stack trace:
  1. UnexpectedValueException->() /Users/user/.wp-cli/packages/vendor/nelmio/alice/src/Nelmio/Alice/Instances/Populator/Populator.php:104
  2. Nelmio\Alice\Instances\Populator\Populator->populate() /Users/user/.wp-cli/packages/vendor/nelmio/alice/src/Nelmio/Alice/Fixtures/Loader.php:309
  3. Nelmio\Alice\Fixtures\Loader->populateObjects() /Users/user/.wp-cli/packages/vendor/nelmio/alice/src/Nelmio/Alice/Fixtures/Loader.php:147
  4. Nelmio\Alice\Fixtures\Loader->load() /Users/user/.wp-cli/packages/vendor/trendwerk/faker/src/Faker.php:32
  5. Trendwerk\Faker\Faker->getObjectCount() /Users/user/.wp-cli/packages/vendor/trendwerk/faker/src/Command.php:23
  6. Trendwerk\Faker\Command->fake() phar:///usr/local/Cellar/wp-cli/2.4.0/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/CommandFactory.php:98
  7. call_user_func() phar:///usr/local/Cellar/wp-cli/2.4.0/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/CommandFactory.php:98
  8. WP_CLI\Dispatcher\CommandFactory->WP_CLI\Dispatcher\{closure}() phar:///usr/local/Cellar/wp-cli/2.4.0/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/Subcommand.php:489
  9. call_user_func() phar:///usr/local/Cellar/wp-cli/2.4.0/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/Subcommand.php:489
 10. WP_CLI\Dispatcher\Subcommand->invoke() phar:///usr/local/Cellar/wp-cli/2.4.0/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php:380
 11. WP_CLI\Runner->run_command() phar:///usr/local/Cellar/wp-cli/2.4.0/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php:403
 12. WP_CLI\Runner->run_command_and_exit() phar:///usr/local/Cellar/wp-cli/2.4.0/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php:1174
 13. WP_CLI\Runner->start() phar:///usr/local/Cellar/wp-cli/2.4.0/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LaunchRunner.php:23
 14. WP_CLI\Bootstrap\LaunchRunner->process() phar:///usr/local/Cellar/wp-cli/2.4.0/bin/wp/vendor/wp-cli/wp-cli/php/bootstrap.php:74
 15. WP_CLI\bootstrap() phar:///usr/local/Cellar/wp-cli/2.4.0/bin/wp/vendor/wp-cli/wp-cli/php/wp-cli.php:27
 16. include() phar:///usr/local/Cellar/wp-cli/2.4.0/bin/wp/php/boot-phar.php:11
 17. include() /usr/local/Cellar/wp-cli/2.4.0/bin/wp:4

WP-cli: WP-CLI 2.5.0-alpha-9061b3e
PHP: 7.4.15

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions