By gilou103 on Friday, 14 March 2025
Replies 3
Likes 0
Views 284
Votes 0
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
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
·
Friday, 14 March 2025 15:02
·
0 Likes
·
0 Votes
·
0 Comments
·
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
·
Friday, 14 March 2025 15:36
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks,
please also check my other post before to release a J5 version.
Best regards, Gil
·
Friday, 14 March 2025 15:44
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post