Running Task Symbiote\QueuedJobs\Tasks\PublishItemsTask

GET /dev/tasks/PublishItemsTask

[Emergency] Uncaught Exception: Sorry, you must provide a parent node to publish from

GET /dev/tasks/PublishItemsTask

Line 33 in /home/bradc/public_html/vendor/symbiote/silverstripe-queuedjobs/src/Tasks/PublishItemsTask.php

Source

24 
25     /**
26      * @throws Exception
27      * @param HTTPRequest $request
28      */
29     public function run($request)
30     {
31         $root = $request->getVar('parent');
32         if (!$root) {
33             throw new Exception("Sorry, you must provide a parent node to publish from");
34         }
35 
36         $item = DataObject::get_by_id('Page', $root);
37 
38         if ($item && $item->exists()) {
39             $job = new PublishItemsJob($root);

Trace