Friday, 14 March 2025
  3 Replies
  8 Visits
0
Votes
Undo
Hi,
I have set off J5 compatibility plugin then Jevents administrator CRASH due "Class JToolBar not found" error.

JToolBar has been suppressed in Joomla 4+. To fix it, you have to replace for example :
$bar = JToolBar::getInstance('toolbar');
to
use Joomla\CMS\Toolbar\Toolbar;
$bar = Toolbar::getInstance('toolbar');

in all "com_jevents" files.

I've attached modified "com_jevents" file : "com_jevents_3.6.85_JToolBar_fix.zip"
which fix JToolBar error in administrator backend.

Could you please fix this "JToolBar" class error in main JEvents branch source

Best regards,
Gil
gilou103 set the post as Critical priority — 16 hours ago
gilou103 set the type of the post as  Bug — 16 hours ago
16 hours ago
·
#236595
0
Votes
Undo
This will be resolved in the next release - we were using JToolBar rather than JToolbar so the tool we used to find our bad references hadn't matched this

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!

15 hours ago
·
#236601
0
Votes
Undo
If you save Events, you would get a "Class "FinderIndexerResult" not found " error.

To fix it waiting for code chance, you have to disable JEvents Smart Search plugin

BR, Gil
15 hours ago
·
#236604
0
Votes
Undo
Thanks,
please also check my other post before to release a J5 version.
Best regards, Gil
  • Page :
  • 1
There are no replies made for this post yet.