eZ Community » Forums » Install & configuration » Fatal error: Call to a member...
expandshrink

Fatal error: Call to a member function fetchDataMap() on a non-object

Fatal error: Call to a member function fetchDataMap() on a non-object

Friday 09 September 2011 12:47:05 pm - 3 replies

this post has been removed, it had no further use.

Modified on Monday 17 February 2014 3:48:47 pm by Peter Frank

Friday 09 September 2011 1:14:06 pm

Hi Peter and welcome to the eZ Community, 

The issue is that $contentObject, on the line you quoted, is not an actual instance of eZContentObject, from which the data map (list of content attributes) can not be retrieved, causing the Fatal error.

The best way to move ahead on solving the issue is to give us more details as to how to reproduce the issue, the eZ Publish version, etc. Could you please file an issue in the issue tracker, with all details, and drop us the link to it here ?

Cheers,

Friday 09 September 2011 1:34:30 pm

Hi,

Nobody could have the same issue, because your issue is not from the eZ Publish Kernel or official extension. I guess ezflow_operator is a custom extension for your website, and i guess you do not have the author anymore around you ?

So maybe you could publish somewhere the whole custom PHP file, sometimes reading the file is enough to find a way to resolve an issue.

Saturday 10 September 2011 5:25:07 am

Once upon a time I was going crazy with a similar error, it may not be the case, but in my case I was assuming that using php eZ would fetch the node I wanted without any doubts, but eZ first checks if the user has the permission to read that object, if no it returns null, and then when you call a function in that null object you get this kind of errors.

Modified on Saturday 10 September 2011 5:26:49 am by Thiago Campos Viana

expandshrink

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

36 542 Users on board!

Forums menu

Proudly Developed with from