Fatal error: Cannot redeclare get_orders_bypay_order() (previously declared in /www/wwwroot/riya/app/common.php:3424) in /www/wwwroot/riya/app/common.php on line 3516

[64] ErrorException in common.php line 3516

Cannot redeclare get_orders_bypay_order() (previously declared in /www/wwwroot/riya/app/common.php:3424)

  1. }//halt($_html);
  2. return $_html ;
  3. }
  4. function get_orders_bypay_order($pay_order){
  5. // $orders = Db::name('order')->where("pay_order = $pay_order AND CurrentState IN (2,4)")->select();
  6. $orders = Db::name('order')->where('pay_order', $pay_order)->whereIn("CurrentState",[2,4])->select();
  7. return $orders;
  8. }
  9. //海外管理-打包装箱中-列表
  10. function get_ship_list($id){
  11. $ship_info = Ship::get($id);
  12. //new by rocfive小五
  13. //判断此ship是否存在分箱
  14. $where['ship_id'] = ['eq',$ship_info->id];
  15. if($ship_info->splitnumber == null){
  16. $ship_info->new_ship_no = $ship_info->ship_no;

Call Stack

  1. in common.php line 3516
  2. at Error::appShutdown()

Environment Variables

GET Data
s /auccate/cid/2084047222.html
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
FCGI_ROLE RESPONDER
SCRIPT_FILENAME /www/wwwroot/riya/index.php
QUERY_STRING s=/auccate/cid/2084047222.html
REQUEST_METHOD GET
CONTENT_TYPE
CONTENT_LENGTH
SCRIPT_NAME /index.php
REQUEST_URI /auccate/cid/2084047222.html
DOCUMENT_URI /index.php
DOCUMENT_ROOT /www/wwwroot/riya
SERVER_PROTOCOL HTTP/1.1
REQUEST_SCHEME https
HTTPS on
GATEWAY_INTERFACE CGI/1.1
SERVER_SOFTWARE nginx/1.16.1
REMOTE_ADDR 3.146.178.81
REMOTE_PORT
SERVER_ADDR 172.24.43.220
SERVER_PORT 443
SERVER_NAME www.riya.com.cn
REDIRECT_STATUS 200
PATH_INFO
HTTP_HOST riya.com.cn
HTTP_VIA cn7174.l1, l2nu20-8.l2, l2hk3.l2
HTTP_EAGLEEYE_TRACEID b4a3921917322803755736310e
HTTP_ALI_CDN_REAL_PORT 59304
HTTP_ALI_CDN_REAL_IP 3.146.178.81
HTTP_ALI_SWIFT_LOG_HOST riya.com.cn
HTTP_ALI_SWIFT_STAT_HOST riya.com.cn
HTTP_X_FORWARDED_FOR 3.146.178.81
HTTP_X_CLIENT_SCHEME https
HTTP_ALI_SWIFT_FORCE_TTL_CODE 400=0
HTTP_ACCEPT */*
HTTP_USER_AGENT Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_ACCEPT_ENCODING gzip, br, zstd, deflate
HTTP_ALI_CDN_APPVIEW_NAME cdn-tengine
HTTP_X_ALICDN_DA_VIA 180.163.146.98,140.249.253.252,163.181.79.240
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1732280375.696
REQUEST_TIME 1732280375
Environment Variablesempty
ThinkPHP Constants
APP_PATH /www/wwwroot/riya/app/
RUNTIME_PATH /www/wwwroot/riya/data/runtime/
THINK_VERSION 5.0.24
THINK_START_TIME 1732280375.6964
THINK_START_MEM 267632
EXT .php
DS /
THINK_PATH /www/wwwroot/riya/thinkphp/
LIB_PATH /www/wwwroot/riya/thinkphp/library/
CORE_PATH /www/wwwroot/riya/thinkphp/library/think/
TRAIT_PATH /www/wwwroot/riya/thinkphp/library/traits/
ROOT_PATH /www/wwwroot/riya/
EXTEND_PATH /www/wwwroot/riya/extend/
VENDOR_PATH /www/wwwroot/riya/vendor/
LOG_PATH /www/wwwroot/riya/data/runtime/log/
CACHE_PATH /www/wwwroot/riya/data/runtime/cache/
TEMP_PATH /www/wwwroot/riya/data/runtime/temp/
CONF_PATH /www/wwwroot/riya/app/
CONF_EXT .php
ENV_PREFIX PHP_
IS_CLI false
IS_WIN false
RANDOM_COMPAT_READ_BUFFER 8
PHP_INT_MIN -9223372036854775808
PHP_FLOAT_DIG 15
PHP_FLOAT_EPSILON 2.2204460492503E-16
PHP_FLOAT_MIN 2.2250738585072E-308
PHP_FLOAT_MAX 1.7976931348623E+308
PHP_OS_FAMILY Linux
QINIU_FUNCTIONS_VERSION 7.12.0
ADDON_PATH /www/wwwroot/riya/addons/