Hello,
Thank you for reporting this. The message you are seeing is a PHP warning, not an error. This means that the site will continue to function normally, but PHP is alerting you about a variable that is currently undefined. In contrast, an error would stop the script from running.
In your case, the warning appears because the code references $currentDate in a section that is intended for Joomla versions prior to 4. Since you are using Joomla 5, this part of the code is not applicable and can be safely ignored for now.
We do plan to refine this in a future update of Pitech to ensure full compatibility and remove such warnings. We appreciate your patience and understanding.
Best regards