|
|
本帖最后由 民审-M 于 2017-7-17 15:32 编辑
S!微信登录 3.1.1 在php7 + https下报错:Too few arguments to function singcere_wechat_tpl_login_extra_bar(), 0 passed in 解决办法:
适用于:
第38团:DZ建站学习研究分享S!微信登录 3.1.1 草根吧开源版不加密 支持X3.4 支持PHP7.x 支持https
https://www.cgzz8.cn/t-19093-1-1.html
(出处: 草根吧)
如图所示:
Discuz! System Error
[color=rgb(0, 0, 0)]Too few arguments to function singcere_wechat_tpl_login_extra_bar(), 0 passed in /source/plugin/singcere_wechat/singcere_wechat.class.php on line 163 and exactly 1 expected
[color=rgb(0, 0, 0)]PHP Debug
[table=98%,rgb(170, 170, 170)]
[tr=rgb(238, 238, 238)][td]No.[/td][td]File[/td][td]Line[/td][td]Code[/td][/tr]
[tr=rgb(255, 255, 204)][td]1[/td][td]index.php[/td][td]130[/td][td]require(%s)[/td][/tr]
[tr=rgb(255, 255, 204)][td]2[/td][td]portal.php[/td][td]32[/td][td]require_once(%s)[/td][/tr]
[tr=rgb(255, 255, 204)][td]3[/td][td]source/module/portal/portal_index.php[/td][td]32[/td][td]include_once(%s)[/td][/tr]
[tr=rgb(255, 255, 204)][td]4[/td][td]data/template/49_diy_portal_index.tpl.php[/td][td]1[/td][td]hookscriptoutput(%s)[/td][/tr]
[tr=rgb(255, 255, 204)][td]5[/td][td]source/function/function_core.php[/td][td]1214[/td][td]hookscript(%s, %s)[/td][/tr]
[tr=rgb(255, 255, 204)][td]6[/td][td]source/function/function_core.php[/td][td]1177[/td][td]plugin_singcere_wechat->global_login_extra(Array)[/td][/tr]
[tr=rgb(255, 255, 204)][td]7[/td][td]source/plugin/singcere_wechat/singcere_wechat.class.php[/td][td]163[/td][td]singcere_wechat_tpl_login_extra_bar()[/td][/tr]
[tr=rgb(255, 255, 204)][td]8[/td][td]data/template/49_singcere_wechat_module.tpl.php[/td][td]10[/td][td]break()[/td][/tr]
[/table]
解决办法:
source/plugin/singcere_wechat/singcere_wechat.class.php:
查找:(163行)
|
|