+ Reply to Thread
Results 1 to 4 of 4

Thread: cron job

  1. #1

    cron job

    Hello,
    My cron job not running and error is "The 'rlGeoFilter' class not found"
    what should i do?

  2. #2
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    3,174
    Hello,

    Try to update the plugin and make sure there weren't modifications in the plugin
    Last edited by Rudi; January 17, 2024 at 08:30 AM.

  3. #3
    Quote Originally Posted by Rudi View Post
    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 ):

  4. #4
    Thanks i fix it
    replace call class from
    $GLOBALS['reefless']->loadClass('GeoFilter');

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

+ Reply to Thread