$nr = str_replace('/','-',$this->input->post('number'));
$queue = new PushQueue();
$task = new PushTask('/queue/refreshFolder', ['folder' => $nr]);
$queue->addTasks([$task]);
Friday, January 29, 2016 2:49 AM via Postbox
Can you try var_dump($nr) to check its content?
On Wednesday, January 27, 2016 at 11:50:21 PM UTC-8, Iulian Pacurar wrote:
--
You received this message because you are subscribed to a topic in the Google Groups "Google App Engine" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-appengine/XtM20RwuNe4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-appengi...@googlegroups.com.
To post to this group, send email to google-a...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/e9d42069-cd9a-4cb4-a7d8-e867c091141c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Thursday, January 28, 2016 9:50 AM via Postbox
--
You received this message because you are subscribed to a topic in the Google Groups "Google App Engine" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-appengine/XtM20RwuNe4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-appengi...@googlegroups.com.
To post to this group, send email to google-a...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/3cb72e23-3bf9-4227-bd32-8aa372173f55%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
$queue = new PushQueue();
$task = new PushTask('/queue/refreshFolder', ['folder' => 'given_folder']);
$queue->addTasks([$task]);
$queue = new PushQueue('customPushQueue');
$task = new PushTask('/queue/refreashFolder/, ['folder' => 'given_folder'], ['method' => 'POST']);
IT's 123_108_2016. Every time I deploy the app, the error dissapears and appears after a few hours.
Friday, January 29, 2016 2:49 AM via Postbox
Can you try var_dump($nr) to check its content?--
On Wednesday, January 27, 2016 at 11:50:21 PM UTC-8, Iulian Pacurar wrote:
You received this message because you are subscribed to a topic in the Google Groups "Google App Engine" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-appengine/XtM20RwuNe4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-appengine+unsubscribe@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/e9d42069-cd9a-4cb4-a7d8-e867c091141c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Thursday, January 28, 2016 9:50 AM via Postbox
--Hello guys, Looking through my app logs, I saw an awkward error regarding tasks:PHP Fatal error: Uncaught exception 'google\appengine\runtime\ArgumentError' with message 'An error occurred parsing (locally or remotely) the arguments to taskqueue.BulkAdd().' in /base/data/home/runtimes/php/sdk/google/appengine/runtime/RealApiProxy.php:74Stack trace: #0 /base/data/home/runtimes/php/sdk/google/appengine/runtime/ApiProxy.php(40): google\appengine\runtime\RealApiProxy->makeSyncCall('taskqueue', 'BulkAdd', Object(google\appengine\TaskQueueBulkAddRequest), Object(google\appengine\TaskQueueBulkAddResponse), NULL) #1 /base/data/home/runtimes/php/sdk/google/appengine/api/taskqueue/PushQueue.php(187): google\appengine\runtime\ApiProxy::makeSyncCall('taskqueue', 'BulkAdd', Object(google\appengine\TaskQueueBulkAddRequest), Object(google\appengine\TaskQueueBulkAddResponse)) #2 /base/data/home/runtimes/php/sdk/google/appengine/api/taskqueue/PushTask.php(292): google\appengine\api\taskqueue\PushQueue->addTasks(Array) #3 /base/data/home/apps/X/7.390253092521509413/default/application/controllers/user/folder in /base/data/home/runtimes/php/sdk/google/appengine/runtime/RealApiProxy.php on line 74Do you have any idea what is wrong here? Here is my code:$nr = str_replace('/','-',$this->input->post('number'));
$queue = new PushQueue();
$task = new PushTask('/queue/refreshFolder', ['folder' => $nr]);
$queue->addTasks([$task]);
You received this message because you are subscribed to a topic in the Google Groups "Google App Engine" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-appengine/XtM20RwuNe4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-appengine+unsubscribe@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/3cb72e23-3bf9-4227-bd32-8aa372173f55%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.