Login  |  Register
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome, Guest. Please login or register.
Did you miss your activation email?

June 30, 2022, 01:43:06 PM

Login with username, password and session length
Members
Stats
  • Total Posts: 193406
  • Total Topics: 21080
  • Online today: 56
  • Online ever: 1035
  • (November 26, 2020, 04:45:12 AM)
Users Online
Users: 0
Guests: 40
Total: 40

Author Topic: General Error: mktime(): You should be using the time() function instead  (Read 358 times)

0 Members and 1 Guest are viewing this topic.

Offline Michael Vail

  • Jr. Member
  • **
  • Posts: 36
    • Sonoma County DSA
Link to my forum: https://sonomacountydsa.org/forums
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:
Code: [Select]
https://www.sonomacountydsa.org/forums/index.php?Apply 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/sonomacountydsa.org/public_html/forums/Themes/default/languages/Post.english.php (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!

Offline @rjen

  • Support Team
  • *
  • Posts: 3250
    • FJR-club Nederland
Re: General Error: mktime(): You should be using the time() function instead
« Reply #1 on: January 02, 2022, 11:19:06 PM »
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: www.fjr-club.nl

Testing TP on SMF2.0
Testing TP on SMF2.1 (latest Github)
Want to check what php version I am testing on? See: PHP Info