Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7841489
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T16:06:40+00:00 2026-06-02T16:06:40+00:00

$tip->setGame($em->getRepository(‘XXXBundle:Game’)->find($id)); $form = $this->createFormBuilder($tip)->add(‘player’, ‘entity’, array( ‘class’ => ‘XXXBundle::FootballPlayer’, /*’query_builder’ => function(\XXX\XXXBundle\Entity\FootballPlayerRepository $er) {

  • 0
$tip->setGame($em->getRepository('XXXBundle:Game')->find($id));
        $form = $this->createFormBuilder($tip)->add('player', 'entity', array(
        'class' => 'XXXBundle::FootballPlayer',
        /*'query_builder' => function(\XXX\XXXBundle\Entity\FootballPlayerRepository $er)
        {
          $er->findByCurteam($team->getName());
        },*/
    ))->getForm();

(not really using ‘XXX’ in my code)
error:

Warning: class_parents(): Class XXX\XXXBundle\Entity\ does not exist
and could not be loaded in
D:\www\xxx\xxx\vendor\doctrine\lib\Doctrine\ORM\Mapping\ClassMetadataFactory.php
line 223

seems the Entity class is not found – strange

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T16:06:42+00:00Added an answer on June 2, 2026 at 4:06 pm

    Something is strange in your code: 'class' => 'XXXBundle::FootballPlayer', are you sure :: exist? Never seen it, seems like a mistake (maybe can provoke the error).

    After testing, yes, it’s because of the double :: replace by :: 'class' => 'XXXBundle:FootballPlayer',.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I was reading this page : C++ Tip: How To Get Array Length .
I want to add a simple tool-tip and was curious if this was a
I've been trying every tip provided on this site, but none worked, so I'm
Can i show a Tool tip like this: Also, I want to show this
this code var tip = <p class='adobe-reader-download'>Most computers will open PDF documents automatically, but
Here is the URL: https://landfill.bugzilla.org/bugzilla-tip/ In my code I have this: Server server =
I tried this tip: https://github.com/thoughtbot/laptop/pull/14#issuecomment-3192270 . On deploy I see -----> Using RUBY_VERSION: ruby-1.9.3-p0
I found this great tip via Google, and I am well familiar with the
I am looking for a tip on how to optimize this.... SELECT u.uid, u.username,
I found this tip on a site. check problematic queries using MySQL server running

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.