In JomSocial when I turn on the "Invitation Only" function, the resulting page throws this error regardless of which template I choose:
0 Call to a member function html() on string
/home/surfwax/public_html/components/com_community/views/registerinvite/view.html.php:62
https://surfwaxandbikinis.com/backstage/registerinvite
Call stack
Function Location
1 () JROOT/components/com_community/views/registerinvite/view.html.php:62
2 CommunityViewRegisterinvite->registerinvite() JROOT/components/com_community/views/views.php:267
3 CommunityView->get() JROOT/components/com_community/controllers/registerinvite.php:42
4 CommunityRegisterinviteController->registerinvite() JROOT/components/com_community/controllers/registerinvite.php:25
5 CommunityRegisterinviteController->display() JROOT/components/com_community/controllers/controller.php:400
6 CommunityBaseController->execute() JROOT/components/com_community/community.php:141
7 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
8 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73
9 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:361
10 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:208
11 Joomla\CMS\Application\SiteApplication->dispatch() JROOT/libraries/src/Application/SiteApplication.php:249
12 Joomla\CMS\Application\SiteApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:293
13 Joomla\CMS\Application\CMSApplication->execute() JROOT/includes/app.php:61
14 require_once() JROOT/index.php:32
Joomla! Version 4.4.12
PHP Version 8.1.32
JomSocial Pro 4.9.5
I have tried various PHP versions from 8.1 to 8.3, but that didn't help. What should I try next?