Fixed Error with Falang component

lcollong

FabriKant d'applications web
Hi there,

Not sure it's related to Fabrik.
On J4 site with Fabrik zeta we have Falang component to manage translations of things (https://www.faboba.com/ ).
When accessing to a module translation in the backend (.../administrator/index.php?option=com_falang&task=translate.overview#edit ), we get a crash :

Capture.PNG



If I unpublish the Fabrik Scheduling task Sytem plugin, it works as usual.

Would some of you may have an idea ?

Thanks,

Laurent
 
I don't think it would make a difference but the recent Fabrik is 4.0.

Looking a the cron code doCron() doesn't do anything in the backend.

It's calling $mailer = Factory::getMailer(); which is failing in your case (I don't think Fabrik can do anything else here) but then returning anyway.

So I assume in plugins\system\fabrikcron\fabrikcron.php
moving the return condition (line 155-158) before $mailer = Factory::getMailer(); should fix the issue.
 
Well done !
It works. May I suggest to include it in future release ?
Have a nice day.
 
Can you see any issue in the frontend? Is there a "frontend" function for com_falang?

Maybe com_falang should be excluded in general as it is done with acy_mailing.
There's no comment why this was done, perhaps because of a similar issue.
 
No issue in front-end and no reason to use edit function in the front-end.
Perharps we should exclude it. I'll post on their forum also and keep you inform of any feedback from them.
 
We are in need of some funding.
More details.

Thank you.

Members online

No members online now.
Back
Top