error when adding external functions to a web service.

Re: error when adding external functions to a web service.

by sadaf sadafian -
Number of replies: 3
Hi
There is no need to using "brute force" algorithm to find issue!
You can find it in O(1) !
just add this code after line 87 (in if scope):
print_r($function);
after refreshing page that Error occurred, you should see something like this:
stdClass Object ( 
    [id] => `int id`
    [name] => `name of service that has the problem`
    [classname] => `classname of service that has the problem`
    [methodname] => `name of method that has the problem (in externallib.php)`
    [classpath] => `the path of file that has the problem`
    [component] => `name of plugin`
    [services] => `some services`
)
Average of ratings: Useful (1)
In reply to sadaf sadafian

Re: error when adding external functions to a web service.

by Felipe Reis -
Hi Sadaf,
Your comment saved my life! Thank you... with that line I found the plugin!
Regards!
In reply to sadaf sadafian

Re: error when adding external functions to a web service.

by Erik Pérez -
This worked for me thanks. Identify buggy plugins and fix them