I get this error when viewing structure > profile types (for profile2):

Notice: Undefined property: stdClass::$identifier in _ctools_export_unpack_object() (line 594 of /home/impactsurvey/htdocs/impact_dev/sites/default/modules/ctools/includes/export.inc).

Comments

merlinofchaos’s picture

Status: Active » Postponed (maintainer needs more info)

This one will require knowing more about what's going on at that exact moment to debug.

Does this happen *only* on the profile2 admin page? If so, maybe it's a profile2 issue. Though I don't see a dependency on ctools for profile2, so I don't know if there's really a link there or not.

sosiris’s picture

e2thex’s picture

I just had a similar issue with field_groups. And it turns out that I was missing a few db_updates on the field group module. They had add a field, and ctools was trying to find it. After I had those upgrades run, the issue went away.

(I am not sure how it happened but my system table had them run even though they had not been run yet)

ghmercado’s picture

Version: 7.x-1.0-alpha4 » 7.x-1.0-beta1

i get these all the time on my d7 header:

Notice: Undefined property: stdClass::$mode in _ctools_export_unpack_object() (line 775 of /home/myusersite/public_html/sites/all/modules/ctools/includes/export.inc)

particularly after a cron or clear cache.

site works alright however. After a page refresh the error goes away.

i have tried reinstalling to same results. i also have fieldgroups btw, could that be culprit?

tia

pglatz’s picture

Ditto; I see them after clearing all caches, but they disappear after that.

ghmercado’s picture

a new observation: I 100% consistently get those errors when i load:

/admin/structure/types/manage/blog/fields

or any content type. hope this helps track down the problem.

omercioglu’s picture

This is caused by custom_formatters module. I've installed this module in its early stages.
Now that i look at it's database schema(formatters table) i can see that the "mode" field is not there.
Also there are some left over examples which are not visible on the admin page. I've deleted these old entries, added a mode field to the table, fixed my old formatters accordingly and now the error is gone. You can also try uninstall/reinstall the module, but i don't think it will delete/fix these old data.
I guess an update function in needed to fix this schema/old data issue...

deciphered’s picture

omercioglu,

There is and will be no upgrade path from Custom Formatters 7.x-1.x -> 7.x-2.x as there was never an official 7.x-1.x release. If you uninstall and re-install the module you will have the correct schema.

omercioglu’s picture

I see.

Anonymous’s picture

Project: Chaos Tool Suite (ctools) » Custom Formatters
Version: 7.x-1.0-beta1 » 7.x-1.x-dev
Status: Postponed (maintainer needs more info) » Closed (won't fix)

As Deciphered recommends, backup your code, disable 1.x, uninstall, install 2.x.

bryancasler’s picture

subscribe

bryancasler’s picture

Just installed the 1.x version and then uninstalled it. Then I installed the 2.x version and uninstalled it. Let's see if that squares everything away.

bryancasler’s picture

It did not work

bryancasler’s picture

Enabling the 2.x version and seeing if that will somehow prevent the errors from occurring.

bryancasler’s picture

That does not work either.

bryancasler’s picture

Active discussion on the issue happening over here #1209576: problems with ctools on update.php and login pages