Jump to:
| Project: | SexyBookmarks |
| Version: | 6.x-2.0 |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
Hi,
I've been debugging for a while now and I think sexybookmarks is causing the issues I've had.
The setup I have is pretty basic and recently updated to all latest versions. Currently only have a few nodes as I'm still building.
The 3 modules involved in the issue are sexybookmarks, google_plusone and page_title module.
Before updating sexybookmarks to D6-2.0 everything was fine. Sexybookmarks were shown, so was Google+ button and the page titles were altered as expected. Since updating to 2.0 the node body field is NULL on some nodes and the Google+ button disappeared on all nodes. When I disable page_title module all problems are gone. I've filed an issue here; http://drupal.org/node/1017030
But I do think the problem somehow lies with sexybookmarks. As when I downgraded to D6-1.x everything worked fine again.
After hours of debugging I've tracked it down to line #180 in sexybookmarks .module
// Allow other modules to alter configuration.
//drupal_alter('sexybookmarks_config', $config, array(&$variables));When I comment the drupal_alter function everything is fine and dandy again. Not knowing exactly what it does I hope you can help check it out and solve this rather critical issue.
Cheers,
Bartezz
Comments
#1
Ok, I read that drupal_alter takes only two arguments, not 3.
So I've changed #180 to >code>drupal_alter('sexybookmarks_config', $config);
This got my node body back again! Nice... but the Google+ button is still gone unless I comment out the whole line...Edit: damnit, this was my cache... changing the arguments in the drupal_alter function didn't fix it... only commenting it helps.