When I try to revert a feature I get this error,

Warning: Invalid argument supplied for foreach() in fe_block_settings_features_revert() (line 160 of fe_block.module).

It looks like features_get_default is returning an empty array

Comments

paulsheldrake’s picture

Title: Block settings can be reverted » Block settings can't be reverted
mrfelton’s picture

I didn't get the error, but my block settings dont revert either.

penyaskito’s picture

It seems that $defaults is empty in some circunstances.

pfrenssen’s picture

Priority: Critical » Normal
Status: Active » Postponed (maintainer needs more info)

I can not replicate this problem, please give some more information on how this can be replicated.

pfrenssen’s picture

Title: Block settings can't be reverted » No defaults returned when trying to revert block settings.
pfrenssen’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

Closing for lack of response. If this is still a problem and you can provide some additional information on how to replicate it, feel free to reopen.