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.
Full text of the error:
Fatal error: Call to undefined function contextual_pre_render_links() in /home/wizimg/public_html/midwife/modules/panels/panels.module on line 1172
Line 1172: $element = contextual_pre_render_links($element);
Comments
Comment #1
hcarmody CreditAttribution: hcarmody commentedComment #2
merlinofchaos CreditAttribution: merlinofchaos commentedHm. Odd. Maybe contextual module needs to be enabled?
Comment #3
hcarmody CreditAttribution: hcarmody commentedAwesome! that worked. Thank-you!
Comment #4
merlinofchaos CreditAttribution: merlinofchaos commentedStill a bug that I need to fix.
Comment #5
hcarmody CreditAttribution: hcarmody commentedComment #6
merlinofchaos CreditAttribution: merlinofchaos commentedThis is unusual. I rarely have users actually *close* bugs I want open. It's usually the other way around!
I need to fix this; the code should not reference contextual module when it's not enabled, and it certainly shouldn't whitescreen in that case. It's not user error. What you have is called a workaround, and it's a fine one that keeps this from being critical.
But it still shouldn't crash on you either. :)
Comment #7
cooldeeponline CreditAttribution: cooldeeponline commentedI too was getting this error: "Fatal error: Call to undefined function contextual_pre_render_links() in C:\xampp\htdocs\webSites\cms\drupal\drupal7.0\sites\all\modules\panels\panels.module on line 1172"
By enabling the "contextual link module" my problem was solved.
Thank you.
Comment #8
merlinofchaos CreditAttribution: merlinofchaos commentedCommitted a fix and pushed upstream.