PDA

View Full Version : cron job



Ahmed Emad
January 17, 2024, 12:56 AM
Hello,
My cron job not running and error is "The 'rlGeoFilter' class not found"
what should i do?

Rudi
January 17, 2024, 06:46 AM
Hello,

Try to update the plugin and make sure there weren't modifications in the plugin

Ahmed Emad
January 17, 2024, 11:46 AM
Hello,

Try to update the plugin and make sure there weren't modifications in the plugin
The problem i should to add 'rlGeoFilter' class inside function sendEmails($tosend, $action) in cron
because i include this class inside rlSearch.class.php in public function search because i make modify by myself to apply location in keyword search but now i face problem in cron ):

Ahmed Emad
January 17, 2024, 09:36 PM
Thanks i fix it
replace call class from
$GLOBALS['reefless']->loadClass('GeoFilter');

To
if ($GLOBALS['plugins']['multiField']) {
$GLOBALS['reefless']->loadClass('GeoFilter', null, 'multiField');
}