Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I just realized that tao_preprocess_node and mysubtheme_preprocess_node are being called twice on node pages.
Is this normal? How can I to avoid this?
thanks
Comments
Comment #1
datawench CreditAttribution: datawench commented*bump*
I'm seeing this as well, even for my subtheme. I've got a drupal_set_html_head in my theme_preprocess_node, and the header it adds winds up showing twice. Similarly, if I dsm the vars, i get *two* krumo instances at the top of the page. so the process function is definitely being run twice.
Any ideas why this might be happening? Could it be something to do with, say, the context system? Or could a node_load be triggering it?
Comment #2
paskainos CreditAttribution: paskainos commentedsubscribing
Comment #3
Russell Mann CreditAttribution: Russell Mann commentedbump