-
Notifications
You must be signed in to change notification settings - Fork 118
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
Resend confimration from Backend causes Error #335
Comments
Problem comes from method "isMailEnabled" in "public/typo3conf/ext/femanager/Classes/Domain/Service/SendMailService.php". |
seems that every call inside "public/typo3conf/ext/femanager/Classes/Domain/Service/SendMailService.php" $this->contentObject->cObjGetSingle causes this Error |
if i remove all $this->contentObject->cObjGetSingle Calls the mail is send but like MaxGTR said with BackendURL Links and with click on these neither confirm nor delete ist working. will his be fixed? |
Is there any Solution for this Problem? |
Problem ist that ContentObjectRenderer -> cObjGetSingle need TypoScriptFrontendController but is not initalized so both ( $this->typoScriptFrontendController AND $GLOBALS['TSFE']) are NULL
|
seems to be same issue cause as in2code-de/luxletter#45 |
With the "help" from how could the target be replaced to the actual wanted page uid? Invitation.html-Template: |
You may try this untested example: use TYPO3\CMS\Core\Site\SiteFinder;
use TYPO3\CMS\Core\Utility\GeneralUtility;
use TYPO3\CMS\Extbase\Object\ObjectManager;
use TYPO3\CMS\Extbase\Service\ExtensionService;
$site = GeneralUtility::makeInstance(SiteFinder::class)->getSiteByPageId($pageUid);
$extensionService = GeneralUtility::makeInstancet(ExtensionService::class);
$argumentsPrefix = $extensionService->getPluginNamespace($extensionName, $pluginName);
$arguments = [
$argumentsPrefix => [
'action' => $actionName,
'controller' => $controllerName,
'foo' => 1,
],
];
$uri = (string)$site->getRouter()->generateUri((string)$pageUid, $arguments); |
@boettner-it Thank you very much that worked for me |
in the main version 8 the functionality works in general (at the moment I need to fix the controller in order for a to wrong permission check). |
use the resend confirmation function in the Backend Module Causes the following error
Core: Exception handler (WEB): Uncaught TYPO3 Exception: #1476107295: PHP Warning: Creating default object from empty value in /app/web/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php line 700 | TYPO3\CMS\Core\Error\Exception thrown in file /app/web/typo3/sysext/core/Classes/Error/ErrorHandler.php in line 130. Requested URL: http://development.localhost/typo3/index.php?route=%%2Fmodule%%2Fweb%%2FFemanagerM1&token=--AnonymizedToken--&id=3&tx_femanager_web_femanagerm1%%5BuserIdentifier%%5D=13&tx_femanager_web_femanagerm1%%5Baction%%5D=resendUserConfirmationRequest&tx_femanager_web_femanagerm1%%5Bcontroller%%5D=UserBackend
Typo3: 10.4.13
PHP 7.4
femanager: 6.1.2
and is it possible to resend confirmation to all users in the list with one click?
-> would you suggest to make a scheduler task that fetches all the users from the DB and calls the resendUserConfirmationRequestAction from the UserBackendController?
The text was updated successfully, but these errors were encountered: