We have an old acymailing module that we are not using and is flagged as a potential upgrade problem for upgrading to Joomla 4 and we want to uninstall it.
We are on php 8.0 and Acymailing 8.1.2. The module is:
AcyMailing Module
Site Module 3.7.0 September 2009 Acyba
When uninstalling, we get the error:
An error has occurred.
0 Undefined constant "JPATH_"
/public_html/libraries/src/Installer/Adapter/ModuleAdapter.php:214
Call stack
Function Location
1 () JROOT/libraries/src/Installer/Adapter/ModuleAdapter.php:214
2 constant() JROOT/libraries/src/Installer/Adapter/ModuleAdapter.php:214
3 Joomla\CMS\Installer\Adapter\ModuleAdapter->loadLanguage() JROOT/libraries/src/Installer/Adapter/ModuleAdapter.php:578
4 Joomla\CMS\Installer\Adapter\ModuleAdapter->uninstall() JROOT/libraries/src/Installer/Installer.php:776
5 Joomla\CMS\Installer\Installer->uninstall() JROOT/administrator/components/com_installer/models/manage.php:246
6 InstallerModelManage->remove() JROOT/administrator/components/com_installer/controllers/manage.php:112
7 InstallerControllerManage->remove() JROOT/libraries/src/MVC/Controller/BaseController.php:702
8 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/administrator/components/com_installer/installer.php:19
9 require_once() JROOT/libraries/src/Component/ComponentHelper.php:402
10 Joomla\CMS\Component\ComponentHelper::executeComponent() JROOT/libraries/src/Component/ComponentHelper.php:377
11 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/AdministratorApplication.php:101
12 Joomla\CMS\Application\AdministratorApplication->dispatch() JROOT/libraries/src/Application/AdministratorApplication.php:159
13 Joomla\CMS\Application\AdministratorApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:225
14 Joomla\CMS\Application\CMSApplication->execute() JROOT/administrator/index.php:51
Any ideas in helping to uninstall this?