wachterjohannes / sulu-sylius-integration

Bootstrap repository which contains glue to run sulu-sylius example application
MIT License
2 stars 0 forks source link

Doesn't work on PHP > 7.1 #1

Open joepub opened 3 years ago

wachterjohannes commented 3 years ago

@joepub this repository was only an experiment - maybe i can help you if you can provide more information

joepub commented 3 years ago

Hi,

Sorry please remove the issue as it’s probably not appropriate.

Thank you for replying, very much appreciated.

When I run ‘composer update’ in the sulu-sylius folder I get the following error when using php7.2, I would be very grateful if you could help, I tried updating Elastic Search but ran into se viral other errors,

————————————————————————————————————————————————————————————————————————————— Compile Error: Cannot use ONGR\ElasticsearchBundle\Annotation\Object as Obj ect because 'Object' is a special class name

Script Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache handling the post-update-cmd event terminated with an exception

[RuntimeException]
An error occurred when executing the "'cache:clear --no-warmup'" command:

Fatal error: Cannot use ONGR\ElasticsearchBundle\Annotation\Object as Object because 'Object' is a special class name in /Users/tw/Sites/sulu-sylius/sulu-sylius-integrati
on/sulu-sylius/vendor/sulu/article-bundle/Document/TagViewObject.php on line 14

In TagViewObject.php line 14:

Compile Error: Cannot use ONGR\ElasticsearchBundle\Annotation\Object as Object because 'Object' is a special class name
—————————————————————————————————————————————————————————————————————————————

Regards, Jpublic

On 11 Jan 2021, at 08:00, Johannes Wachter notifications@github.com wrote:

@joepub https://github.com/joepub this repository was only an experiment - maybe i can help you if you can provide more information

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/wachterjohannes/sulu-sylius-integration/issues/1#issuecomment-757686858, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASKTSN75FSSUFGS6DAISD4TSZKV2JANCNFSM4VRNHHMQ.

joepub commented 3 years ago

Hi,

Sorry please remove the issue as it’s probably not appropriate.

Thank you for replying, very much appreciated.

When I run ‘composer update’ in the sulu-sylius folder I get the following error when using php7.2, I would be very grateful if you could help, I tried updating Elastic Search but ran into se viral other errors,

————————————————————————————————————————————————————————————————————————————— Compile Error: Cannot use ONGR\ElasticsearchBundle\Annotation\Object as Obj ect because 'Object' is a special class name

Script Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache handling the post-update-cmd event terminated with an exception

[RuntimeException]
An error occurred when executing the "'cache:clear --no-warmup'" command:

Fatal error: Cannot use ONGR\ElasticsearchBundle\Annotation\Object as Object because 'Object' is a special class name in /Users/tw/Sites/sulu-sylius/sulu-sylius-integrati
on/sulu-sylius/vendor/sulu/article-bundle/Document/TagViewObject.php on line 14

In TagViewObject.php line 14:

Compile Error: Cannot use ONGR\ElasticsearchBundle\Annotation\Object as Object because 'Object' is a special class name
—————————————————————————————————————————————————————————————————————————————

Regards, Jpublic

On 11 Jan 2021, at 08:00, Johannes Wachter <notifications@github.com mailto:notifications@github.com> wrote:

@joepub https://github.com/joepub this repository was only an experiment - maybe i can help you if you can provide more information

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/wachterjohannes/sulu-sylius-integration/issues/1#issuecomment-757686858, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASKTSN75FSSUFGS6DAISD4TSZKV2JANCNFSM4VRNHHMQ.