Fatal error when manually ordering categories #880

Closed
opened 2026-10-05 00:22:31 +02:00 by adam · 4 comments
Owner

I have this error when manually ordering categories in "...admin.php?page=cat_list" :
Fatal error: Uncaught Error: Call to undefined function save_categories_order() in .../admin/cat_list.php:196 Stack trace: #0 .../admin.php(312): include() #1 {main} thrown in .../admin/cat_list.php on line 196
The function save_categories_order() don't exist en piwigo (functions.php).
It seems possible to rely on this function in 644 "update_global_rank" to create it.
Phil

I have this error when manually ordering categories in "...admin.php?page=cat_list" : `Fatal error: Uncaught Error: Call to undefined function save_categories_order() in .../admin/cat_list.php:196 Stack trace: #0 .../admin.php(312): include() #1 {main} thrown in .../admin/cat_list.php on line 196` The function save_categories_order() don't exist en piwigo (functions.php). It seems possible to rely on this function in 644 "update_global_rank" to create it. Phil <!-- github-sync-id:436646932 -->
adam closed this issue 2026-10-05 00:22:31 +02:00
Author
Owner

Hi @philigrane

You're running Piwigo master I suppose. I have function save_categories_order in ./admin/include/functions.php, don't you?

I just tested the "save manual order" button and it worked fine.

Hi @philigrane You're running Piwigo master I suppose. I have function `save_categories_order` in ./admin/include/functions.php, don't you? I just tested the "save manual order" button and it worked fine. <!-- github-comment-id:486286874 -->
Author
Owner

It's OK! Thank you so much. I did not realize it. Sorry
Phil

It's OK! Thank you so much. I did not realize it. Sorry Phil <!-- github-comment-id:486581509 -->
Author
Owner

Sorry but, what didn't you realize? Does it work now? What did you change?

Sorry but, what didn't you realize? Does it work now? What did you change? <!-- github-comment-id:486597840 -->
Author
Owner

Yes it works now I replaced my function file by the one of the deposit

Yes it works now I replaced my function file by the one of the deposit <!-- github-comment-id:486627225 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/Piwigo#880