Solved ErrorException: [E_WARNING] Cannot declare class XF\AdminSearch\PublicTemplate

This topic has been solved
T

TMC

Guest
Getting the following error when trying to search in the admin panel / XenForo 2.3 RC 3:
Code:

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

    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...

Read more

Continue reading...