IT's 123_108_2016. Every time I deploy the app, the error dissapears and appears after a few hours.

Mars Lan <mailto:[email protected]>
Friday, January 29, 2016 2:49 AMvia Postbox <https://www.postbox-inc.com/?utm_source=email&utm_medium=sumlink&utm_campaign=reach>
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 [email protected] <mailto:[email protected]>. To post to this group, send email to [email protected] <mailto:[email protected]>.
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 <https://groups.google.com/d/msgid/google-appengine/e9d42069-cd9a-4cb4-a7d8-e867c091141c%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
Iulian Pacurar <mailto:[email protected]>
Thursday, January 28, 2016 9:50 AMvia Postbox <https://www.postbox-inc.com/?utm_source=email&utm_medium=sumlink&utm_campaign=reach>

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:74 Stack 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 74

Do 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 [email protected] <mailto:[email protected]>. To post to this group, send email to [email protected] <mailto:[email protected]>.
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 <https://groups.google.com/d/msgid/google-appengine/3cb72e23-3bf9-4227-bd32-8aa372173f55%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

--
Sent from Postbox <https://www.postbox-inc.com/?utm_source=email&utm_medium=siglink&utm_campaign=reach>

--
You received this message because you are subscribed to the Google Groups "Google 
App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
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/56AB08FF.5010309%40filipac.net.
For more options, visit https://groups.google.com/d/optout.

Reply via email to