Upgraded to Drupal 6.17 and Token token-6.x-1.13 and now any page displaying "'Rep[lacement]Tags - Help' section" causes an apache error and page won't load.

PHP Fatal error:  Call to undefined function theme_token_help() in sites/all/modules/reptag/tags/token.tags.inc on line 21

The quick fix is to disable "Show 'Rep[lacement]Tags - Help' section on add/edit node pages" on /admin/settings/reptag/admin

CommentFileSizeAuthor
#5 820822.patch556 bytesgeerlingguy

Comments

beyond67’s picture

Subscribe

geerlingguy’s picture

I'm getting:

Fatal error: Call to undefined function theme_token_help() in ~/reptag/tags/token.tags.inc on line 21

anodyne’s picture

This can be fixed by changing the contents of _reptag_token_help() inside token.tags.inc:

function _reptag_token_help() {
return theme('token_help', 'node');
}

Thanks to Dave Reid who mentioned this in a post on the Token Issues page:
http://drupal.org/node/839108

geerlingguy’s picture

I can confirm this is the problem (thanks, @anodyne!). I will supply a patch in a few minutes...

geerlingguy’s picture

Version: 5.x-1.9 » 6.x-1.x-dev
Assigned: Unassigned » geerlingguy
Status: Active » Needs review
StatusFileSize
new556 bytes

Patch attached. I would set to reviewed & tested, but I'll wait for someone else to verify first :)

Richard Arkner’s picture

I've just applied the patch to Drupal 6.19 on CentOS 5.3 - working fine! I'm not sure that's enough of a review but it's a one-line change so maybe it is.

geerlingguy’s picture

Status: Needs review » Reviewed & tested by the community

Looks like we can set RTBC.

summit’s picture

Subcribe greetings Martijn

mrwiggles’s picture

Subscribe

Renee S’s picture

Confirmed WSOD, patch fixed. Thanks =)

geerlingguy’s picture

Assigned: geerlingguy » Unassigned