Chromaniac
Well-known member
So, I am on a slightly older version (2.3.4) and recently i noticed that test sending an email from backend shows this error:
Also an error while doing testing with Post content find / replace addon:
Did a test run of file scanner and all files are proper so no custom modification in core files. Email sending is through external smtp server and it works fine. Even the test mail arrives just fine. No errors in frontend so more of a nuisance factor. Just wanted to know what could be the issue here. I do not see any addon name that could be breaking anything.
Code:
Error: Call to a member function getDebug() on int in src/XF/Admin/Controller/ToolsController.php at line 318
XF\Admin\Controller\ToolsController->actionTestEmail() in src/XF/Mvc/Dispatcher.php at line 362
XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 264
XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 121
XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 63
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2826
XF\App->run() in src/XF.php at line 806
XF::runApp() in admin.php at line 15
Also an error while doing testing with Post content find / replace addon:
Code:
ErrorException: [E_WARNING] preg_match_all(): Unknown modifier '\' in src/addons/XFPR/Admin/Controller/PostReplace.php at line 41
XF::handlePhpError()
preg_match_all() in src/addons/XFPR/Admin/Controller/PostReplace.php at line 41
XFPR\Admin\Controller\PostReplace->actionReplace() in src/XF/Mvc/Dispatcher.php at line 362
XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 264
XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 121
XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 63
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2826
XF\App->run() in src/XF.php at line 806
XF::runApp() in admin.php at line 15
Did a test run of file scanner and all files are proper so no custom modification in core files. Email sending is through external smtp server and it works fine. Even the test mail arrives just fine. No errors in frontend so more of a nuisance factor. Just wanted to know what could be the issue here. I do not see any addon name that could be breaking anything.