Hi,
i get the following error while trying to access admin/structure/flags/manage/flagname
PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'default_weight' in 'field list': SELECT default_weight FROM {flags} WHERE fid = :fid; Array ( [:fid] => 2 ) in _flag_weights_get_default_weight() (Zeile 182 von /home/xyz/Sites/my.site.com/sites/all/modules/flag_weights/flag_weights.module).
I have installed Flag module (Flag 7.x-2.0) and created a new flag for a custom content type before i installed Flag Weight 7.x-1.0. After activating the module i tried to edit my flag and got the above error.
Any help appreciated! Thx!
Comments
Comment #1
purvimehta CreditAttribution: purvimehta commentedHello Folks,
Anyone have idea how to resolve this issue?For me too it creates a problem when trying to edit flag.It shows the error of PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'default_weight' in 'field list': SELECT default_weight FROM {flag} WHERE fid = :fid; Array ( [:fid] => 11 ) in _flag_weights_get_default_weight().
Someone Please Help!!
Thanks,
Purvi Mehta
Comment #2
jay.lee.bio CreditAttribution: jay.lee.bio commentedTry this:
1) Disable the module.
2) UNINSTALL the module.
3) Patch (https://www.drupal.org/node/1877304, #1) the module.
4) Enable the patched module.