Does KReporter supports SuiteCRM 9.x with PHP 7.1?


#1

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


#2

Vladimir, current KREST release does not support Php 7.1. The coming one does. Release August or September 2017.
Kreporter itself should be compatible with php7.1, we will run some tests.
Kreporter 4.x does not support SuiteCRM. It might work, this is all I can say.
Val


#3

Thanks Maretval!

Does current KREST support PHP 7.0? I can downgrade and try KREST like that.

Is there a comparison sheet between SuiteCRM and SpiceCRM?

Vladimir


#4

Yes, php 7.0 is supported. Please check krest installation guide
So far I know there is no comparison sheet between SuiteCRM and SpiceCRM