Questions tagged [stofdoctrineextensions]
81 questions
0
votes
1 answer
Access to undeclared static property: Gedmo\Uploadable\Mapping\Validator::$validateWritableDirectory Symfony2
please, why it wrotes me this error: ** Access to undeclared static property: Gedmo\Uploadable\Mapping\Validator::$validateWritableDirectory** ??
My files:
http://pastebin.com/s4VzMZW7 config.yml
http://pastebin.com/JqfkmAEy …

Jan Kožušník
- 683
- 3
- 16
- 30
0
votes
1 answer
Symfony exception when registering new Doctrine event subscriber (SoftDeleteable)
I'm using Symfony 2.3 with Sonata Admin Bundle with DoctrineExtensions (which is enabled by StofDoctrineExtensionsBundle). I enabled, configured and successfully tested SoftDeleteable and Timestampable components.
Now, when I try adding another…

TautrimasPajarskas
- 2,686
- 1
- 32
- 40
0
votes
1 answer
Doctrine Tree path iteration in Symfony 2
I have variable $path which contains the array of the names of sibling categories. Using this variable I would like to create a new array $categories_children, that would contain the array of children of each category from $path array according to…

Ladislav M
- 2,157
- 4
- 36
- 52
0
votes
2 answers
Symfony2 - StofDoctrineExtensionBundle
I have installed the StofDoctrineExtensionsBundle and am having trouble getting it to work.
Here is my composer.json config:
.....
"require": {
"php": ">=5.3.3",
"symfony/symfony": "2.2.*",
"doctrine/orm": "~2.2,>=2.2.3",
…

Shawn Northrop
- 5,826
- 6
- 42
- 80
-1
votes
1 answer
How to getParentId of Gedmo Tree element using symfony3, doctrine2 and stofDoctrineExtensionsBundle
Introduction
I am using Symfony v3.1.6, Doctrine v2.5.4 and StofDoctrineExtensionsBundle [1] in order to manage Tree structure.
To setup Tree structure I used documentation on Symfony.com [2] followed by documentation on GitHub [3]. Then I proceeded…

Rikijs
- 728
- 1
- 12
- 48
-1
votes
1 answer
Argument 1 error while configuring Gedmo tree repoository with traits using Symony3 and stofDoctrineExtensionsBundle
I am getting error:
Type error: Argument 1 passed to AppBundle\Repository\CategoryRepository::__construct()
must be an instance of AppBundle\Repository\EntityManager,
instance of Doctrine\ORM\EntityManager given,
called in…

Rikijs
- 728
- 1
- 12
- 48