bwong789 / webtrees-favorites-menu

Webtrees module that presents Favorites as a menu item
GNU General Public License v3.0
5 stars 0 forks source link

Impossible to change the default group name #9

Closed sirius82 closed 1 month ago

sirius82 commented 1 month ago

Hi, If I try to change the defaut group name in settings, I receive an error : Undefined constant "favorites_menu\Webtrees\Module\FavoritesMenu\default_group" …/modules_v4/favorites-menu/module.php:1047

0 …/app/Http/Middleware/RequestHandler.php(55): Fisharebest\Webtrees\Module\AbstractModule@anonymous->handle()

1 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\RequestHandler->process()

2 …/modules_v4/family-tree-home-master/module.php(77): Middleland\Dispatcher->handle()

3 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Module\AbstractModule@anonymous->process()

4 …/app/Module/HitCountFooterModule.php(154): Middleland\Dispatcher->handle()

5 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Module\HitCountFooterModule->process()

6 …/app/Module/CheckForNewVersion.php(122): Middleland\Dispatcher->handle()

7 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Module\CheckForNewVersion->process()

8 …/app/Http/Middleware/CheckCsrf.php(80): Middleland\Dispatcher->handle()

9 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\CheckCsrf->process()

10 …/vendor/oscarotero/middleland/src/Dispatcher.php(118): Middleland\Dispatcher->handle()

11 …/app/Webtrees.php(275): Middleland\Dispatcher->dispatch()

12 …/app/Http/Middleware/Router.php(163): Fisharebest\Webtrees\Webtrees::dispatch()

13 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\Router->process()

14 …/app/Http/Middleware/BootModules.php(58): Middleland\Dispatcher->handle()

15 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\BootModules->process()

16 …/app/Http/Middleware/RegisterGedcomTags.php(54): Middleland\Dispatcher->handle()

17 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\RegisterGedcomTags->process()

18 …/app/Http/Middleware/LoadRoutes.php(75): Middleland\Dispatcher->handle()

19 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\LoadRoutes->process()

20 …/app/Http/Middleware/CheckForNewVersion.php(57): Middleland\Dispatcher->handle()

21 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\CheckForNewVersion->process()

22 …/app/Http/Middleware/UseTransaction.php(45): Middleland\Dispatcher->handle()

23 …/vendor/illuminate/database/Concerns/ManagesTransactions.php(29): Fisharebest\Webtrees\Http\Middleware\UseTransaction::Fisharebest\Webtrees\Http\Middleware{closure}()

24 …/app/Http/Middleware/UseTransaction.php(46): Illuminate\Database\Connection->transaction()

25 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UseTransaction->process()

26 …/app/Http/Middleware/DoHousekeeping.php(71): Middleland\Dispatcher->handle()

27 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\DoHousekeeping->process()

28 …/app/Http/Middleware/UseTheme.php(67): Middleland\Dispatcher->handle()

29 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UseTheme->process()

30 …/app/Http/Middleware/CheckForMaintenanceMode.php(51): Middleland\Dispatcher->handle()

31 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\CheckForMaintenanceMode->process()

32 …/app/Http/Middleware/UseLanguage.php(69): Middleland\Dispatcher->handle()

33 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UseLanguage->process()

34 …/app/Http/Middleware/UseSession.php(78): Middleland\Dispatcher->handle()

35 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UseSession->process()

36 …/app/Http/Middleware/UpdateDatabaseSchema.php(57): Middleland\Dispatcher->handle()

37 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UpdateDatabaseSchema->process()

38 …/app/Http/Middleware/UseDatabase.php(122): Middleland\Dispatcher->handle()

39 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UseDatabase->process()

40 …/app/Http/Middleware/BadBotBlocker.php(308): Middleland\Dispatcher->handle()

41 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\BadBotBlocker->process()

42 …/app/Http/Middleware/CompressResponse.php(71): Middleland\Dispatcher->handle()

43 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\CompressResponse->process()

44 …/app/Http/Middleware/ContentLength.php(40): Middleland\Dispatcher->handle()

45 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\ContentLength->process()

46 …/vendor/middlewares/client-ip/src/ClientIp.php(65): Middleland\Dispatcher->handle()

47 …/app/Http/Middleware/ClientIp.php(47): Middlewares\ClientIp->process()

48 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\ClientIp->process()

49 …/app/Http/Middleware/HandleExceptions.php(89): Middleland\Dispatcher->handle()

50 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\HandleExceptions->process()

51 …/app/Http/Middleware/BaseUrl.php(73): Middleland\Dispatcher->handle()

52 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\BaseUrl->process()

53 …/app/Http/Middleware/ReadConfigIni.php(68): Middleland\Dispatcher->handle()

54 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\ReadConfigIni->process()

55 …/app/Http/Middleware/SecurityHeaders.php(48): Middleland\Dispatcher->handle()

56 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\SecurityHeaders->process()

57 …/app/Http/Middleware/EmitResponse.php(57): Middleland\Dispatcher->handle()

58 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\EmitResponse->process()

59 …/vendor/oscarotero/middleland/src/Dispatcher.php(118): Middleland\Dispatcher->handle()

60 …/app/Webtrees.php(275): Middleland\Dispatcher->dispatch()

61 …/app/Webtrees.php(262): Fisharebest\Webtrees\Webtrees::dispatch()

62 …/index.php(51): Fisharebest\Webtrees\Webtrees->httpRequest()

63 {main}

But I can add a new group.

Do you have an idea ?

Thanks a lot

bwong789 commented 1 month ago

Fixed in 1.10