Closed melizaa closed 2 years ago
I have not updated the code for wt 2.1.0 yet. My experience is that the code changes a lot during development for a major release, so it is better to wait until it is final.
I get the same error when trying to get into "Settings". I am using 2.1.3
Call to a member function name() on null …/modules_v4/webtrees-fancy-imagebar-main/resources/views/settings.phtml:95
This is certainly not the same error as discussed in this topic. You have accidentally downloaded the source code in stead of the production version.
Download the production version here: https://justcarmen.nl/modules-webtrees-2/fancy-imagebar/
This issue is solved with this commit: https://github.com/JustCarmen/webtrees-fancy-imagebar/commit/b1d893b237103deef1e2cd9806cb5f7e404c42cc
Version 2.1.0-dev
`Call to undefined method Fisharebest\Webtrees\Services\MediaFileService::mediaTypes() …/modules_v4/jc-fancy-imagebar/FancyImagebarModule.php:154
0 …/app/Http/RequestHandlers/ModuleAction.php(87): JustCarmen\Webtrees\Module\FancyImagebarModule->getAdminAction()
1 …/app/Http/Middleware/RequestHandler.php(55): Fisharebest\Webtrees\Http\RequestHandlers\ModuleAction->handle()
2 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\RequestHandler->process()
3 …/app/Module/HitCountFooterModule.php(157): Middleland\Dispatcher->handle()
4 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Module\HitCountFooterModule->process()
5 …/app/Http/Middleware/CheckCsrf.php(75): Middleland\Dispatcher->handle()
6 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\CheckCsrf->process()
7 …/vendor/oscarotero/middleland/src/Dispatcher.php(118): Middleland\Dispatcher->handle()
8 …/app/Webtrees.php(241): Middleland\Dispatcher->dispatch()
9 …/app/Http/Middleware/Router.php(149): Fisharebest\Webtrees\Webtrees::dispatch()
10 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\Router->process()
11 …/app/Http/Middleware/BootModules.php(60): Middleland\Dispatcher->handle()
12 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\BootModules->process()
13 …/app/Http/Middleware/LoadRoutes.php(74): Middleland\Dispatcher->handle()
14 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\LoadRoutes->process()
15 …/app/Http/Middleware/UseTransaction.php(45): Middleland\Dispatcher->handle()
16 …/vendor/illuminate/database/Concerns/ManagesTransactions.php(29): Fisharebest\Webtrees\Http\Middleware\UseTransaction::Fisharebest\Webtrees\Http\Middleware{closure}()
17 …/app/Http/Middleware/UseTransaction.php(46): Illuminate\Database\Connection->transaction()
18 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UseTransaction->process()
19 …/app/Http/Middleware/DoHousekeeping.php(73): Middleland\Dispatcher->handle()
20 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\DoHousekeeping->process()
21 …/app/Http/Middleware/UseTheme.php(69): Middleland\Dispatcher->handle()
22 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UseTheme->process()
23 …/app/Http/Middleware/CheckForMaintenanceMode.php(51): Middleland\Dispatcher->handle()
24 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\CheckForMaintenanceMode->process()
25 …/app/Http/Middleware/UseLanguage.php(69): Middleland\Dispatcher->handle()
26 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UseLanguage->process()
27 …/app/Http/Middleware/UseSession.php(75): Middleland\Dispatcher->handle()
28 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UseSession->process()
29 …/app/Http/Middleware/UpdateDatabaseSchema.php(57): Middleland\Dispatcher->handle()
30 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UpdateDatabaseSchema->process()
31 …/app/Http/Middleware/UseDebugbar.php(67): Middleland\Dispatcher->handle()
32 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UseDebugbar->process()
33 …/app/Http/Middleware/UseDatabase.php(132): Middleland\Dispatcher->handle()
34 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UseDatabase->process()
35 …/app/Http/Middleware/BadBotBlocker.php(223): Middleland\Dispatcher->handle()
36 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\BadBotBlocker->process()
37 …/app/Http/Middleware/CompressResponse.php(73): Middleland\Dispatcher->handle()
38 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\CompressResponse->process()
39 …/app/Http/Middleware/ContentLength.php(52): Middleland\Dispatcher->handle()
40 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\ContentLength->process()
41 …/vendor/middlewares/client-ip/src/ClientIp.php(65): Middleland\Dispatcher->handle()
42 …/app/Http/Middleware/ClientIp.php(47): Middlewares\ClientIp->process()
43 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\ClientIp->process()
44 …/app/Http/Middleware/HandleExceptions.php(89): Middleland\Dispatcher->handle()
45 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\HandleExceptions->process()
46 …/app/Http/Middleware/BaseUrl.php(77): Middleland\Dispatcher->handle()
47 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\BaseUrl->process()
48 …/app/Http/Middleware/ReadConfigIni.php(68): Middleland\Dispatcher->handle()
49 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\ReadConfigIni->process()
50 …/app/Http/Middleware/SecurityHeaders.php(48): Middleland\Dispatcher->handle()
51 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\SecurityHeaders->process()
52 …/app/Http/Middleware/EmitResponse.php(57): Middleland\Dispatcher->handle()
53 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\EmitResponse->process()
54 …/vendor/oscarotero/middleland/src/Dispatcher.php(118): Middleland\Dispatcher->handle()
55 …/app/Webtrees.php(241): Middleland\Dispatcher->dispatch()
56 …/app/Webtrees.php(228): Fisharebest\Webtrees\Webtrees::dispatch()
57 …/index.php(44): Fisharebest\Webtrees\Webtrees->httpRequest()
58 {main}`