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

hcarmody’s picture

Version: 7.x-3.x-dev » 7.x-3.0-alpha2
merlinofchaos’s picture

Hm. Odd. Maybe contextual module needs to be enabled?

hcarmody’s picture

Category: bug » support
Status: Active » Closed (fixed)

Awesome! that worked. Thank-you!

merlinofchaos’s picture

Status: Closed (fixed) » Active

Still a bug that I need to fix.

hcarmody’s picture

Status: Active » Fixed
merlinofchaos’s picture

Status: Fixed » Active

This 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. :)

cooldeeponline’s picture

Issue tags: +fatal error, +Contextual links, +Call undefined function contextual_pre_render_links()

I 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.

merlinofchaos’s picture

Status: Active » Fixed

Committed a fix and pushed upstream.

Status: Fixed » Closed (fixed)
Issue tags: -fatal error, -Contextual links, -Call undefined function contextual_pre_render_links()

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

  • Commit 516b3e9 on 7.x-3.x, pipelines, 7.x-3.x-i18n, 8.x-3.x by merlinofchaos:
    Issue #1027724: Fix contextual links rendering even when contextual....