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

Resend User Confirmation Email - PHP issue in 7.4.0 #596

Open
SMA-cgn opened this issue Oct 28, 2024 · 6 comments
Open

Resend User Confirmation Email - PHP issue in 7.4.0 #596

SMA-cgn opened this issue Oct 28, 2024 · 6 comments

Comments

@SMA-cgn
Copy link

SMA-cgn commented Oct 28, 2024

Hi,

when clicking the Resend User Confirmation Email button I get following error message.

image

image

Core: Exception handler (WEB): Uncaught TYPO3 Exception: Call to a member function sL() on null | Error thrown in file /opt/bitnami/typo3/public/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php in line 4428. Requested URL: https://.../typo3/module/web/FemanagerM1?token=--AnonymizedToken--&id=2&tx_femanager_web_femanagerm1%5BuserIdentifier%5D=132&tx_femanager_web_femanagerm1%5Baction%5D=resendUserConfirmationRequest&tx_femanager_web_femanagerm1%5Bcontroller%5D=UserBackend

When clicking the "Decline User" button I get following error message:

image

Core: Exception handler (WEB): Uncaught TYPO3 Exception: Class "In2code\Femanager\Controller\RequestFactory" not found | Error thrown in file /opt/bitnami/typo3/public/typo3/sysext/core/Classes/Utility/GeneralUtility.php in line 3215. Requested URL: https://.../typo3/module/web/FemanagerM1?token=--AnonymizedToken--&id=2&tx_femanager_web_femanagerm1%5BuserIdentifier%5D=132&tx_femanager_web_femanagerm1%5Baction%5D=refuseUser&tx_femanager_web_femanagerm1%5Bcontroller%5D=UserBackend

I have following environment:

TYPO3 Version 11.5.37
Webserver Apache
PHP Version 8.0.19
Database (Default) MySQL 10.6.7-MariaDB
Application Context Production
Composer mode Enabled
Operating System Linux 4.19.0-27-cloud-amd64

Thanks a lot for your support!

@sbusemann
Copy link
Contributor

Which version of femanager do you use?

@SMA-cgn
Copy link
Author

SMA-cgn commented Oct 28, 2024

We are using
femanager | 7.4.0

Thanks!

@sbusemann
Copy link
Contributor

Please take care, that

Backend Configuration
^^^^^^^^^^^^^^^^^^^^^

Take care, that the setting "module.tx_femanager.settings.configPID" is set up for any site (via Page TS or User TS or in the TypoScript Setup)

You need to specify the pid, where your main typoscript settings (frontend) is stored. You should take a page, where a plugin (regristration / invitation) is available.. This is needed to perform actions like confirm users via Backend or resend

@SMA-cgn
Copy link
Author

SMA-cgn commented Oct 29, 2024

This setting is already in place:

image

When adding module.tx_femanager.settings.configPID = 1 to the typoscript constants the error message does not come up anymore when clicking the Resend User Confirmation Email. When clicking it the view changes to the List overview. However, no mail is sent to the user again. What would be the expected outcome?

Is it necessary to have the resend confirmation email plugin in the FE?

@sbusemann
Copy link
Contributor

The Page ID 1 then needs to contain a Femanager plugin. You can set the pid to anyother page, which contains a femanager plugin. This is needed, at the FE is used to generate the mail and links ...

@SMA-cgn
Copy link
Author

SMA-cgn commented Oct 29, 2024

Thanks for your support!!!

The femanager plugin was already added to PID 1.
I added a new subpage, added the femanager there and updated the configPID. However, I still get the same error messages above. The view does not switch back to the list view as described above. This only happens when the Frontend Users module is opened on a pagetree item, that is not the users folder.

Which view is required? I tested it with Registration & Resend User Confirmation.

What is this constant setting for? Is it required to make the backend function work?
plugin.tx_femanager.settings.showResendUserConfirmationRequestView

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

No branches or pull requests

2 participants