What are the Slack Archives?
Itβs a history of our time together in the Slack Community! Thereβs a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.
Because this space is not active, you wonβt be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..
Hello Everyone, I am creating a form to add new data but facing issue in it ,I have defined ContactD

Hello Everyone, I am creating a form to add new data but facing issue in it ,I have defined ContactDataFormType.php in directory ContactData/Communication/Form/
Comments
-
It seems like something in your module tries to access the DependencyProvider and it is not there. I would first look for what tris to access and decide if you need this or not. if you need the DependencyProvider then I would create it
0 -
Can you please try to form one message before you press βsubmitβ in slack? or use the thread function. with this it is also easier to follow the message flowβ¦
0 -
yes please help me
0 -
-
indexAction in AddController
0 -
what is your CommunicationFactory look like?
0 -
-
communicationfactory
0 -
in any of your Factories (business, communication, persistence) is there anything trying to access dependencies? i.e.
->getProvidiedDependencies()
0 -
no
0 -
i have not used dependencies
0 -
you likely do somehow π can you share more about the exception trace? in your screenshot with the exception you can scroll down on the left side
0 -
ok
0 -
-
you have not scrolled down yet for that screenshot
0 -
bottom left of the picture
0 -
-
-
-
i think there is still something missing from the middle-part of that trace. can you share one screenshot without scrolling completely to the bottom?
0 -
ok
0 -
-
ok, so if you read carefully through the trace you will notice that
getFormFactory()
needs the dependencyprovider π0 -
so which type of dependencies it need
0 -
and how i can add them in formfactory
0 -
so likely just an empty ContactDataDependencyProvider class (so it has already the helper functions available)
0 -
yes i have the ContactDatadependencyProvider.php file but it empty
0 -
what kind of functions i should write here and how
0 -
i think no need to add extra functions. just the class which extends from the right AbstractDependencyProvider
0 -
the AbstractDependencyProvider should likely have all what is needed for now
0
Categories
- All Categories
- 38 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 33 Spryker News
- 549 Developer Corner
- 420 Spryker Development
- 54 Spryker Dev Environment
- 284 Spryker Releases
- 30 Propel ORM
- 46 Community Projects
- 6 Gacela Project
- 3 PHP Bridge
- 21 Hackathon
- 3.2K π Slack Archives
- 115 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random
- 4 Code Testing
- 23 Product & Business Questions
- 44 Spryker Safari Questions
- 36 The Blackhole