I used two plug-ins and both of them had the same warning. Notice: Constant _ TYPECHO_ADMIN _ alreadydefinedinvarwwwhtmlfayfox. comwhisacommon. phponline6.
Notice: Constant __TYPECHO_ADMIN__ already defined in /var/www/html/fayfox.com/whis/a/common.php on line 6
How can this problem be solved?
Reply content:
I used two plug-ins and both of them had the same warning.
Notice: Constant __TYPECHO_ADMIN__ already defined in /var/www/html/fayfox.com/whis/a/common.php on line 6
How can this problem be solved?
It is estimated that this file is already require.
You try to modify the code, if (! Defined ('TYPECHO_ADMIN') Define ('TYPECHO_ADMIN', 'Xxxxxxx ');
Or are you looking for other places that define this always bright: grep-nri'TYPECHO_ADMIN'/Var/www/html/fayfox.com /*
Http://www.typechodev.com/index.php/archives/60/
Vim/var/www/html/fayfox.com/whis/a/common.php
Set Row 6
define('__TYPECHO_ADMIN__', true);
Changed:
if (!defined('__TYPECHO_ADMIN__')) { define('__TYPECHO_ADMIN__', true);}