Hi Andrej,
Thanks for reporting the issue.
I’ve secured the data passed via ajax and commited it to new version. Please update.
Best,
Kuba
Hello,
I’m using 1.4 and seem to have the same error:
When clicking on ‘execute’ on a single-event-job, I get the following error:
PHP message: PHP Warning: array_slice() expects parameter 1 to be array, string given in wordpress/wp-includes/plugin.php on line 576
PHP message: PHP Warning: call_user_func_array() expects parameter 2 to be array, null given in wordpress/wp-includes/plugin.php on line 576
I debugged a little bit, and in wp-includes/plugin.php on line 536 (do_action_ref_array) i get the following message by the following code:
if(is_string($args)) {
trigger_error("string:");
trigger_error(var_export($args, true));
}
PHP message: PHP Notice: string: in wordpress/wp-includes/plugin.php on line 540
PHP message: PHP Notice: '[email protected],mailsubject,' in wordpress/wp-includes/plugin.php on line 541
in wp_schedule_single_event the $args are an array all the time. I think the unserialize isn’t working the right way.
Can anyone reproduce this?
Thanks in advance!
Hi,
Thanks for the message.
I’ve spot the issue and updated plugin. Please update and let me know if problem is still there.
Hello,
it works now.
Thank you very much for your effort and have a nice day.
This functions appears to be broken again. The error thrown now is…
Object { action: "acm_execute_task", task: "zc_quiz_do_batch_report_hook", args: "", noonce: "9ddff7af30" }
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
m.parseJSON()
load-scripts.php:5
e.parseJSON()
load-scripts.php:8
<anonymous>
ajax.js:303
m.Callbacks/j()
load-scripts.php:2
m.Callbacks/k.fireWith()
load-scripts.php:2
x()
load-scripts.php:5
.send/b()