Receiving this error whe trying to add an icon to a menu item. Any thoughts? Using version 6-x.2.2


* warning: pg_query() [function.pg-query]: Query failed: ERROR: syntax error at or near "attributes" LINE 1: UPDATE menu_links   SET options = "a:3:{s:10:"attributes";a:2:... ^ in /var/vwww/johnmurrayphotographer/html/includes/database.pgsql.inc on line 139.
* user warning: query: UPDATE menu_links SET options = "a:3:{s:10:"attributes";a:2:{s:5:"title";s:24:"Login to Photo  Organizer";s:5:"class";s:18:"menu_icon menu-991";}s:5:"alter";b:1;s:9:"menu_icon";a:2:{s:6:"enable";i:1;s:4:"path";s:48:"sites/default/files/menu_icons/menu_icon_991.png";}}" WHERE mlid = 991 in /var/vwww/johnmurrayphotographer/html/sites/all/modules/menu_icons/menu_icons.module on line 134.

CommentFileSizeAuthor
#1 menu_icons-775714-1.patch949 bytesskilip
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

skilip’s picture

Priority: Normal » Critical
Status: Active » Needs review
FileSize
949 bytes

Could you try this patch?

DnaX’s picture

This work for me (using PostgreSQL 8.3).

Can you release the fix? :)

gionn’s picture

Status: Needs review » Reviewed & tested by the community

Works for me, please update the package.

reflectiondigital’s picture

Yes, this patch works and is still not present in 6.x-2.4.