Prepared email templates not loading

We have upgraded from 2.4 to 3.1 and most things is fine. However, the settings for prepared email templates (Settings>workflow>emails) does not load in any of the journals. (see attached pic) email-temp

Please help!

Best regards

Edvin

Hi @eddoff,

Check your PHP error log for details.

Regards,
Alec Smecher
Public Knowledge Project Team

[26-Jan-2018 09:17:26 Europe/Belgrade] PHP Warning: array_flip(): Can only flip STRING and INTEGER values! in C:\inetpu
b\wwwroot\lib\pkp\classes\core\PKPApplication.inc.php on line 702

I enabled all error messages. Here is what I got:
[26-Jan-2018 09:34:38 Europe/Belgrade] PHP Strict Standards: Declaration of GenreGridHandler::initialize() should be compatible with SetupGridHandler::initialize($request, $a
rgs = NULL) in C:\inetpub\wwwroot\lib\pkp\controllers\grid\settings\genre\GenreGridHandler.inc.php on line 20
[26-Jan-2018 09:34:59 Europe/Belgrade] PHP Strict Standards: Declaration of ContextSettingsForm::fetch() should be compatible with Form::fetch($request, $template = NULL, $di
splay = false) in C:\inetpub\wwwroot\lib\pkp\classes\controllers\tab\settings\form\ContextSettingsForm.inc.php on line 20
[26-Jan-2018 09:34:59 Europe/Belgrade] PHP Strict Standards: Declaration of ContextSettingsForm::initData() should be compatible with Form::initData() in C:\inetpub\wwwroot\l
ib\pkp\classes\controllers\tab\settings\form\ContextSettingsForm.inc.php on line 20
[26-Jan-2018 09:34:59 Europe/Belgrade] PHP Strict Standards: Declaration of ContextSettingsForm::readInputData() should be compatible with Form::readInputData() in C:\inetpub
\wwwroot\lib\pkp\classes\controllers\tab\settings\form\ContextSettingsForm.inc.php on line 20
[26-Jan-2018 09:34:59 Europe/Belgrade] PHP Strict Standards: Declaration of ContextSettingsForm::execute() should be compatible with Form::execute() in C:\inetpub\wwwroot\lib
\pkp\classes\controllers\tab\settings\form\ContextSettingsForm.inc.php on line 20
[26-Jan-2018 09:34:59 Europe/Belgrade] PHP Strict Standards: Declaration of EmailTemplatesForm::fetch() should be compatible with ContextSettingsForm::fetch($request, $params
= NULL) in C:\inetpub\wwwroot\lib\pkp\controllers\tab\settings\emailTemplates\form\EmailTemplatesForm.inc.php on line 18
[26-Jan-2018 09:34:59 Europe/Belgrade] PHP Deprecated: Non-static method PKPRequest::getUserVar() should not be called statically, assuming $this from incompatible context in
C:\inetpub\wwwroot\lib\pkp\classes\form\Form.inc.php on line 369
[26-Jan-2018 09:34:59 Europe/Belgrade] PHP Deprecated: Non-static method PKPRequest::_checkThis() should not be called statically, assuming $this from incompatible context in
C:\inetpub\wwwroot\lib\pkp\classes\core\PKPRequest.inc.php on line 592

Hi @eddoff,

Do you have PHP errors configured to get sent to the browser? If so, change your PHP configuration (and OJS’s display_errors setting in config.inc.php) to direct them to the error log file instead.

Regards,
Alec Smecher
Public Knowledge Project Team

Ah!
I did not know that the display error setting did matter for loading of content.

Thanks a lot!

Edvin