Hi, I would appreciate a little help.
When trying to connect your plugin with a https://learninglocker.net/ instance
the LRS url should be like that?
https://mylearninglocker.org:8081/data/xAPI
Are the port number and “/data/xAPI” required, or is any other form required?
I have tried several variations, but the error is always
Warning: fopen(https://mylearninglocker.org:8081/data/xAPI/statements): failed to open stream: Connection timed out in /var/…/wp-content/plugins/wp-experience-api/includes/TinCanPHP/src/RemoteLRS.php on line 123
where line 123 is:
$fp = fopen($url, ‘rb’, false, $context);
Any idea why the connection timed out error?
Also, what is the latest version of your plugin?
The one from www.remarpro.com v1.0.6, from 4 years ago?
Or the one from github.com v1.0.2, from 2 years ago?
Is it safe (albeit sad) to assume that it is no longer maintained?
Any help would be greatly appreciated.
Thanks in advance.
Hi!
I’m trying to apply this to a PhD project about Blended Learning, and I have a failure that I believe it’s not a complicated one. Could you help me? I’m trying to connect the WP with Learning Locker v2. All works fine, but when I run the queue I get the failure in the WP logs, which says:
——-
PHP Warning: Illegal string offset ‘version’ in /var/www/lab/wp-content/plugins/wp-experience-api/wp-experience-api-queue-obj.php on line 143
——-
That line I believe create the JSON information to send it. It’s this:
——-
$statement = serialize( $this->statement->asVersion( $this->lrs_info[ WP_Experience_Queue_Object::LRS_VERSION ] ) );
——-
At the beginning in the same file, LRS_VERSION is defined as…
——-
const LRS_VERSION = ‘version’;
——-
I’m don’t know much about PHP… Could you help me? Thanks!
]]>Hi. I’m web developer.
now, I’m using wplms theme.
Your plugin tracking about view pages, comment.
But i want to add new statement.
Wplms is LMS system and when i create course, then i want to create experience statement also.
how can i add new statement in experience API?
]]>Hello,
First of all thank you very much for this plugin!
It works well except calling actions using wp-pajax call.
For example:
function sendstatementAjax(){
do_action(“make_progress”);
}
add_action( ‘wp_ajax_sendstatement’, ‘sendstatementAjax’);
nothing happens in this case.
has_action(“make_progress”) returns true.
Could you advise?
]]>Parse error: syntax error, unexpected ‘[‘, expecting ‘)’ in /nas/wp/www/cluster-2051/makingbetter/wp-content/plugins/wp-experience-api/wp-experience-api.php on line 273
]]>