Not sure at what point this started happening, but I'm getting the following error in the apache logs:

[Thu Jun 26 09:03:19 2014] [error] [client 129.115.2.51] PHP Fatal error: Unsupported operand types in /x/x/drupal/sites/all/modules/merci/includes/api.inc on line 1005, referer: https://x.x.x.x/

Here is an overview of my drupal setup:
I have workstations that users can reserve, so the workstations have their own content type.
I have software that is installed on these workstations and both use an entity reference field so on both the workstation and software pages, one can see whats installed on a workstation, or what workstation a particular software package is installed on.

When I try to edit a software page, I get a blank page and the above error. When I try to edit the field on the software content type page, I also get a blank page and the same error above.

I found this issue https://www.drupal.org/node/1973392 and tried out that fix, but no change. My site had been out of date, so I updated all the various modules and core drupal to the latest at this time(7.28) but no change.

Comments

darrick’s picture

Are you creating any nodes via entityconnect or inline_entity_form? The issue you note most likely does have something to do with this. The fix there will only apply to future nodes created. Double check the merci_reservation_item_node and merci_resource_node table to make sure there are rows for the node with issues. Also check the merci_type_setting table to make sure there is an entry for the content_type.

If no entry in merci_type_setting edit the content_type and resave. If no entry in the other tables try creating a node via the node edit form and then use the entry to create entries for the missing nodes. If after all that you still have the issue when creating new nodes via entityconnect or inline_entity_form it may be because those forms aren't calling merci_node_insert.

darrick’s picture

Status: Active » Postponed (maintainer needs more info)