Hi everyone
I just installed KREST Core 2.5.2 on SuiteCRM 7.9.2, PHP 7.1.7 (Centos 7).
When I load test url I get the following error in my PHP log - is this SuiteCRM or PHP 7.1. incompatibility:
[08-Aug-2017 21:00:27 Europe/Belgrade] PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function {closure}(), 0 passed and exactly 2 expected in /var/www/html/suitecrm/KREST/extensions/module.php:86
Stack trace:
#0 [internal function]: {closure}()
#1 /var/www/html/suitecrm/KREST/Slim/Slim.php(553): call_user_func(Object(Closure))
#2 /var/www/html/suitecrm/KREST/extensions/module.php(202): Slim\Slim->group(’/:beanId’, Object(Closure))
#3 [internal function]: {closure}()
#4 /var/www/html/suitecrm/KREST/Slim/Slim.php(553): call_user_func(Object(Closure))
#5 /var/www/html/suitecrm/KREST/extensions/module.php(203): Slim\Slim->group(’/:beanName’, Object(Closure))
#6 [internal function]: {closure}()
#7 /var/www/html/suitecrm/KREST/Slim/Slim.php(553): call_user_func(Object(Closure))
#8 /var/www/html/suitecrm/KREST/extensions/module.php(204): Slim\Slim->group(’/module’, Object(Closure))
#9 /var/www/html/tgsuitecrm/KREST/index.php(46): require_once(’/var/www/html/t…’)
#10 {main}
thrown in /var/www/html/suitecrm/KREST/extensions/module.php on line 86