Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jhhazelaar opened this issue Mar 18, 2021 · 0 comments
Open

Comments

@jhhazelaar
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant