Hello everyone, i openend the shop xml files typing in my browser http://localhost/api/. I can access the customers section, but i cannot access the products or categories section. When i activate the debug mode in config/defines.inc.php the following error message comes up:
Fatal error: Uncaught Error: Function name must be a string in C:\xampp\htdocs\classes\webservice\WebserviceOutputBuilder.php:542
Stack trace:
#0 C:\xampp\htdocs\classes\webservice\WebserviceOutputBuilder.php(481): WebserviceOutputBuilderCore->renderField(Object(Product), Array, 'id_default_imag...', Array, 0)
#1 C:\xampp\htdocs\classes\webservice\WebserviceOutputBuilder.php(385): WebserviceOutputBuilderCore->renderEntity(Object(Product), 0)
#2 C:\xampp\htdocs\classes\webservice\WebserviceRequest.php(1694): WebserviceOutputBuilderCore->getContent(Array, NULL, 'full', 0, 2)
#3 C:\xampp\htdocs\classes\webservice\WebserviceRequest.php(560): WebserviceRequestCore->returnOutput()
#4 C:\xampp\htdocs\webservice\dispatcher.php(87): WebserviceRequestCore->fetch('E1UP4CKKTLKNZ2N...', 'GET', 'products/2', Array, false, NULL)
#5 {main}
thrown in C:\xampp\htdocs\classes\webservice\WebserviceOutputBuilder.php on line 542
I admit that i just changed the supported versions on line 49 in PSWebServiceLibrary.php to
const psCompatibleVersionsMax = '1.6.1.4';
because that is my current version. Some tries accessing the webservice with a token in php resulted in the same error code.
How can I fix this problem?
May I downgrade to 1.6.1.3?
Kind regards,
Chris