This site has been archived. To learn more about our current products Ibexa Content, Ibexa Experience, Ibexa Commerce head over to the Ibexa Developer Portal

eZ Community » Forums » eZ Publish 5 Platform » Create content from Symfony stack

Create content from Symfony stack

Create content from Symfony stack

Tuesday 29 October 2013 10:20:40 am - 6 replies


I try to create content from symfony with de createContentCommand from the cookbookBundle.

But I've got this error : SQLSTATE[42S22]: Column not found: 1054 Unknown column 'priority' in 'field list'

I have try to update my distribution files with the latest ezpublish-community-2013.09, and I've got again this error.

If you can help me to understand.

Tuesday 29 October 2013 11:05:58 am

Hi Fabrice

can you be a bit more specific, e.g. adding the URL of the documentation page you are referring to, or attaching the code you are using as a GIST?

I guess you are not referring to my talk at the summercamp

Regards, Donat

Tuesday 29 October 2013 11:22:58 am

Hi Fabrice

I think you missed this step in the upgrade procedure.

Tuesday 29 October 2013 11:48:42 am

Hi Jérôme, Donat,

Thank you for your response.

Jérôme, I have done this steps in the upgrade process.

The code I use is :

The error throws in this call :

$draft = $contentService->createContent( $contentCreateStruct, array( $locationCreateStruct ) );


Thank you.

Tuesday 29 October 2013 2:26:03 pm

Hi Fabrice,

it looks like database upgrade script is not complete, changes introduced in #778 are missing.

For the missing queries see here:

Tuesday 29 October 2013 2:54:27 pm

Hi Petar,

Thank you. The database script solves my problem.

Tuesday 29 October 2013 3:17:19 pm

Good catch Petar!

I just added these additional instructions to the upgrade procedure.

Thank you! 


You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from