I`m having trouble with User Sync plugin. When plugin is trying to send a request to another site, the following log at client is printed at errors_s.log:
[2016-01-18 20:00:07][S] 0-10 - ajax actions***
[2016-01-18 20:00:07][S] 3-10 - p or hash not set***
At master, the following lines pops up in errors_m.log:
[2016-01-18 20:00:34][M] 02 - sending request - url=http://ec2-52-90-78-215.compute-1.amazonaws.com/wp-admin/admin-ajax.php?action=user_sync_api;;***
[2016-01-18 20:00:35][M] 03 - sending request - response=0;;***
[2016-01-18 20:00:35][M] 06 - checking key false;;***
After some debugging I checked out that some incompatibilities were ocurring at user-sync.php:341, send_request method. The value of $args[body] are being set with an array containing the action key only, so neither p or hash params were being sent. Nothing passed in $param was being set.
Converting $param into an array seems to work, request was sent, but the plugin could not handle the reponse due to similar incompatibilities: it can`t read the request response and cannot keep with the procedure of syncying users.
Here is my change:
$url = $url . "/wp-admin/admin-ajax.php?action=user_sync_api";
$args = array(
'method' => 'POST',
'timeout' => 10,
'blocking' => $blocking,
'body' => $params
m unable to sync users, and as far I can see, when I try to sync all subsites from Master neither the key check is ocurring. I need help here. Im attaching both logs files and php.ini output from both servers.
Need to put this environments to run ASAP.