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 8502429
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T01:28:59+00:00 2026-06-11T01:28:59+00:00

My custom registration form was working well with the version 1.2.* but when i

  • 0

My custom registration form was working well with the version 1.2.* but when i update symfony in 2.1 and FOSUserBundle in 2.0.*, I’ve got this problem that I don’t know how to resolve.

The error :

The type name specified for the service “kairos_user.registration_form_type” does not match the actual name. Expected “kairos_user_registration”, given “fos_user_registration”

My service definition :

services:
    kairos_user.registration_form_type:
        class: Kairos\UserBundle\Form\Type\RegistrationFormType
        arguments: [%fos_user.model.user.class%]
        tags:
            - { name: form.type, alias: kairos_user_registration }

And my config.yml

fos_user:
    db_driver: orm #cf kairos doctrine admin
    firewall_name: main
    user_class: Kairos\UserBundle\Entity\User
    registration:
        form:
            type: kairos_user_registration
  • 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-11T01:29:01+00:00Added an answer on June 11, 2026 at 1:29 am

    The alias of your registration form service must match the name returned by your registration form type class. In Kairos\UserBundle\Form\Type\RegistrationFormType try to change the return value of getName() method

    class RegistrationFormType extends AbstractType
    {
        // ...
        public function getName()
        {
            return 'kairos_user_registration';
        }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've got a problem when I want to override the FOSUserBundle registration Form. The
I have coded custom form validation. validation is working fine all browser but when
I have a client that needs a custom registration form. I need to make
i custom varnish 500 error page,but i found that it could not display chinese
My custom error messages quit working somewhere along the way and I'm getting this
I have made a form for client registration, and I can't make this postvalidators
I have a custom registration form. I am trying to redirect users to a
I have created custom registration form in drupal 6. i have used changed the
I have a custom user registration form at: somepath/register using hook form alter. I
I have a custom registration BrowserView where you have to extend some userdata (z3c.form

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.