The following error occurs on certain content typesin the apache log files when annotation_image is enabled and comments option is changed from 'disabled' to 'read only' or read/write' on node:
PHP Fatal error: Cannot access empty property in [..]sites/all/modules/annotation/annotation_image/annotation_image.module on line 122.

If annotation_image module is disabled, error does not recur.

Issue only occurs on certain custom content types (attached). Error does not occur on content type 'caselaw' but does occure on content type 'numbered_act'.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Jaesin’s picture

I've run across the same issue. Looks like some error checking should be done here.

Jaesin’s picture

Patched it up with some error checking.

Jaesin’s picture

I made that last patch from the wrong folder. Try this one.

Applies to 6.x-1.x commit hash: 9fc1fb4.

BrockBoland’s picture

Version: master » 6.x-1.x-dev
Issue summary: View changes
Status: Active » Needs review

Fixed version and status.