XF 2.2 System Errors After 2.2. Upgrade

Amphicar770

Active member
The good news is that this is the first time I have encountered a significant issue following an XF software upgrade. The bad news, I am down and can not even get to cpanel. Looks like a conflict with CleanTalk. Any advise appreciated.


An exception occurred: [ErrorException] [E_WARNING] Declaration of CleanTalk\XF\Template\Templater::renderTemplate($template, array $params = Array, $addDefaultParams = true) should be compatible with XF\Template\Templater::renderTemplate($template, array $params = Array, $addDefaultParams = true, ?XF\Template\ExtensionSet $extensionOverrides = NULL) in src/addons/CleanTalk/XF/Template/Templater.php on line 0

  1. XF::handlePhpError() in src/vendor/composer/ClassLoader.php at line 444
  2. include() in src/vendor/composer/ClassLoader.php at line 444
  3. Composer\Autoload\includeFile() in src/vendor/composer/ClassLoader.php at line 322
  4. Composer\Autoload\ClassLoader->loadClass()
  5. spl_autoload_call()
  6. class_exists() in src/XF/Extension.php at line 172
  7. XF\Extension->extendClass() in src/XF/App.php at line 2811
  8. XF\App->extendClass() in src/XF/App.php at line 1775
  9. XF\App->setupTemplaterObject() in src/XF/App.php at line 1345
  10. XF\App->XF\{closure}() in src/XF/Container.php at line 28
  11. XF\Container->offsetGet() in src/XF/App.php at line 3175
  12. XF\App->templater() in src/XF/Pub/App.php at line 437
  13. XF\Pub\App->preRender() in src/XF/Mvc/Dispatcher.php at line 395
  14. XF\Mvc\Dispatcher->render() in src/XF/Mvc/Dispatcher.php at line 58
  15. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2300
  16. XF\App->run() in src/XF.php at line 464
  17. XF::runApp() in index.php at line 20
 
I encountered the exact same error upon updating my forum from 2.1.12 to 2.2.1. Unfortunately, logging onto the ACP directly is not possible as it also results in the above error.

I'm going to revert to the backup I made just prior to updating, but I wanted to make y'all aware.
 
just disable the addons via the config file, and you’ll be able to access the admin panel to disable that addon. No need to restore from a backup.

I did not know this myself. That is an advantage of hosting with a xenforo specialist. Mattw fixed it for me.
 
Back
Top Bottom