Need an expert Joomla MVC developer who can do a quick fix for BaseController.php

Job ID: 30810418

Budget: $10 – $30 USD

I need a good Joomla developer who knows his work with MVC BaseController.php
I have an old component that needs some quick fixing to work with the new joomla version and php 7.3 if possible
the scope of problem is this and I will be clear about it so you get to understand this.
pls dont bid if you cant fix this as we dont have time for guessworks, we need someone who fix this
once fixed, we will get him to do further work but this is important now to get it to work.

we are geting this error

An error has occurred.

0 Too few arguments to function Joomla\CMS\MVC\Controller\BaseController::registerTask(), 1 passed in /home/worldta/public_html/mainsite/administrator/components/com_bookpro/controllers/flight.php on line 22 and exactly 2 expected
/home/worldta/public_html/mainsite/libraries/src/MVC/Controller/BaseController.php:941

Call stack
# Function Location
1 () JROOT/libraries/src/MVC/Controller/BaseController.php:941
2 Joomla\CMS\MVC\Controller\BaseController->registerTask() JROOT/administrator/components/com_bookpro/controllers/flight.php:22
3 BookProControllerFlight->__construct() JROOT/administrator/components/com_bookpro/bookpro.php:30
4 require_once() JROOT/libraries/src/Component/ComponentHelper.php:402
5 Joomla\CMS\Component\ComponentHelper::executeComponent() JROOT/libraries/src/Component/ComponentHelper.php:377
6 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/AdministratorApplication.php:101
7 Joomla\CMS\Application\AdministratorApplication->dispatch() JROOT/libraries/src/Application/AdministratorApplication.php:159
8 Joomla\CMS\Application\AdministratorApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:203
9 Joomla\CMS\Application\CMSApplication->execute() JROOT/administrator/index.php:51

flight.php is attached. this is the component that is not working and we need it work with the BaseController.php
Related categories: PHP Joomla MySQL