Friday, 14 March 2025
  3 Replies
  760 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 — 1 year ago
gilou103 set the type of the post as  Bug — 1 year ago
Friday, 14 March 2025 15:02
·
#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
Friday, 14 March 2025 15:36
·
#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
Friday, 14 March 2025 15:44
·
#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.