I am also using "editable fields" and often when I change a value through the editable drop down (on a field NOT using computed_field), i get this error
error : warning: Invalid argument supplied for foreach() in /home/XXX/public_html/sites/all/modules/computed_field/computed_field.module(161) : eval()'d code on line 1.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ruralrooster’s picture

Version: 6.x-1.0-beta1 » 6.x-1.0-beta3
ruralrooster’s picture

I also get the error when editing the view.

Moonshine’s picture

Category: bug » support
Status: Active » Postponed (maintainer needs more info)

I'm not familiar with "editable fields" module, but it seems like something you are looping through in your computed code isn't available as part of it's it's node saving process. I'd start by looking at your code to see what variable isn't being found, you may be able to work around it there after some debugging. Either why, this issue would need more information for someone to help.

ruralrooster’s picture

still happening

ruralrooster’s picture

I figured it out. One of the fields was set as an integer type, while the rest are float.

dqd’s picture

Issue summary: View changes
Status: Postponed (maintainer needs more info) » Closed (outdated)

Due to the Drupal core life cycle policy and security support advisery, Drupal 6 is no longer supported. So issues for Drupal 6 cannot be longer maintained. The project maintainer has asked for closing all D6 issues to clean up the issue queue. Feel free to reopen the issue if required or set it to "needs to be ported" and latest D8 dev version, if the issue discusses a still missing feature which can be implemented in the D8 version.