Solved ErrorException: [E_WARNING] Cannot declare class XF\AdminSearch\PublicTemplate, because the name is already in use in src/XF.php at line 397

This topic has been solved
C

craigForo

Guest
I get the below when doing an admincp search;

XF::handlePhpError()
class_alias() in src/XF.php at line 397
XF::createAliasForClass() in src/XF/AdminSearch/Searcher.php at line 156
XF\AdminSearch\Searcher->addHandlerClass() in src/XF/AdminSearch/Searcher.php at line 165
XF\AdminSearch\Searcher->addHandlerClasses() in src/XF/AdminSearch/Searcher.php at line 40
XF\AdminSearch\Searcher->__construct() in src/XF/App.php at line 1343
XF\App->XF\{closure}() in src/XF/Container.php at line 33...

Read more

Continue reading...