Error on TEST server but not on PROD, any suggestions?
Posted: 03 May 2022, 16:10
Windows Server 2012R2
Mantis 2.25.2
PHP 7.4.26
Any thoughts on what could be wrong? I've copied the entire EmailReporting directory in Plugins from PROD to TEST. I also copied the updated core\template_api.php file from PROD to TEST (and the templates). PROD is working perfectly and tests fine on the production mailbox. We've set up a different mailbox to try to get Azure cloud email working, and did the mailbox "Test" function, but get this result:
Mantis 2.25.2
PHP 7.4.26
Any thoughts on what could be wrong? I've copied the entire EmailReporting directory in Plugins from PROD to TEST. I also copied the updated core\template_api.php file from PROD to TEST (and the templates). PROD is working perfectly and tests fine on the production mailbox. We've set up a different mailbox to try to get Azure cloud email working, and did the mailbox "Test" function, but get this result:
Code: Select all
SYSTEM WARNING
'"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"?' in 'C:\MantisBT2252\plugins\EmailReporting\core\Mail\Markdownify\Converter.php' line 349
Please use the "Back" button in your web browser to return to the previous page. There you can correct whatever problems were identified in this error or select another action. You can also click an option from the menu bar to go directly to a new section.
Detailed error information
Full path: C:\MantisBT2252\plugins\EmailReporting\core\Mail\Markdownify\Converter.php
Line number: 349
Stack trace
# Filename Line Class Type Function Args
0 C:\MantisBT2252\core\plugin_api.php 907 - - require_once -
1 C:\MantisBT2252\plugins\EmailReporting\core\Mail\Parser.php 6 - - plugin_require_api <string>'core/Mail/Markdownify/Converter.php'
2 C:\MantisBT2252\core\plugin_api.php 907 - - require_once <string>'C:\\MantisBT2252\\plugins\\EmailReporting\\core\\Mail\\Parser.php'
3 C:\MantisBT2252\plugins\EmailReporting\core\mail_api.php 24 - - plugin_require_api <string>'core/Mail/Parser.php'
4 C:\MantisBT2252\core\plugin_api.php 907 - - require_once <string>'C:\\MantisBT2252\\plugins\\EmailReporting\\core\\mail_api.php'
5 C:\MantisBT2252\plugins\EmailReporting\pages\manage_mailbox_edit.php 65 - - plugin_require_api <string>'core/mail_api.php'
6 C:\MantisBT2252\plugin.php 74 - - include <string>'C:\\MantisBT2252\\plugins\\EmailReporting\\pages\\manage_mailbox_edit.php'