Slim Application Error

The application could not run because of the following error:

Details

Type: ErrorException
Code: 8192
Message: Function get_magic_quotes_gpc() is deprecated
File: /home/wdthost/public_html/int/vendor/slim/slim/Slim/Http/Util.php
Line: 60

Trace

#0 /home/wdthost/public_html/int/vendor/slim/slim/Slim/Http/Util.php(60): Slim\Slim::handleErrors(8192, 'Function get_ma...', '/home/wdthost/p...', 60, Array)
#1 /home/wdthost/public_html/int/vendor/slim/slim/Slim/Http/Request.php(226): Slim\Http\Util::stripSlashesIfMagicQuotes(Array)
#2 /home/wdthost/public_html/int/app/routes/front/products/productsByDepartment.php(13): Slim\Http\Request->get('page')
#3 [internal function]: {closure}('21')
#4 /home/wdthost/public_html/int/vendor/slim/slim/Slim/Route.php(468): call_user_func_array(Object(Closure), Array)
#5 /home/wdthost/public_html/int/vendor/slim/slim/Slim/Slim.php(1357): Slim\Route->dispatch()
#6 /home/wdthost/public_html/int/vendor/slim/slim/Slim/Middleware/Flash.php(85): Slim\Slim->call()
#7 /home/wdthost/public_html/int/vendor/slim/slim/Slim/Middleware/MethodOverride.php(92): Slim\Middleware\Flash->call()
#8 /home/wdthost/public_html/int/app/base/Middleware/BeforeMiddleware.php(13): Slim\Middleware\MethodOverride->call()
#9 /home/wdthost/public_html/int/app/base/Middleware/CsrfMiddleware.php(18): base\Middleware\BeforeMiddleware->call()
#10 /home/wdthost/public_html/int/vendor/slim/slim/Slim/Middleware/PrettyExceptions.php(67): base\Middleware\CsrfMiddleware->call()
#11 /home/wdthost/public_html/int/vendor/slim/slim/Slim/Slim.php(1302): Slim\Middleware\PrettyExceptions->call()
#12 /home/wdthost/public_html/int/en/index.php(4): Slim\Slim->run()
#13 {main}