HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media


Welcome to TinyPortal. Please login or sign up.

June 07, 2023, 12:46:50 AM

Login with username, password and session length
  • Total Posts: 194,368
  • Total Topics: 21,157
  • Online today: 39
  • Online ever: 3,540
  • (September 03, 2022, 01:38:54 AM)
Users Online
Users: 0
Guests: 40
Total: 40

General Error: mktime(): You should be using the time() function instead

Started by Michael Vail, January 03, 2022, 03:26:02 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Michael Vail

Link to my forum:
SMF version: SMF ver. 2.0.19
TP version: TP ver. 2.1.0
Default Forum Language: English
Theme name and version: Default (Curve)
Browser Name and Version: Chrome, Firefox, Edge - All Current Versions
Mods installed: See attached image of package manager
Related Error messages: SEE BELOW....
Current Server PHP Version: 7.4.27

Good Evening Everyone,

I've been getting a ton of the below errors in my SMF Log and was wondering if there is a fix coming or available for this? I did some searching and found a previous thread about a similar issue but it was over 4 years old.

SMF LOG ERROR: Filter: Only show the errors with the same message8192: mktime(): You should be using the time() function insteadApply Filter: Only show the errors from this fileFile: /home/customer/www/ (tp_above sub template - eval?)
Line: 45

The web server hosting the site allows me to choose from several versions of PHP (See image below). I'm currently running 7.4.27.

This is not urgent, just whenever someone has time  who might know ow to resolve it.

Take care and HAPPY NEW YEAR!


My best guess: you have an 'old' calendar block on you site.

Change that block and recreate it with the latest code snippet....
Running Latest TP on SMF2.1 at: