Fatal error: Call to undefined function panels_get_argument() on line 384

Comments

merlinofchaos’s picture

Status: Active » Postponed (maintainer needs more info)

line 384 of *what?*

KoCo’s picture

This is the error message when updating:
An error occurred. ...\update.php?id=13&op=do
Fatal error: Call to undefined function panels_get_argument() in all\modules\panels\panels.install on line 243

You'll find the other call (line 384) in all\modules\panels\panels_page\panels_page.menu.inc of panels 6.x-2.x-dev.
But this I only got on page load after failed upgrade.

The original function can be found on line 1624 of all\modules\panels\includes\plugin.inc of panels 6.x-2.x-dev.
But even placing thr function back, spanw antoher missing function in the same file.

Uninstalled first, and then it didn't give any problems.
However data couldn't be imported.

Found out that the update didn't automaticly pick the right update function.
Furthermore, some sub-modules form panels2 stayed in use after upgrading (e.g. simple cache).

Thus to update from panels 6.x-2.x-dev to panels 3 beta:
_ use update function 6290
_ uncheck the old modules on the modules page
_ check the imported data (e.g. non-visible when argument validation is too strict.)

The new interface looks reallt promissing.
thx

Draven_Caine’s picture

@koCo your fix worked awsome, ty so much.

But one thing is still being whiney :
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home/websites/draven/public_html/modules/ctools/includes/context.inc on line 163

any idea on this one? the site loads and everything but i have this error at the top of my pages, sadly.

I found the fix, so i am posting back to answer my own question :)

#450420: Warning: Unexpected character in input: '\' (ASCII=92) state=1 in ctools/includes/context.inc

esmerel’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)