Fatal error on visiting CiviCRM paths having `task` query param in it twice
task
is the parent param used by joomla to load any path. See https://docs.joomla.org/URLs_in_Joomla
A fatal error is encountered when a civi page is loaded with task
in it.
Quick steps to replicate on joomla demo is
- Search for contributions - https://cividemo.com/administrator/?option=com_civicrm&task=civicrm/contribute/search&reset=1
- Try to send a receipt using the more link.
The URL that is formed is
https://cividemo.com/administrator/?option=com_civicrm&task=civicrm/contribute/task&reset=1&task=receipt&id=12
Note there are 2 task query params
task=civicrm/contribute/task
and
task=receipt
Probably the final value is used by joomla and is never able to load the page.
Fix: Replace all task query param in civi to something else, eg taskItem.