Hi,

using acidfree module, a theme function theme_acidfree_print_thumb_acidfree can't be found by the theme system.
When theme() tries to look it up using theme_get_function() it only receives an FALSE.
Shortening the function name solves the problem permanently.
A one-time solution is to clear the menu cache (sic!). Then the function is found during the next page call which will rebuild the menu cache and then on the next page call the function isn't found again.

???

Comments

crischan’s picture

Update:
On my live server, shortening the problem did not solve the problem.
Changing theme.inc, line 166 from if (!isset($functions[$function])) { to if (!($functions[$function])) { fixes this though.

dvessel’s picture

Project: Drupal core » Acidfree Albums
Version: 5.7 » 5.x-1.x-dev
Component: theme system » Code
Status: Active » Postponed (maintainer needs more info)

Isn't this an issue with acid free then? Not enough information to really decipher the problem. There are other modules like views that can have very long function names and it has never been an issue.

vhmauery’s picture

CRiSCHAN,

I need you to post specific instructions on how to reproduce this problem. I cannot seem to create it on my site. Please include instructions on beginning from a newly installed drupal site.

crischan’s picture

I'll try pinning it down after this week, as I'll be busy meeting some deadlines till next tuesday.

mwheinz’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

Can't reproduce.