27. Predis\ServerException
…/­vendor/­predis/­predis/­lib/­Predis/­Client.php282
26. Predis\Client onResponseError
…/­vendor/­predis/­predis/­lib/­Predis/­Client.php250
25. Predis\Client executeCommand
…/­vendor/­predis/­predis/­lib/­Predis/­Client.php228
24. Predis\Client __call
…/­vendor/­illuminate/­cache/­Illuminate/­Cache/­RedisStore.php51
23. Illuminate\Cache\RedisStore get
…/­vendor/­illuminate/­cache/­Illuminate/­Cache/­Repository.php59
22. Illuminate\Cache\Repository get
…/­vendor/­illuminate/­cache/­Illuminate/­Cache/­Repository.php129
21. Illuminate\Cache\Repository remember
…/­vendor/­illuminate/­database/­Illuminate/­Database/­Query/­Builder.php1442
20. Illuminate\Database\Query\Builder getCached
…/­vendor/­illuminate/­database/­Illuminate/­Database/­Query/­Builder.php1382
19. Illuminate\Database\Query\Builder get
…/­vendor/­illuminate/­database/­Illuminate/­Database/­Eloquent/­Builder.php411
18. Illuminate\Database\Eloquent\Builder getModels
…/­vendor/­illuminate/­database/­Illuminate/­Database/­Eloquent/­Builder.php151
17. Illuminate\Database\Eloquent\Builder get
…/­vendor/­illuminate/­database/­Illuminate/­Database/­Eloquent/­Builder.php125
16. Illuminate\Database\Eloquent\Builder first
…/­app/­hooks/­CheckSignature.php19
15. checkSignature
<#unknown>0
14. call_user_func_array
…/­vendor/­slim/­slim/­Slim/­Route.php465
13. Slim\Route dispatch
…/­vendor/­slim/­slim/­Slim/­Slim.php1355
12. Slim\Slim call
…/­vendor/­slim/­slim/­Slim/­Middleware/­Flash.php85
11. Slim\Middleware\Flash call
…/­vendor/­slim/­slim/­Slim/­Middleware/­MethodOverride.php92
10. Slim\Middleware\MethodOverride call
…/­src/­Middleware/­ContentTypes.php30
9. System\Middleware\ContentTypes call
…/­src/­Middleware/­Queue.php31
8. System\Middleware\Queue call
…/­src/­Middleware/­Cache/­Illuminate.php103
7. System\Middleware\Cache\Illuminate call
…/­src/­Middleware/­Database/­Illuminate.php46
6. System\Middleware\Database\Illuminate call
…/­src/­Middleware/­Events/­Illuminate.php39
5. System\Middleware\Events\Illuminate call
…/­src/­Middleware/­Error/­Whoops.php194
4. System\Middleware\Error\Whoops call
…/­src/­Middleware/­Elasticsearch.php43
3. System\Middleware\Elasticsearch call
…/­vendor/­slim/­slim/­Slim/­Middleware/­PrettyExceptions.php67
2. Slim\Middleware\PrettyExceptions call
…/­vendor/­slim/­slim/­Slim/­Slim.php1300
1. Slim\Slim run
…/­src/­Bootstrap.php174
0. System\Bootstrap run
…/­public/­index.php6

Predis \ ServerException

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
Predis\ServerException thrown with message "MOVED 1741 127.0.0.1:50001" Stacktrace: #27 Predis\ServerException in /home/liteapi/public_html/vendor/predis/predis/lib/Predis/Client.php:282 #26 Predis\Client:onResponseError in /home/liteapi/public_html/vendor/predis/predis/lib/Predis/Client.php:250 #25 Predis\Client:executeCommand in /home/liteapi/public_html/vendor/predis/predis/lib/Predis/Client.php:228 #24 Predis\Client:__call in /home/liteapi/public_html/vendor/illuminate/cache/Illuminate/Cache/RedisStore.php:51 #23 Illuminate\Cache\RedisStore:get in /home/liteapi/public_html/vendor/illuminate/cache/Illuminate/Cache/Repository.php:59 #22 Illuminate\Cache\Repository:get in /home/liteapi/public_html/vendor/illuminate/cache/Illuminate/Cache/Repository.php:129 #21 Illuminate\Cache\Repository:remember in /home/liteapi/public_html/vendor/illuminate/database/Illuminate/Database/Query/Builder.php:1442 #20 Illuminate\Database\Query\Builder:getCached in /home/liteapi/public_html/vendor/illuminate/database/Illuminate/Database/Query/Builder.php:1382 #19 Illuminate\Database\Query\Builder:get in /home/liteapi/public_html/vendor/illuminate/database/Illuminate/Database/Eloquent/Builder.php:411 #18 Illuminate\Database\Eloquent\Builder:getModels in /home/liteapi/public_html/vendor/illuminate/database/Illuminate/Database/Eloquent/Builder.php:151 #17 Illuminate\Database\Eloquent\Builder:get in /home/liteapi/public_html/vendor/illuminate/database/Illuminate/Database/Eloquent/Builder.php:125 #16 Illuminate\Database\Eloquent\Builder:first in /home/liteapi/public_html/app/hooks/CheckSignature.php:19 #15 checkSignature in <#unknown>:0 #14 call_user_func_array in /home/liteapi/public_html/vendor/slim/slim/Slim/Route.php:465 #13 Slim\Route:dispatch in /home/liteapi/public_html/vendor/slim/slim/Slim/Slim.php:1355 #12 Slim\Slim:call in /home/liteapi/public_html/vendor/slim/slim/Slim/Middleware/Flash.php:85 #11 Slim\Middleware\Flash:call in /home/liteapi/public_html/vendor/slim/slim/Slim/Middleware/MethodOverride.php:92 #10 Slim\Middleware\MethodOverride:call in /home/liteapi/public_html/src/Middleware/ContentTypes.php:30 #9 System\Middleware\ContentTypes:call in /home/liteapi/public_html/src/Middleware/Queue.php:31 #8 System\Middleware\Queue:call in /home/liteapi/public_html/src/Middleware/Cache/Illuminate.php:103 #7 System\Middleware\Cache\Illuminate:call in /home/liteapi/public_html/src/Middleware/Database/Illuminate.php:46 #6 System\Middleware\Database\Illuminate:call in /home/liteapi/public_html/src/Middleware/Events/Illuminate.php:39 #5 System\Middleware\Events\Illuminate:call in /home/liteapi/public_html/src/Middleware/Error/Whoops.php:194 #4 System\Middleware\Error\Whoops:call in /home/liteapi/public_html/src/Middleware/Elasticsearch.php:43 #3 System\Middleware\Elasticsearch:call in /home/liteapi/public_html/vendor/slim/slim/Slim/Middleware/PrettyExceptions.php:67 #2 Slim\Middleware\PrettyExceptions:call in /home/liteapi/public_html/vendor/slim/slim/Slim/Slim.php:1300 #1 Slim\Slim:run in /home/liteapi/public_html/src/Bootstrap.php:174 #0 System\Bootstrap:run in /home/liteapi/public_html/public/index.php:6

MOVED 1741 127.0.0.1:50001

                $response = $command->parseResponse($response);
            }
 
            return $response;
        }
 
        if ($this->options->exceptions) {
            throw new ServerException($response->getMessage());
        }
 
     */
    public function executeCommand(CommandInterface $command)
    {
        $response = $this->connection->executeCommand($command);
 
        if ($response instanceof ResponseObjectInterface) {
            if ($response instanceof ResponseErrorInterface) {
                $response = $this->onResponseError($command, $response);
            }
 
     * @param  string $commandID Command ID.
     * @param  array  $arguments Arguments for the command.
     * @return mixed
     */
    public function __call($commandID, $arguments)
    {
        $command = $this->createCommand($commandID, $arguments);
        $response = $this->executeCommand($command);
 
        return $response;
	 * Retrieve an item from the cache by key.
	 *
	 * @param  string  $key
	 * @return mixed
	 */
	public function get($key)
	{
		if ( ! is_null($value = $this->connection()->get($this->prefix.$key)))
		{
			return is_numeric($value) ? $value : unserialize($value);
	 *
	 * @param  string  $key
	 * @param  mixed   $default
	 * @return mixed
	 */
	public function get($key, $default = null)
	{
		$value = $this->store->get($key);
 
		return ! is_null($value) ? $value : value($default);
	 * @return mixed
	 */
	public function remember($key, $minutes, Closure $callback)
	{
		// If the item exists in the cache we will just return this immediately
		// otherwise we will execute the given Closure and cache the result
		// of that execution for the given number of minutes in storage.
		if ( ! is_null($value = $this->get($key)))
		{
			return $value;
		// that the value should be remembered values should be stored indefinitely
		// and if we have minutes we will use the typical remember function here.
		if ($minutes < 0)
		{
			return $cache->rememberForever($key, $callback);
		}
 
		return $cache->remember($key, $minutes, $callback);
	}
 
	 * Execute the query as a "select" statement.
	 *
	 * @param  array  $columns
	 * @return array|static[]
	 */
	public function get($columns = array('*'))
	{
		if ( ! is_null($this->cacheMinutes)) return $this->getCached($columns);
 
		return $this->getFresh($columns);
	 * @return \Illuminate\Database\Eloquent\Model[]
	 */
	public function getModels($columns = array('*'))
	{
		// First, we will simply get the raw results from the query builders which we
		// can use to populate an array with Eloquent models. We will pass columns
		// that should be selected as well, which are typically just everything.
		$results = $this->query->get($columns);
 
		$connection = $this->model->getConnectionName();
	 * Execute the query as a "select" statement.
	 *
	 * @param  array  $columns
	 * @return \Illuminate\Database\Eloquent\Collection|static[]
	 */
	public function get($columns = array('*'))
	{
		$models = $this->getModels($columns);
 
		// If we actually found models we will also eager load any relationships that
	 * Execute the query and get the first result.
	 *
	 * @param  array  $columns
	 * @return \Illuminate\Database\Eloquent\Model|static|null
	 */
	public function first($columns = array('*'))
	{
		return $this->take(1)->get($columns)->first();
	}
 
    $accountId = Request::headers('X-Mailerlite-Account');
 
    /* Check if headers set */
    if ( ! empty($publicKey) && ! empty($signature)) {
        /** @var Application $application */
        $application = Application::where('public_key', $publicKey)
            ->remember(60, 'application:' . $publicKey)
            ->first();
 
        if ($application) {
<#unknown>
     * the order specified.
     *
     * @return bool
     */
    public function dispatch()
    {
        foreach ($this->middleware as $mw) {
            call_user_func_array($mw, array($this));
        }
 
            ob_start();
            $this->applyHook('slim.before.router');
            $dispatched = false;
            $matchedRoutes = $this->router->getMatchedRoutes($this->request->getMethod(), $this->request->getResourceUri());
            foreach ($matchedRoutes as $route) {
                try {
                    $this->applyHook('slim.before.dispatch');
                    $dispatched = $route->dispatch();
                    $this->applyHook('slim.after.dispatch');
                    if ($dispatched) {
    {
        //Read flash messaging from previous request if available
        $this->loadMessages();
 
        //Prepare flash messaging for current request
        $env = $this->app->environment();
        $env['slim.flash'] = $this;
        $this->next->call();
        $this->save();
    }
            $req = new \Slim\Http\Request($env);
            $method = $req->post($this->settings['key']);
            if ($method) {
                $env['slim.method_override.original_method'] = $env['REQUEST_METHOD'];
                $env['REQUEST_METHOD'] = strtoupper($method);
            }
        }
        $this->next->call();
    }
}
        if ($mediaType && isset($this->contentTypes[$mediaType])) {
            $result = $this->parse($env['slim.input'], $mediaType);
 
            $result = is_array($result) ? $result : [];
 
            $env['slim.request.form_hash'] = $env['slim.input'] = $result;
        }
        $this->next->call();
    }
 
                    return new \Queue\Queue($redis);
                }
            );
        } catch (\Exception $e) {
            throw $e;
        }
 
        $this->next->call();
    }
}
                $app->app_memcache->setDefaultDriver('memcached');
            }
 
        } catch (\Exception $e) {
            throw $e;
        }
 
        $this->next->call();
    }
}
 
            $app->db->setEventDispatcher($app->events);
            $app->db->bootEloquent();
        } catch (\Exception $e) {
            throw $e;
        }
 
        $this->next->call();
    }
}
             * $app->events->listen('eloquent.created: Subscriber', function($data) {});
             */
 
        } catch (\Exception $e) {
            throw $e;
        }
 
        $this->next->call();
    }
}
 
            return $run;
        }
        );
 
        $app->error([$app->whoops, Run::EXCEPTION_HANDLER]);
 
        $this->next->call();
    }
}
                    return $clientBuilder->build();
                }
            );
        } catch (\Exception $e) {
            throw $e;
        }
 
        $this->next->call();
    }
}
 
    /**
     * Call
     */
    public function call()
    {
        try {
            $this->next->call();
        } catch (\Exception $e) {
            $log = $this->app->getLog(); // Force Slim to append log to env if not already
        //Apply final outer middleware layers
        if ($this->config('debug')) {
            //Apply pretty exceptions only in debug to avoid accidental information leakage in production
            $this->add(new \Slim\Middleware\PrettyExceptions());
        }
 
        //Invoke middleware and application stack
        $this->middleware[0]->call();
 
        //Fetch status, header, and body
    }
 
    /**
     * Run the Slim application
     */
    public function run()
    {
        $this->app->run();
    }
}
<?php
ini_set('display_errors', 'on');
 
/** @var \System\Bootstrap $app */
$app = require '../app/bootstrap/start.php';
$app->run();
 
Key Value
Charset
Locale <none>
Application Class Slim\Slim
Route Name <none>
Route Pattern /app/master/applications/domains/
Route Middleware Array ( [0] => checkSignature )
Key Value
URI
Request URI /app/master/applications/domains
Path /app/master/applications/domains
Query String <none>
HTTP Method GET
Script Name
Base URL http://api.e-mailer.lt
Scheme http
Port 80
Host api.e-mailer.lt
empty
empty
empty
empty
empty
Key Value
USER apache
HOME /usr/share/httpd
HTTP_CDN_LOOP cloudflare
HTTP_CF_CONNECTING_IP 92.61.38.187
HTTP_X_MAILERLITE_SIGNATURE CjqJw8BKlQHORZm3BpPI6yyRsoRQPEBZaLKGoNRMBWI=
HTTP_X_MAILERLITE_PUBLIC 7ba8524e51d40b22c123758716880268
HTTP_USER_AGENT mailerlite-sdk-php-2.0
HTTP_CF_VISITOR {"scheme":"https"}
HTTP_CF_RAY 4ad0a271fb9bb4e0-VNO
HTTP_CF_IPCOUNTRY LT
HTTP_ACCEPT_ENCODING gzip
HTTP_CONNECTION close
HTTP_X_FORWARDED_PROTO http
HTTP_X_FORWARDED_FOR 92.61.38.187, 92.61.38.187
HTTP_X_REAL_IP 92.61.38.187
HTTP_HOST api.e-mailer.lt
REQUEST_SCHEME http
SCRIPT_FILENAME /home/liteapi/public_html/public/index.php
REDIRECT_STATUS 200
SERVER_NAME api.e-mailer.lt
SERVER_PORT 80
SERVER_ADDR 192.168.53.33
REMOTE_PORT 60508
REMOTE_ADDR 192.168.53.187
SERVER_SOFTWARE nginx/1.14.2
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.0
DOCUMENT_ROOT /home/liteapi/public_html/public
DOCUMENT_URI /index.php
REQUEST_URI /app/master/applications/domains
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1550829929.2802
REQUEST_TIME 1550829929
empty
0. Whoops\Handler\CallbackHandler
1. Whoops\Handler\PrettyPageHandler
2. Whoops\Handler\CallbackHandler
3. Whoops\Handler\CallbackHandler
4. Whoops\Handler\CallbackHandler
5. Whoops\Handler\CallbackHandler