ekino / ekino-wordpress-symfony

43 stars 13 forks source link

Work with sf3 ? #11

Open epci opened 8 years ago

epci commented 8 years ago

I have a problem with this plugin and sf3

when i try to activate the plugin, i have an error :

Fatal error: Call to undefined method appDevDebugProjectContainer::enterScope() in /home/ed/workspace/tools/wordpress-symfony/wordpress/wp-content/plugins/ekino-wordpress-symfony-master/core.php on line 28

(i change line 19 and 20 to work with the new directory structure)

    require_once sprintf('%s/app/autoload.php', WP_SYMFONY_PATH);
    require_once sprintf('%s/app/AppKernel.php', WP_SYMFONY_PATH);
petitbx commented 8 years ago

Hi epci,

I just want to know if you find a solution because I have the same problem on my computer,

Thanks.

steffi2392 commented 8 years ago

Hi - I have the same issue. Has anyone found a workaround?

amir-ucl commented 8 years ago

Yes and me! Please any ideas?

hackzilla commented 7 years ago

I've forked off #12 to use the sf3 fixes. I am not sure if this repo is maintained anymore, but it is proving useful to me.

There is are branch combo that combines #12, #16, and #17.

If you are using composer then you can add this to override the repository.

    "repositories":[
        {
            "type": "vcs",
            "url": "https://github.com/hackzilla/ekino-wordpress-symfony"
        }
    ]

With this as the composer requirement.

        "ekino/ekino-symfony": "dev-combo",

If anyone is interested in knowing more then I will be happy to provide more information.