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.
Fatal error: Call to undefined function panels_get_argument() on line 384
Comments
Comment #1
merlinofchaos CreditAttribution: merlinofchaos commentedline 384 of *what?*
Comment #2
KoCo CreditAttribution: KoCo commentedThis 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
Comment #3
Draven_Caine CreditAttribution: Draven_Caine commented@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
Comment #4
esmerel CreditAttribution: esmerel commented