Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#1 | menu_icons-775714-1.patch | 949 bytes | skilip |
Comments
Comment #1
skilip CreditAttribution: skilip commentedCould you try this patch?
Comment #2
DnaX CreditAttribution: DnaX commentedThis work for me (using PostgreSQL 8.3).
Can you release the fix? :)
Comment #3
gionn CreditAttribution: gionn commentedWorks for me, please update the package.
Comment #4
reflectiondigital CreditAttribution: reflectiondigital commentedYes, this patch works and is still not present in 6.x-2.4.