Webservice sync operation fails
When calling the webservice sync operation via http://{{vtiger-crm}}/operation=sync&sessionName={{sessionId}}&modifiedTime={{modifiedTime}}&elementType={{elementType}}&syncType={{syncType}} a HTTP 500 error is raised. When enabling development mode in the config.inc.php the following error message occurs:
**Fatal error**: Uncaught Error: Unknown named parameter $modifiedTime in /app/include/Webservices/OperationManager.php:152 Stack trace: #0 /app/webservice.php(136): OperationManager->runOperation() #1 {main} thrown in **/app/include/Webservices/OperationManager.php** on line **152**
The issue is caused by a different handling of call_user_func_array method in PHP 8. The array passed as $args parameter is handled with the array keys names instead of positional parameters which fails. Also the syncType parameter of the underlying method in the file include/Webservices/GetUpdates.php is missing in the vtiger_ws_operation_parameters table of the database.