samjarrett / DoctrineSluggableBundle

A Symfony2 bundle that provides a Doctrine2 sluggable behavior implementation, providing a unique slug across many Doctrine ORM entities simply by implementing a simple PHP interface
GNU Lesser General Public License v2.1
16 stars 4 forks source link

Illegal offset type #11

Closed rogerized closed 12 years ago

rogerized commented 12 years ago

Hi all,

somehow this bundle does not work anymore in my setup. If i comment the bundle out in the AppKernel i don't get this error.

''' ErrorException: Warning: Illegal offset type in vendor/symfony/symfony/src/Symfony/Bridge/Doctrine/ContainerAwareEventManager.php line 111 '''

This is my composer Setup:

"require": {
    "php": ">=5.3.3",
    "symfony/symfony": "2.1.*",
    "doctrine/orm": "2.2.*",
    "doctrine/doctrine-bundle": "dev-master",
    "doctrine/doctrine-fixtures-bundle": "dev-master",
    "twig/extensions": "dev-master",
    "symfony/assetic-bundle": "dev-master",
    "symfony/swiftmailer-bundle": "dev-master",
    "symfony/monolog-bundle": "dev-master",
    "sensio/distribution-bundle": "dev-master",
    "sensio/framework-extra-bundle": "dev-master",
    "sensio/generator-bundle": "dev-master",
    "jms/security-extra-bundle": "1.1.*",
    "jms/di-extra-bundle": "1.0.*",
    "mopa/bootstrap-bundle": "dev-master",
    "mopa/bootstrap-sandbox-bundle": "dev-master",
    "twitter/bootstrap": "master",
    "knplabs/knp-paginator-bundle": "dev-master",
    "knplabs/knp-menu-bundle": "dev-master",
    "craue/formflow-bundle": "dev-master",
    "mopa/remote-update-bundle": "dev-master",
    "friendsofsymfony/user-bundle": "dev-master",
    "samj/doctrine-sluggable-bundle": "dev-master"
},

Am i right here? Or is this problem related to something else. Thanks for your help.

samjarrett commented 12 years ago

Hi Roger,

The bundle currently doesn't support Symfony 2.1.

Feel free to make the updates if you want and submit a pull request, otherwise I'll update it when I get time!

Thanks, Sam

rogerized commented 12 years ago

Hi Sam,

Okay, i am working on some other stuff as well - maybe i find time to help. Thanks for answering!

Cheers, Roger