magicsunday / webtrees-fan-chart

SVG based ancestor fan chart module for webtrees genealogy application.
GNU General Public License v3.0
60 stars 19 forks source link

Undefined options #28

Closed curtisdelicata closed 5 years ago

curtisdelicata commented 5 years ago

ErrorException: Undefined variable: options in file /resources/views/components/select.phtml on line 19 Stack trace:

  1. ErrorException->() /resources/views/components/select.phtml:19
  2. Fisharebest\Webtrees\Webtrees->Fisharebest\Webtrees{closure}() /resources/views/components/select.phtml:19
  3. include() /app/View.php:190
  4. Fisharebest\Webtrees\View->render() /app/View.php:284
  5. Fisharebest\Webtrees\View->make() /app/Helpers/functions.php:108
  6. view() /modules_v4/webtrees-fan-chart/resources/views/chart.phtml:54
  7. include() /app/View.php:190
  8. Fisharebest\Webtrees\View->render() /app/View.php:284
  9. Fisharebest\Webtrees\View->make() /app/Helpers/functions.php:108
    1. view() /app/Module/AbstractModule.php:257
    2. Fisharebest\Webtrees\Module\AbstractModule->viewResponse() /modules_v4/webtrees-fan-chart/src/Module.php:90
    3. MagicSunday\Webtrees\FanChart\Module->getChartAction() [internal]:0
    4. ReflectionMethod->invoke() /app/Application.php:45
    5. Fisharebest\Webtrees\Application->dispatch() /app/Http/Controllers/ModuleController.php:82
    6. Fisharebest\Webtrees\Http\Controllers\ModuleController->action() [internal]:0
    7. ReflectionMethod->invoke() /app/Application.php:45
    8. Fisharebest\Webtrees\Application->dispatch() /index.php:156
    9. {closure}() /app/Module/HitCountFooterModule.php:185
    10. Fisharebest\Webtrees\Module\HitCountFooterModule->handle() /index.php:142
    11. {closure}() /app/Http/Middleware/CheckCsrf.php:64
    12. Fisharebest\Webtrees\Http\Middleware\CheckCsrf->handle() /index.php:142
    13. {closure}() /app/Http/Middleware/UseTransaction.php:43
    14. Fisharebest\Webtrees\Http\Middleware\UseTransaction->handle() /index.php:142
    15. {closure}() /app/Http/Middleware/Housekeeping.php:75
    16. Fisharebest\Webtrees\Http\Middleware\Housekeeping->handle() /index.php:142
    17. {closure}() /app/Http/Middleware/DebugBarData.php:42
    18. Fisharebest\Webtrees\Http\Middleware\DebugBarData->handle() /index.php:142
    19. {closure}() /app/Http/Middleware/BootModules.php:59
    20. Fisharebest\Webtrees\Http\Middleware\BootModules->handle() /index.php:142
    21. {closure}() /app/Http/Middleware/UseTheme.php:71
    22. Fisharebest\Webtrees\Http\Middleware\UseTheme->handle() /index.php:142
    23. {closure}() /app/Http/Middleware/UseLocale.php:52
    24. Fisharebest\Webtrees\Http\Middleware\UseLocale->handle() /index.php:142
    25. {closure}() /app/Http/Middleware/UseTree.php:58
    26. Fisharebest\Webtrees\Http\Middleware\UseTree->handle() /index.php:142
    27. {closure}() /app/Http/Middleware/UseSession.php:59
    28. Fisharebest\Webtrees\Http\Middleware\UseSession->handle() /index.php:142
    29. {closure}() /app/Http/Middleware/UseFilesystem.php:50
    30. Fisharebest\Webtrees\Http\Middleware\UseFilesystem->handle() /index.php:142
    31. {closure}() /app/Http/Middleware/CheckForMaintenanceMode.php:48
    32. Fisharebest\Webtrees\Http\Middleware\CheckForMaintenanceMode->handle() /index.php:142
    33. {closure}() /index.php:159
curtisdelicata commented 5 years ago

In chart.phtml

options must be replaced with values

magicsunday commented 5 years ago

Thanks. Fixed with https://github.com/magicsunday/webtrees-fan-chart/commit/406f7482b4cd004bf4d013f24e11352fa5f6bb7c