Hi,
Thanks for updating panels to alpha13!. I immediately updated my panels module to Alpha 13.
I got this error on the first panel I tried:
warning: Missing argument 2 for panels_page_view_page() in /home/public_html/modules/panels/panels_page/panels_page.module on line 607.
Only after saving my panel again the warning went away.
Is this normal behaviour?
Greetings,
Martijn
Comments
Comment #1
merlinofchaos commentedThis error suggests you didn't run update.php
Comment #2
summit commentedWhat I did was the following.
1- Deleted the panels module folder content
2- Copied the panels 13alpha into the panels module folder
3- Run update.php.
Then looked into the panels and got the error.
After again saving the panel the error was gone.
So may be not a big thing. May be somebody else has also this problem?
Greetings,
Martijn
Comment #3
merlinofchaos commentedI think I need to put a menu_rebuild in the updates.
This should be fixed in -dev. If you're experiencing this problem, you need to clear your cache. The easiest way is to devel.module, or to disable and then re-enable a module.
Comment #4
summit commentedHi Earl,
I wait for the alpha14 then, because off course I don't know which other things are handled in dev.
I have the module in a production site from alpha13, thats why I am a little bit more careful with updating.
Thanks for your reply. And this is really a great module!
Greetings,
Martijn
Comment #5
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #6
techczech commentedDon't know if this is the best place to post this. I ran into the same problem with Panels Beta 2 but there was no way to get rid of it simply by re-saving a panel. (Except the error now refers to the function on line 632. Looking at that it turns out that the function panels_page_view_page() requires a second argument which is a variable $admin referring to whether the interface for arguments gets displayed or not.
I solved it by changing panels_page_view_page(2) to panels_page_view_page(2,1) in my .tpl.php file.