Problems with some email template

Hi,

My problem with OJS 3.4.0.8.

In Manage Emails page if I click on edit button for Sent to Review template nothing appens. For other templates the buttons works correctly

Checking on logs I noticed this error:

AH01071: Got error 'PHP message: Slim Application Error:\n
Type: TypeError\n
Message: PKP\\emailTemplate\\maps\\Schema::summarize(): Argument #1 ($item) must be of type PKP\\emailTemplate\\EmailTemplate, null given, called in FOLDER/lib/pkp/classes/emailTemplate/maps/Schema.php on line 71\n
File: \FOLDER /lib/pkp/classes/emailTemplate/maps/Schema.php\nLine: 44\n
Trace: #0 \FOLDER /lib/pkp/classes/emailTemplate/maps/Schema.php(71): PKP\\emailTemplate\\maps\\Schema->summarize()\n
#1 [internal function]: PKP\\emailTemplate\\maps\\Schema->PKP\\emailTemplate\\maps\\{closure}()\n
#2 \FOLDER /lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Collections/Arr.php(560): array_map()\n
#3 \FOLDER /lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Collections/Collection.php(768): Illuminate\\Support\\Arr::map()\n
#4 FOLDER /lib...', referer: URL/management/settings/manageEmails

I noticed this problem because in Workflow Settings I’ve checked Send an email to all authors option, in new submission section. Actually when you submit the article you end up getting a generic error with the following log:

Got error 'PHP message: Slim Application Error:\n
Type: Error\nMessage: Call to a member function getLocalizedData() on null\n

Thank you,

Enzo

Hi @Enzo,

Can you check your OJS version? There is no 3.4.9; maybe you’re using 3.4.0-9?

Regards,
Alec Smecher
Public Knowledge Project Team

Yes, my mistake. It’s 3.4.0.8.

Greetings

Any suggestion about this issue?