After creation of context-node in Panels I've got these errors:

Notice: Undefined variable: id in ctools_context_create_entity() (line 81 of Z:\home\paris9.kz\www\emploi\sites\all\modules\ctools\plugins\contexts\entity.inc).
Warning: array_flip() [function.array-flip]: Can only flip STRING and INTEGER values! in DrupalDefaultEntityController->load() (line 178 of Z:\home\paris9.kz\www\emploi\includes\entity.inc).
Notice: Undefined variable: id in ctools_context_create_entity() (line 82 of Z:\home\paris9.kz\www\emploi\sites\all\modules\ctools\plugins\contexts\entity.inc).
Notice: Undefined variable: id in ctools_context_create_entity() (line 81 of Z:\home\paris9.kz\www\emploi\sites\all\modules\ctools\plugins\contexts\entity.inc).
Warning: array_flip() [function.array-flip]: Can only flip STRING and INTEGER values! in DrupalDefaultEntityController->load() (line 178 of Z:\home\paris9.kz\www\emploi\includes\entity.inc).
Notice: Undefined variable: id in ctools_context_create_entity() (line 82 of Z:\home\paris9.kz\www\emploi\sites\all\modules\ctools\plugins\contexts\entity.inc).
Notice: Undefined index: context_entity:node_1 in theme_ctools_context_list() (line 200 of Z:\home\paris9.kz\www\emploi\sites\all\modules\ctools\includes\context.theme.inc).
Notice: Undefined variable: id in ctools_context_create_entity() (line 81 of Z:\home\paris9.kz\www\emploi\sites\all\modules\ctools\plugins\contexts\entity.inc).
Warning: array_flip() [function.array-flip]: Can only flip STRING and INTEGER values! in DrupalDefaultEntityController->load() (line 178 of Z:\home\paris9.kz\www\emploi\includes\entity.inc).
Notice: Undefined variable: id in ctools_context_create_entity() (line 82 of Z:\home\paris9.kz\www\emploi\sites\all\modules\ctools\plugins\contexts\entity.inc).
Notice: Undefined variable: id in ctools_context_create_entity() (line 81 of Z:\home\paris9.kz\www\emploi\sites\all\modules\ctools\plugins\contexts\entity.inc).
Warning: array_flip() [function.array-flip]: Can only flip STRING and INTEGER values! in DrupalDefaultEntityController->load() (line 178 of Z:\home\paris9.kz\www\emploi\includes\entity.inc).
Notice: Undefined variable: id in ctools_context_create_entity() (line 82 of Z:\home\paris9.kz\www\emploi\sites\all\modules\ctools\plugins\contexts\entity.inc).
Notice: Undefined index: context_entity:node_1 in theme_ctools_context_list() (line 200 of Z:\home\paris9.kz\www\emploi\sites\all\modules\ctools\includes\context.theme.inc).

I've created before many context nodes, don't know why it appeared now.

Comments

clashar’s picture

actually problem seems to be related to the same issue as in #1236066: Creating a manual context filter in a variant in the UI does not save on the first time
But not sure, so wouldn't close as duplicate yet.

samhassell’s picture

Related to http://drupal.org/node/1241170, possibly a duplicate. Theres a patch on the other issue that needs testing too.

clashar’s picture

maybe related, but not sure a duplicate, patch 7 didn't help at all.
As before obliged to edit context twice, then it saved ok.

killua99’s picture

Another notice:

Notice: Undefined variable: final_resource en services_edit_form_endpoint_resources_submit() (línea 396 de ~/sites/all/modules/services/plugins/export_ui/services_ctools_export_ui.class.php).

In services setup page.

merlinofchaos’s picture

#4 is clearly services module, not related to this at all.

killua99’s picture

Sure it's, just see ctools and didn't pay attention to the entery path.

merlinofchaos’s picture

The actual notice given in the original issue should've been fixed by http://drupalcode.org/project/ctools.git/commit/7d590e8ec44ccb8a5460904e...

however, that commit was already in -dev at the time. However it was not in the -rc that was released at the time the issue was filed. It's possible the issue was filed against the wrong version.

merlinofchaos’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.