Running Task Copy pages to different subsite

GET /dev/tasks/SubsiteCopyPagesTask

[Emergency] Uncaught InvalidArgumentException: Missing "from" parameter

GET /dev/tasks/SubsiteCopyPagesTask

Line 34 in /srv/users/serverpilot/apps/pagebuildr/public/vendor/silverstripe/subsites/src/Tasks/SubsiteCopyPagesTask.php

Source

25     protected $title = 'Copy pages to different subsite';
26     protected $description = '';
27 
28     private static $segment = 'SubsiteCopyPagesTask';
29 
30     public function run($request)
31     {
32         $subsiteFromId = $request->getVar('from');
33         if (!is_numeric($subsiteFromId)) {
34             throw new InvalidArgumentException('Missing "from" parameter');
35         }
36         $subsiteFrom = DataObject::get_by_id(Subsite::class, $subsiteFromId);
37         if (!$subsiteFrom) {
38             throw new InvalidArgumentException('Subsite not found');
39         }
40 

Trace