Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in General Search for Shared Places #117

Closed
webtrees-pesz opened this issue Apr 27, 2022 · 4 comments
Closed

Error in General Search for Shared Places #117

webtrees-pesz opened this issue Apr 27, 2022 · 4 comments

Comments

@webtrees-pesz
Copy link
Contributor

When I start a search with a GOV ID in the general search with "Shared Places" checked, the following error message appears:

assert(): assert($module instanceof SharedPlacesModule_20) failed …/modules_v4/vesta_shared_places/resources/views/search-results-ext_20.phtml:136
#0 [internal function]: Fisharebest\Webtrees\Webtrees::Fisharebest\Webtrees{closure}(2, 'assert(): asser...', '/var/www/web838...', 136, Array)
vesta-webtrees-2-custom-modules/vesta_gov4webtrees#1 …/modules_v4/vesta_shared_places/resources/views/search-results-ext_20.phtml(136): assert(false, 'assert($module ...')
vesta-webtrees-2-custom-modules/vesta_gov4webtrees#2 …/app/View.php(184): include('/var/www/web838...')
vesta-webtrees-2-custom-modules/vesta_gov4webtrees#3 …/app/View.php(281): Fisharebest\Webtrees\View->render()
vesta-webtrees-2-custom-modules/vesta_gov4webtrees#4 …/app/Helpers/functions.php(200): Fisharebest\Webtrees\View::make('search-results-...', Array)
vesta-webtrees-2-custom-modules/vesta_gov4webtrees#5 …/modules_v4/vesta_shared_places/resources/views/search-general-page-ext_20.phtml(123): view('search-results-...', Array)
#6 …/app/View.php(184): include('/var/www/web838...')
vesta-webtrees-2-custom-modules/vesta_gov4webtrees#7 …/app/View.php(281): Fisharebest\Webtrees\View->render()
vesta-webtrees-2-custom-modules/vesta_gov4webtrees#8 …/app/Helpers/functions.php(200): Fisharebest\Webtrees\View::make('search-general-...', Array)
vesta-webtrees-2-custom-modules/vesta_gov4webtrees#9 …/app/Http/ViewResponseTrait.php(51): view('search-general-...', Array)
vesta-webtrees-2-custom-modules/vesta_gov4webtrees#10 …/modules_v4/vesta_shared_places/patchedWebtrees/Http/RequestHandlers/SearchGeneralPageExt_20.php(191): Cissee\WebtreesExt\Http\RequestHandlers\SearchGeneralPageExt_20->viewResponse('search-general-...', Array)
vesta-webtrees-2-custom-modules/vesta_gov4webtrees#11 …/app/Http/Middleware/WrapHandler.php(83): Cissee\WebtreesExt\Http\RequestHandlers\SearchGeneralPageExt_20->handle(Object(Nyholm\Psr7\ServerRequest))
#12 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\WrapHandler->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher))
vesta-webtrees-2-custom-modules/vesta_gov4webtrees#13 …/modules_v4/faces/src/Modules/FacesModule.php(93): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest))
vesta-webtrees-2-custom-modules/vesta_gov4webtrees#14 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): UksusoFF\WebtreesModules\Faces\Modules\FacesModule->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher))
vesta-webtrees-2-custom-modules/vesta_gov4webtrees#15 …/modules_v4/vesta_research_suggestions/ResearchSuggestionsModule_20.php(231): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest))
#16 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Cissee\Webtrees\Module\ResearchSuggestions\ResearchSuggestionsModule_20->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher))

@ric2016
Copy link
Contributor

ric2016 commented Apr 27, 2022

Please always add the webtrees/Vesta release versions (unless current) - This doesn't look like a current i.e. 2.1.x one?

@webtrees-pesz
Copy link
Contributor Author

Sorry.
webtrees: 2.0.23
Vesta-modules: 2.0.23.3.0

@ric2016
Copy link
Contributor

ric2016 commented Apr 27, 2022

I'll fix this in the next release.

Note: Vesta-modules: 2.0.23.3.0 isn't the current release for the 2.0 branch - Do you see an upgrade notices for the Vesta modules in the control panel?

Edit: It may not be clear from that notice that the Vesta 2.1.x releases - for the moment - also work with the 2.0 branch?

@ric2016
Copy link
Contributor

ric2016 commented May 1, 2022

Fixed in latest release (2.1.1.0.0).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants