You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

RNCPHP\CommunityQuestionComment won't work

Accepted answer
17
Views
1
Comments
edited Jan 3, 2019 7:12PM in Integrations and APIs 1 comment

Summary

Not able to use RNCPHP\CommunityQuestionComment in PHP API

Content

PHP file stops working soon as it reaches any code with class RNCPHP\CommunityQuestionComment

RNCPHP\CommunityQuestion and RNCPHP\CommunityUser works fine but RNCPHP\CommunityQuestionComment won't work.
 
For example:
echo "Before";
$comment = new RNCPHP\CommunityQuestionComment();
echo "After";
 
The code won't reach "After".
 
Have tried on different sites.
Have tried on PHP API Version 3 and 4.

Version

CPHP API 4
Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!