Soap api v4_1 is not working with php 8 must be a valid callback, non-static method SugarWebServiceImplv4_1::login() #9741
Labels
Area: API
Issues & PRs related to all things regarding the API
Area: PHP8
Issues & PRs related to the CRM when using PHP8
Priority:Important
Issues & PRs that are important; broken functions, errors - there are workarounds
Status:Fix Proposed
A issue that has a PR related to it that provides a possible resolution
Status: Team Investigating
Labels for issues in which the Core Team are investigating / Intend to Investigate
Type:Bug
Bugs within the core SuiteCRM codebase
Soap api v4_1 failing while calling any method
We are using SuiteCRM version 7.12.7 with PHP 8.0.13
while calling Soap api we are getting following error.
Expected Behavior
The login soap v4_1 API should return session token and other api should work
Actual Behavior
It is returning error for all APIs
The function
call_user_func_array
throwing fatal error inPHP 8
if the function is not static. In the codecall_user_func_array
is calling method statically but all methods are not declared as non-staticPossible Fix
In
include/nusoap/nusoap.php
line number5428
the control should not go intoelseif ($delim == '..')
this condition. it should go toelse
instead.Steps to Reproduce
Call soap api
service/v4_1/soap.php
with parametersYour Environment
The text was updated successfully, but these errors were encountered: