jDownloads Support Forum

jDownloads for Joomla 4.x and 5.x => jDownloads 4.0 => General => Topic started by: zolive on 30.08.2025 15:03:59

Title: Bug in "Check Download Area" when you want to create in J5 & PHP 8.2
Post by: zolive on 30.08.2025 15:03:59
Attempted to load class "JPlugin" from the global namespace.
Did you forget a "use" statement?
in /Applications/MAMP/htdocs/protee-shop.org/plugins/content/textman/textman.php (line 9)

So I changed

// --- Start correction : Add this line ---
use Joomla\CMS\Plugin\CMSPlugin;
// --- End correction ---

// Old line:
// class PlgContentTextman extends JPlugin
//
// New line (corrected) :
class PlgContentTextman extends CMSPlugin // Line 9 (maintenant corrigée)

And it works !
Title: Re: Bug in "Check Download Area" when you want to create in J5 - not a jD bug!
Post by: Arno on 01.09.2025 14:55:20
Hi,
the textman extension is not mine.
So I can't change anything in this plugin.
Please contact the developer.