Currently using Textimage Autoinsert with Textimage 5.x-1.x-dev throws the following error:

Fatal error: Cannot use object of type stdClass as array in /path/to/module/textimage_autoinsert.module on line 117

This is due to a change I made in Teximage, which causes textimage_get_presets() to return an array of objects instead of an array or arrays.

Simple fix supplied in patch, will work with both old and new versions of textimage.

Comments

deciphered’s picture

Btw, the reason I marked this as a feature request instead of a bug report is that it's technically not a bug report yet as it only effects development versions of Textimage, however it will become a bug report when Textimage 2.1 is release, which I'm hoping to do within the week.

danielb’s picture

OK thanks for all this deciphered.

danielb’s picture

Status: Needs review » Patch (to be ported)
danielb’s picture

Status: Patch (to be ported) » Fixed

Status: Fixed » Closed (fixed)

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