业务经理

微信扫描以上二维码

028-61286886

技术咨询

商城共享栏目 , 发布商品时 报错:strlen() expects para

开源系统 更新 2017-10-24 12:30:40 迅睿粉丝

php5.4 /php7.1.8   商城共享栏目  , 发布商品时 报错。   商品库存数量前端均显示0

附报错信息:


 A PHP Error was encountered

Severity: Warning

Message: strlen() expects parameter 1 to be string, array given

Filename: fqb/D_Common.php

Line Number: 1513

Backtrace:

File: /wwwpath/diy/branch/fqb/D_Common.php
Line: 1513
Function: _error_handler

File: /wwwpath/diy/branch/fqb/D_Admin_Home.php
Line: 506
Function: validate_filter

File: /wwwpath/diy/Init.php
Line: 62
Function: require

File: /wwwpath/index.php
Line: 44
Function: require

File: /wwwpath/admin.php
Line: 8
Function: require

A PHP Error was encountered

Severity: Warning

Message: strlen() expects parameter 1 to be string, array given

Filename: fqb/D_Common.php

Line Number: 1513

Backtrace:

File: /wwwpath/diy/branch/fqb/D_Common.php
Line: 1513
Function: _error_handler

File: /wwwpath/diy/branch/fqb/D_Admin_Home.php
Line: 506
Function: validate_filter

File: /wwwpath/diy/Init.php
Line: 62
Function: require

File: /wwwpath/index.php
Line: 44
Function: require

File: /wwwpath/admin.php
Line: 8
Function: require

A PHP Error was encountered

Severity: Warning

Message: strlen() expects parameter 1 to be string, array given

Filename: fqb/D_Common.php

Line Number: 1513

Backtrace:

File: /wwwpath/diy/branch/fqb/D_Common.php
Line: 1513
Function: _error_handler

File: /wwwpath/diy/branch/fqb/D_Admin_Home.php
Line: 506
Function: validate_filter

File: /wwwpath/diy/Init.php
Line: 62
Function: require

File: /wwwpath/index.php
Line: 44
Function: require

File: /wwwpath/admin.php
Line: 8
Function: require

 
操作成功,正在刷新...

如果您的浏览器没有自动跳转,请点击这里


方案

  • 迅睿粉丝 #1 · 2017-10-24 12:30:38
    满意答案

    php5.4 /php7.1.8 商城共享栏目 , 发布商品时 报错。 商品库存数量前端均显示0

    附报错信息:


    A PHP Error was encountered

    Severity: Warning

    Message: strlen() expects parameter 1 to be string, array given

    Filename: fqb/D_Common.php

    Line Number: 1513

    Backtrace:

    File: /wwwpath/diy/branch/fqb/D_Common.php
    Line: 1513
    Function: _error_handler

    File: /wwwpath/diy/branch/fqb/D_Admin_Home.php
    Line: 506
    Function: validate_filter

    File: /wwwpath/diy/Init.php
    Line: 62
    Function: require

    File: /wwwpath/index.php
    Line: 44
    Function: require

    File: /wwwpath/admin.php
    Line: 8
    Function: require

    A PHP Error was encountered

    Severity: Warning

    Message: strlen() expects parameter 1 to be string, array given

    Filename: fqb/D_Common.php

    Line Number: 1513

    Backtrace:

    File: /wwwpath/diy/branch/fqb/D_Common.php
    Line: 1513
    Function: _error_handler

    File: /wwwpath/diy/branch/fqb/D_Admin_Home.php
    Line: 506
    Function: validate_filter

    File: /wwwpath/diy/Init.php
    Line: 62
    Function: require

    File: /wwwpath/index.php
    Line: 44
    Function: require

    File: /wwwpath/admin.php
    Line: 8
    Function: require

    A PHP Error was encountered

    Severity: Warning

    Message: strlen() expects parameter 1 to be string, array given

    Filename: fqb/D_Common.php

    Line Number: 1513

    Backtrace:

    File: /wwwpath/diy/branch/fqb/D_Common.php
    Line: 1513
    Function: _error_handler

    File: /wwwpath/diy/branch/fqb/D_Admin_Home.php
    Line: 506
    Function: validate_filter

    File: /wwwpath/diy/Init.php
    Line: 62
    Function: require

    File: /wwwpath/index.php
    Line: 44
    Function: require

    File: /wwwpath/admin.php
    Line: 8
    Function: require


    操作成功,正在刷新...

    如果您的浏览器没有自动跳转,请点击这里

  • 迅睿粉丝 #2 · 2017-10-24 12:30:40
    感谢大家给我解决此问题,我已经完美的解决

迅睿系统漏洞

外贸多语言建站
外贸多语言建站(2026-10-30)
修正对百度编辑器提取支持
AI文章生成器
AI文章生成器(2026-10-29)
任务插图设置数量
Bing站长数据
Bing站长数据(2026-10-29)
根据BING接口调整菜单 各个页面数据支持点击查看详情
按字段付费
按字段付费(2026-10-29)
按字段付费用于模块的字段设置一定的价格,当用户购买了此内容的字段时才...
泛解析站群系统
泛解析站群系统(2026-10-29)
AI队列增加清空按钮 表单提示语收敛 目录模式不接管主域名模板
账号注销
账号注销(2026-10-29)
用于用户中心的注销账号申请,后台审核通过后注销此账号。后台统一管理注...
邮件群发
邮件群发(2026-10-28)
修改模板的命名
自定义收款/捐款
自定义收款/捐款(2026-10-28)
自定义收款或捐款插件可以让用户快速创建付款或者捐款功能
CMS内容批量修改
CMS内容批量修改(2026-10-28)
后台批量修改文章内容的指定字段在插件后台可以任意指定字段
全站模块搜索
全站模块搜索(2026-10-28)
实现全模块一次性搜索内容,一键搜索全站内容精准搜索全部模块: