Jump to:
| Project: | Chaos tool suite (ctools) |
| Version: | 6.x-1.2 |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
After deleting the normal page /mypage I am getting
* The page has been deleted.
* See the getting started guide for more information.
* warning: Missing argument 2 for pm_uid_arg_load(), called in /home/vb/domains/probattle.org/public_html/includes/menu.inc on line 410 and defined in /home/vb/domains/probattle.org/public_html/sites/all/modules/ctools/page_manager/page_manager.module on line 862.
* warning: Missing argument 3 for pm_uid_arg_load(), called in /home/vb/domains/probattle.org/public_html/includes/menu.inc on line 410 and defined in /home/vb/domains/probattle.org/public_html/sites/all/modules/ctools/page_manager/page_manager.module on line 862.
and nothing can help me to get rid of this messges and fix the bug, nor clearing chashes, update.php, exporting this page back from backup.
What can I do.
Comments
#1
Hmm. What custom pages do you have (did you recently have?) that have a 'user: uid' argument? Was it the page you just deleted?
Have you specifically rebuilt the menu cache? (You can do this with devel.module or visit admin/build/modules)
#2
I have reproduced this bug two times restoring db.
Rebuilding menu chache does not help.
Yes, the case seems in user id argument, just before deleting this page I have deleted the page /user/%user/mytabpage (no warings)
Right now I have installled last 24.10 dev ctools and changed the deleting order, page first, user page after, and it gives no error.
But this very dangerous bug because it is no way out if it occurs.
#3
Ok, let me make sure I understand this:
1) You deleted the page user/%user/mytabpage
2) You deleted /mypage
These warnings appear.
Is that right?
#4
Yes, that is right.
#5
Is there still an entry in the menu_router table for user/%/mytabpage ? (the word after the % will not appear in the path actually stored there)
If there is, is there still an entry in page_manager_pages for this path (which will include the %user unlike menu_router)
#6
menu_router
user/%/battling a:1:{i:1;s:15:"pm_uid_arg_load";} a:1:{i:1;s:17:"pm_uid_arg_to_arg";} 0 a:0:{} page_manager_user_view a:1:{i:0;i:1;} 5 3 user/%/battling
and in menu_links also there was the entry
No entries in page_manager_pages
after deleting all these entries in menu_router, menu_links tables and clearing caches the warnings have gone away.
#7
It is not all.
I think I guess.
The tabtimer.module saved in variable table entry 'tabtamer_tab_settings' with user/%pm_uid_arg/battling
and it should be deleted too.
But page manager does not know about that and not obliged.
Now we know how to fix this.
#8
#9
#10
Interesting. It is possible that tabtimer does not respect that perhaps menu items can go away? If it was modifying the item via hook_menu_alter and was re-adding it even though page manager was no longer offering it to the menu system, something like this could occur.
#11
Note that I fixed a problem where menu items were hanging around in #662242: Page Manager menu tabs aren't eliminated when the corresponding page is deleted and it may be the same problem as this!
Can you update to the most recent -dev (it should roll about 2 hours from now -- just make sure it's dated > jan 29 and it should be the right one -- you can verify by checking the changelog and see if an entry mentioning the above issue is in there) and see if this happens? I'm pretty sure this is fixed. Re-open this if that did not fix the problem.
#12
Automatically closed -- issue fixed for 2 weeks with no activity.
#13
i was receiving similar error... first turned off tab tamer module... then deleted the pages without problem...
#14
Thanks for following this up, mmachina. I had this same problem too. And disabled the tab tamer and deleted pages that I had created within that particular content type that had shown up in this tab. And put everything back in place. Works fine now.