32. InvalidArgumentException
…/­vendor/­symfony/­http-foundation/­Symfony/­Component/­HttpFoundation/­RedirectResponse.php41
31. Symfony\Component\HttpFoundation\RedirectResponse __construct
…/­app/­base/­lib/­routing/­redirector.php148
30. base_routing_redirector createRedirect
…/­app/­base/­lib/­routing/­redirector.php49
29. base_routing_redirector back
…/­app/­base/­lib/­facades/­facade.php62
28. base_facades_facade __callStatic
…/­custom/­topc/­controller/­list.php163
27. base_facades_redirect back
…/­custom/­topc/­controller/­list.php163
26. topc_ctl_list index
<#unknown>0
25. call_user_func_array
…/­app/­base/­lib/­routing/­router.php747
24. base_routing_router callController
…/­app/­base/­lib/­routing/­router.php738
23. base_routing_router callControllerAction
…/­app/­base/­lib/­routing/­router.php705
22. base_routing_router callActionOnArrayBasedRoute
…/­app/­base/­lib/­routing/­router.php645
21. base_routing_router {closure}
<#unknown>0
20. call_user_func
…/­app/­base/­lib/­pipeline/­pipeline.php130
19. base_pipeline_pipeline {closure}
…/­app/­base/­ego/­ego.php1358
18. base_middleware_machine_hook handle
…/­app/­base/­lib/­pipeline/­pipeline.php114
17. base_pipeline_pipeline {closure}
…/­app/­base/­ego/­ego.php1395
16. base_middleware_machine_check handle
…/­app/­base/­lib/­pipeline/­pipeline.php114
15. base_pipeline_pipeline {closure}
…/­app/­theme/­middleware/­preview.php21
14. theme_middleware_preview handle
…/­app/­base/­lib/­pipeline/­pipeline.php114
13. base_pipeline_pipeline {closure}
<#unknown>0
12. call_user_func
…/­app/­base/­lib/­pipeline/­pipeline.php91
11. base_pipeline_pipeline then
…/­app/­base/­lib/­routing/­router.php688
10. base_routing_router sendThroughPipeline
…/­app/­base/­lib/­routing/­router.php646
9. base_routing_router handleFoundRoute
…/­app/­base/­lib/­routing/­router.php628
8. base_routing_router handleFoundRouteCache
…/­app/­base/­lib/­routing/­router.php533
7. base_routing_router {closure}
…/­app/­base/­lib/­routing/­router.php690
6. base_routing_router sendThroughPipeline
…/­app/­base/­lib/­routing/­router.php541
5. base_routing_router dispatchRoute
…/­app/­base/­lib/­routing/­router.php512
4. base_routing_router dispatch
…/­app/­base/­lib/­routing/­router.php449
3. base_routing_router run
…/­app/­base/­lib/­facades/­facade.php65
2. base_facades_facade __callStatic
…/­app/­base/­kernel.php99
1. base_facades_route run
…/­app/­base/­kernel.php99
0. kernel boot
…/­public/­index.php18

InvalidArgumentException

Callstack information; navigate with mouse or keyboard using Ctrl+↑ or Ctrl+↓
Copy-to-clipboard button
Exception message and its type
Code snippet where the error was thrown
Server state information
Application provided context information
InvalidArgumentException thrown with message "Cannot redirect to an empty URL." Stacktrace: #32 InvalidArgumentException in /opt/httpd/tcl/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/RedirectResponse.php:41 #31 Symfony\Component\HttpFoundation\RedirectResponse:__construct in /opt/httpd/tcl/app/base/lib/routing/redirector.php:148 #30 base_routing_redirector:createRedirect in /opt/httpd/tcl/app/base/lib/routing/redirector.php:49 #29 base_routing_redirector:back in /opt/httpd/tcl/app/base/lib/facades/facade.php:62 #28 base_facades_facade:__callStatic in /opt/httpd/tcl/custom/topc/controller/list.php:163 #27 base_facades_redirect:back in /opt/httpd/tcl/custom/topc/controller/list.php:163 #26 topc_ctl_list:index in <#unknown>:0 #25 call_user_func_array in /opt/httpd/tcl/app/base/lib/routing/router.php:747 #24 base_routing_router:callController in /opt/httpd/tcl/app/base/lib/routing/router.php:738 #23 base_routing_router:callControllerAction in /opt/httpd/tcl/app/base/lib/routing/router.php:705 #22 base_routing_router:callActionOnArrayBasedRoute in /opt/httpd/tcl/app/base/lib/routing/router.php:645 #21 base_routing_router:{closure} in <#unknown>:0 #20 call_user_func in /opt/httpd/tcl/app/base/lib/pipeline/pipeline.php:130 #19 base_pipeline_pipeline:{closure} in /opt/httpd/tcl/app/base/ego/ego.php:1358 #18 base_middleware_machine_hook:handle in /opt/httpd/tcl/app/base/lib/pipeline/pipeline.php:114 #17 base_pipeline_pipeline:{closure} in /opt/httpd/tcl/app/base/ego/ego.php:1395 #16 base_middleware_machine_check:handle in /opt/httpd/tcl/app/base/lib/pipeline/pipeline.php:114 #15 base_pipeline_pipeline:{closure} in /opt/httpd/tcl/app/theme/middleware/preview.php:21 #14 theme_middleware_preview:handle in /opt/httpd/tcl/app/base/lib/pipeline/pipeline.php:114 #13 base_pipeline_pipeline:{closure} in <#unknown>:0 #12 call_user_func in /opt/httpd/tcl/app/base/lib/pipeline/pipeline.php:91 #11 base_pipeline_pipeline:then in /opt/httpd/tcl/app/base/lib/routing/router.php:688 #10 base_routing_router:sendThroughPipeline in /opt/httpd/tcl/app/base/lib/routing/router.php:646 #9 base_routing_router:handleFoundRoute in /opt/httpd/tcl/app/base/lib/routing/router.php:628 #8 base_routing_router:handleFoundRouteCache in /opt/httpd/tcl/app/base/lib/routing/router.php:533 #7 base_routing_router:{closure} in /opt/httpd/tcl/app/base/lib/routing/router.php:690 #6 base_routing_router:sendThroughPipeline in /opt/httpd/tcl/app/base/lib/routing/router.php:541 #5 base_routing_router:dispatchRoute in /opt/httpd/tcl/app/base/lib/routing/router.php:512 #4 base_routing_router:dispatch in /opt/httpd/tcl/app/base/lib/routing/router.php:449 #3 base_routing_router:run in /opt/httpd/tcl/app/base/lib/facades/facade.php:65 #2 base_facades_facade:__callStatic in /opt/httpd/tcl/app/base/kernel.php:99 #1 base_facades_route:run in /opt/httpd/tcl/app/base/kernel.php:99 #0 kernel:boot in /opt/httpd/tcl/public/index.php:18

Cannot redirect to an empty URL.

/opt/httpd/tcl/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/RedirectResponse.php
     * @see http://tools.ietf.org/html/rfc2616#section-10.3
     *
     * @api
     */
    public function __construct($url, $status = 302, $headers = array())
    {
        if (empty($url)) {
            throw new \InvalidArgumentException('Cannot redirect to an empty URL.');
        }
 
/opt/httpd/tcl/app/base/lib/routing/redirector.php
	 * @param  string  $path
	 * @param  int     $status
	 * @param  array   $headers
	 * @return \Illuminate\Http\RedirectResponse
	 */
	protected function createRedirect($path, $status, $headers)
	{
		$redirect = new base_http_response_redirect($path, $status, $headers);
 
		$redirect->setRequest($this->generator->getRequest());
/opt/httpd/tcl/app/base/lib/routing/redirector.php
	 * @param  array  $headers
	 * @return \Illuminate\Http\RedirectResponse
	 */
	public function back($status = 302, $headers = array())
	{
		$back = $this->generator->getRequest()->headers->get('referer');
 
		return $this->createRedirect($back, $status, $headers);
	}
 
/opt/httpd/tcl/app/base/lib/facades/facade.php
	public static function __callStatic($method, $args)
	{
		$instance = static::getFacadeRoot();
 
		switch (count($args))
		{
			case 0:
				return $instance->$method();
 
			case 1:
/opt/httpd/tcl/custom/topc/controller/list.php
 
        //已选择的搜索条件
        $pagedata['activeFilter'] = $params;
 
        $initFilter = $this->__setInitFilter($params);
        if( !$initFilter )
        {
            return redirect::back();
        }
 
/opt/httpd/tcl/custom/topc/controller/list.php
 
        //已选择的搜索条件
        $pagedata['activeFilter'] = $params;
 
        $initFilter = $this->__setInitFilter($params);
        if( !$initFilter )
        {
            return redirect::back();
        }
 
<#unknown>
/opt/httpd/tcl/app/base/lib/routing/router.php
 
    public function callController($instance, $method, $routeInfo)
    {
        $callable = [$instance, $method];
        $parameters = $routeInfo[2];
        try {
            return $this->prepareResponse(
                call_user_func_array($callable, $parameters)
            );
        } catch (HttpResponseException $e) {
/opt/httpd/tcl/app/base/lib/routing/router.php
 
        $appId = substr($controller,0, strpos($controller, '_'));
        
        if (! method_exists($instance = new $controller(app::get($appId)), $method)) {
            throw new NotFoundHttpException;
        }
 
        return $this->callController($instance, $method, $routeInfo);
    }
 
/opt/httpd/tcl/app/base/lib/routing/router.php
     * @return mixed
     */
    protected function callActionOnArrayBasedRoute($routeInfo)
    {
        $action = $routeInfo[1];
 
        if (isset($action['uses'])) {
            return $this->prepareResponse($this->callControllerAction($routeInfo));
        }
 
/opt/httpd/tcl/app/base/lib/routing/router.php
        $action = $routeInfo[1];
 
        // Pipe through route middleware...
        if (isset($action['middleware'])) {
            $middleware = $this->gatherMiddlewareClassNames($action['middleware']);
            return $this->prepareResponse($this->sendThroughPipeline($middleware, function () {
                //todo:娌℃湁route
                return $this->callActionOnArrayBasedRoute(request::route());
            }));
        }
<#unknown>
/opt/httpd/tcl/app/base/lib/pipeline/pipeline.php
	 * @param  \Closure  $destination
	 * @return \Closure
	 */
	protected function getInitialSlice(Closure $destination)
	{
		return function($passable) use ($destination)
		{
			return call_user_func($destination, $passable);
		};
	}
/opt/httpd/tcl/app/base/ego/ego.php
/opt/httpd/tcl/app/base/lib/pipeline/pipeline.php
				// the appropriate method and arguments, returning the results back out.
				if ($pipe instanceof Closure)
				{
					return call_user_func($pipe, $passable, $stack);
				}
				else
				{
                    return kernel::single($pipe)->{$this->method}($passable, $stack);
				}
			};
/opt/httpd/tcl/app/base/ego/ego.php
/opt/httpd/tcl/app/base/lib/pipeline/pipeline.php
				// the appropriate method and arguments, returning the results back out.
				if ($pipe instanceof Closure)
				{
					return call_user_func($pipe, $passable, $stack);
				}
				else
				{
                    return kernel::single($pipe)->{$this->method}($passable, $stack);
				}
			};
/opt/httpd/tcl/app/theme/middleware/preview.php
 
    public function handle($request, Closure $next)
    {
        if (isset($_COOKIE['site']['preview'])&&$_COOKIE['site']['preview']=='true')
        {
            theme::preview();
        }
        return $next($request);
    }
}
/opt/httpd/tcl/app/base/lib/pipeline/pipeline.php
				// the appropriate method and arguments, returning the results back out.
				if ($pipe instanceof Closure)
				{
					return call_user_func($pipe, $passable, $stack);
				}
				else
				{
                    return kernel::single($pipe)->{$this->method}($passable, $stack);
				}
			};
<#unknown>
/opt/httpd/tcl/app/base/lib/pipeline/pipeline.php
	{
		$firstSlice = $this->getInitialSlice($destination);
 
		$pipes = array_reverse($this->pipes);
 
		return call_user_func(
			array_reduce($pipes, $this->getSlice(), $firstSlice), $this->passable
		);
	}
 
/opt/httpd/tcl/app/base/lib/routing/router.php
        //$this->make('middleware.disable') === true;
 
        //if (count($middleware) > 0 && ! $shouldSkipMiddleware) {
        if (count($middleware) > 0) {
            return (new Pipeline($this))
                ->send(request::instance())
                ->through($middleware)
                ->then($then);
        }
        return $then();
/opt/httpd/tcl/app/base/lib/routing/router.php
 
        // Pipe through route middleware...
        if (isset($action['middleware'])) {
            $middleware = $this->gatherMiddlewareClassNames($action['middleware']);
            return $this->prepareResponse($this->sendThroughPipeline($middleware, function () {
                //todo:娌℃湁route
                return $this->callActionOnArrayBasedRoute(request::route());
            }));
        }
 
/opt/httpd/tcl/app/base/lib/routing/router.php
                $cacheKey = md5(request::fullUrl());
                $timeout = (int)$cacheStrategy['timeout'] !==0 ? $cacheStrategy['timeout'] : 1;
                return unserialize(cache::store('controller-cache')->remember($cacheKey, $timeout, function() use ($routeInfo) {
                    return serialize($this->handleFoundRoute($routeInfo));
                }));
            }
        }
        return $this->handleFoundRoute($routeInfo);
    }
    /**
/opt/httpd/tcl/app/base/lib/routing/router.php
        $pathInfo = empty($pathInfo) ? '/' : $pathInfo;
        $cacheStrategys = config::get('page_cache.pages');
 
        try {
            return $this->sendThroughPipeline($this->middleware, function () use ($method, $pathInfo, $routes, $parameters) {
 
                if (isset($routes[$method.$pathInfo])) {
                    return $this->handleFoundRouteCache([true, $routes[$method.$pathInfo]['action'], $parameters]);
                }
 
/opt/httpd/tcl/app/base/lib/routing/router.php
        //if (count($middleware) > 0 && ! $shouldSkipMiddleware) {
        if (count($middleware) > 0) {
            return (new Pipeline($this))
                ->send(request::instance())
                ->through($middleware)
                ->then($then);
        }
        return $then();
    }
    
/opt/httpd/tcl/app/base/lib/routing/router.php
                }
 
                $routeInfo = $this->createDispatcher($routes)->dispatch($method, $pathInfo);
 
                $routeInfo[2] = array_merge($parameters, (array)$routeInfo[2]);
                
                return $this->handleDispatcherResponse($routeInfo);
            });
        } catch (Exception $e) {
            return $this->sendExceptionToHandler($e);
/opt/httpd/tcl/app/base/lib/routing/router.php
                        throw new MethodNotAllowedHttpException($routeInfo[1]);
                    case Dispatcher::FOUND:
                        return $this->dispatchRoute($request, $routeInfo[1], (array)$routeInfo[2]);
                }
            }
        } else {
            //todo
            return $this->dispatchRoute($request, $this->routes['nodomain']);
        }
    }
/opt/httpd/tcl/app/base/lib/routing/router.php
     * Run the application and send the response.
     *
     * @param  SymfonyRequest|null  $request
     * @return void
     */
    public function run($request = null)
    {
        $response = $this->dispatch($request);
 
        if ($response instanceof SymfonyResponse) {
/opt/httpd/tcl/app/base/lib/facades/facade.php
 
		switch (count($args))
		{
			case 0:
				return $instance->$method();
 
			case 1:
				return $instance->$method($args[0]);
 
			case 2:
/opt/httpd/tcl/app/base/kernel.php
        }
 
        //static::registRouteMiddleware();
 
        //$response = route::dispatch(request::instance());
        //$response = static::sendRequestThroughRouter(request::instance());
 
        route::run(request::instance());
        // 临时处理方式
        kernel::single('base_session')->close();
/opt/httpd/tcl/app/base/kernel.php
        }
 
        //static::registRouteMiddleware();
 
        //$response = route::dispatch(request::instance());
        //$response = static::sendRequestThroughRouter(request::instance());
 
        route::run(request::instance());
        // 临时处理方式
        kernel::single('base_session')->close();
/opt/httpd/tcl/public/index.php
|
*/
 
require __DIR__.'/../bootstrap/autoload.php';
 
require __DIR__.'/../bootstrap/start.php';
 
kernel::boot();
// test
 
Key Value
d_c 202
operationtype remove
c 202
use_platform 0%2C1
for_identities 1%2C2%2C3%2C4
empty
empty
Key Value
UNAME
UID
empty
Key Value
USER www
HOME /home/www
FCGI_ROLE RESPONDER
QUERY_STRING d_c=202&operationtype=remove&c=202&use_platform=0%252C1&for_identities=1%252C2%252C3%252C4
REQUEST_METHOD GET
CONTENT_TYPE
CONTENT_LENGTH
SCRIPT_NAME /index.php
REQUEST_URI /list.html?d_c=202&operationtype=remove&c=202&use_platform=0%252C1&for_identities=1%252C2%252C3%252C4
DOCUMENT_URI /index.php/list.html
DOCUMENT_ROOT /opt/httpd/tcl/public
SERVER_PROTOCOL HTTP/1.0
REQUEST_SCHEME https
HTTPS on
GATEWAY_INTERFACE CGI/1.1
SERVER_SOFTWARE nginx/1.12.2
REMOTE_ADDR 10.68.56.17
REMOTE_PORT 47232
SERVER_ADDR 10.68.56.23
SERVER_PORT 443
SERVER_NAME eshop.91sfdj.com
REDIRECT_STATUS 200
PATH_INFO /list.html
SCRIPT_FILENAME /opt/httpd/tcl/public//index.php
HTTP_HOST eshop.91sfdj.com
HTTP_X_REAL_IP 34.230.66.177
HTTP_REMOTE_HOST 34.230.66.177
HTTP_X_FORWARDED_FOR 34.230.66.177
HTTP_CONNECTION close
HTTP_ACCEPT */*
HTTP_USER_AGENT claudebot
PHP_SELF /list.html
REQUEST_TIME_FLOAT 1710828730.0292
REQUEST_TIME 1710828730
empty
0. Whoops\Handler\PrettyPageHandler