Message: "Adv CSS/JS Agg - Theme Hook Theme hook is not in the correct place"
On the performance page clear the cache - DONE.

"Hook Theme Info" output from the Advanced CSS/JS aggregation settings information page:
jquery_ui_dialog_pre_preprocess_page
template_preprocess
template_preprocess_page
lightbox2_preprocess_page
page_title_preprocess_page
jquery_ui_dialog_preprocess_page
nodewords_preprocess_page
rootcandy_preprocess_page
ctools_preprocess_page
advagg_processor
headjs_preprocess_page

Note to self: tgf.c

CommentFileSizeAuthor
#7 themehook.JPG49.45 KBvacilando
#1 advagg-headjs-1141700-1.patch742 bytesmikeytown2

Comments

mikeytown2’s picture

Version: 6.x-1.0-rc3 » 6.x-1.x-dev
Status: Active » Fixed
StatusFileSize
new742 bytes

Need to make an exception for headjs. Thanks for the report!

The following patch has been committed.

TallDavid’s picture

Confirming that the latest 6.x-1.x-dev solved this problem.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

vacilando’s picture

Version: 6.x-1.x-dev » 6.x-1.4
Status: Closed (fixed) » Active

It's a problem on several sites (in one multisite): I maintain.

One of them has the following output in "Hook Theme Info":

modalframe_pre_preprocess_page
template_preprocess
template_preprocess_page
better_messages_preprocess_page
collapse_text_preprocess_page
faq_preprocess_page
lightbox2_preprocess_page
mobile_codes_preprocess_page
modalframe_preprocess_page
nodeformsettings_preprocess_page
page_title_preprocess_page
i18n_preprocess_page
phptemplate_preprocess_page
civicrm_preprocess_page
ctools_preprocess_page
advagg_processor
css_emimage_preprocess_page
mikeytown2’s picture

@Vacilando
Are you using the patch or the fork of css_emimage?

mikeytown2’s picture

Status: Active » Fixed

moving this back to fixed

vacilando’s picture

StatusFileSize
new49.45 KB

Thanks for coming back to me on this, Mike.

I use none of them. Just like many others, I am awaiting the patch to be applied to #1078060: CSS Embedded Images - Add in support for advagg's hooks.

I posted this issue update because of another warning on my status page. Not under "CSS Embedded Images" but under "Theme Hook". See the attached screenshot.

If these relate to the same issue, maybe the status page messages need to be clarified?

mikeytown2’s picture

They are related to each other. I was hoping that the patch would be accepted fairly soon; hence the one off status report warning. I could make the logic in advagg.install smarter, but it's already fairly complex.

jvieille’s picture

Would this solve mine:

_rules_action_drupal_goto_handler
modalframe_pre_preprocess_page
template_preprocess
template_preprocess_page
authcache_preprocess
authcache_preprocess_page
i18nmenu_preprocess_page
lightbox2_preprocess_page
modalframe_preprocess_page
nodeformsettings_preprocess_page
og_preprocess_page
i18n_preprocess_page
advanced_forum_preprocess_page
ctcd_preprocess
fusion_core_preprocess_page
ctools_preprocess_page
advagg_processor
css_emimage_preprocess_page

Thanks

mikeytown2’s picture

@jvieille
Yes it would. Using the latest patch in that thread will take care of the issue.

jvieille’s picture

I tried the forked module.
However, exactly at the same time, I was put in a total mess - do you think your fork module (which has code twice the size of the regular could have some responsibility in this?

http://drupal.org/node/1243102
http://drupal.org/node/1242568
https://www.virtualmin.com/node/19097

Edit: problem solved, not the fault of this module
https://www.virtualmin.com/node/19097#comment-86004

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

naeluh’s picture

Status: Closed (fixed) » Active

Hi I having a bit of trouble:

I am using the boost module with adv agg and I recently got this message :

Adv CSS/JS Agg - Theme Hook Theme hook is not in the correct place"
On the performance page clear the cache"

I cleared the database on the boost setting and cleared all caches and it still show up

Here is the hook theme output thanks !

_rules_action_drupal_goto_handler
jquery_ui_dialog_pre_preprocess_page
template_preprocess
template_preprocess_page
ajax_disable_redirect_preprocess_page
ajax_thickbox_preprocess_page
embed_widgets_preprocess_page
page_title_preprocess_page
fontyourface_preprocess_page
lightbox2_preprocess_page
jquery_ui_dialog_preprocess_page
local_fonts_preprocess_page
typekit_api_preprocess_page
nodewords_preprocess_page
ajax_preprocess_page
blueprint_preprocess_page
ctools_preprocess_page
advagg_processor

mikeytown2’s picture

Status: Active » Closed (duplicate)