Attach Invoice plugin not compatible with Joomla 4

  • Posts: 99
  • Thank you received: 7
  • Hikashop Business
1 year 4 months ago #352716

-- HikaShop version -- : 4.7.4
-- Joomla version -- : 4.3.2
-- Error-message(debug-mod must be tuned on) -- : error - Uncaught Throwable of type Error thrown with message "Call to undefined method Joomla\CMS\Application\SiteApplication::isAdmin()". Stack trace: #0 [ROOT]/libraries/src/Plugin/CMSPlugin.php(284): plgHikashopAttachinvoice->onAfterRender() #1 [ROOT]/libraries/vendor/joomla/event/src/Dispatcher.php(486): Joomla\CMS\Plugin\CMSPlugin->Joomla\CMS\Plugin\{closure}(Object(Joomla\Event\Event)) #2 [ROOT]/libraries/src/Application/EventAware.php(111): Joomla\Event\Dispatcher->dispatch('onAfterRender', Object(Joomla\Event\Event)) #3 [ROOT]/libraries/src/Application/CMSApplication.php(1031): Joomla\CMS\Application\WebApplication->triggerEvent('onAfterRender') #4 [ROOT]/libraries/src/Application/SiteApplication.php(724): Joomla\CMS\Application\CMSApplication->render() #5 [ROOT]/libraries/src/Application/CMSApplication.php(298): Joomla\CMS\Application\SiteApplication->render() #6 [ROOT]/includes/app.php(61): Joomla\CMS\Application\CMSApplication->execute() #7 [ROOT]/index.php(32): require_once('/home/customer/...') #8 {main}

error

We have recently updated to Joomla 4 however the "Attach PDF Invoice" plugin is not compatible with Joomla 4 giving the error above:

Can I get a Joomla 4 compatible plugin please.

Last edit: 1 year 4 months ago by bmm01.

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
1 year 4 months ago #352720

Hi,

The attach invoice plugin is compatible with Joomla 4. The support for it was added 4 years ago in the plugin as you can see in its changelog:
www.hikashop.com/marketplace/product/18-plugin-pdf.html
I can see you purchased it in 2014, and in that case, you had access to updates for it until 2018, which is before we modified it to support Joomla 4 (since there was no information available to support Joomla 4 before then).
So you'll have to purchase it again to get access to the latest version and update the plugin on your website by installing the latest version's install package you'll be given access to after the purchase. This will fix that error.

The following user(s) said Thank You: bmm01

Please Log in or Create an account to join the conversation.

Time to create page: 0.059 seconds
Powered by Kunena Forum