Title: Solution for time() function issue
Last modified: October 27, 2023

---

# Solution for time() function issue

 *  [Bodipalli Prabhakar Rao](https://wordpress.org/support/users/bprabhu1226/)
 * (@bprabhu1226)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/solution-for-time-function-issue/)
 * Issue :  _Fatal error: Uncaught ArgumentCountError: time() expects exactly 0 
   arguments, _1 \wp-content\plugins\user-profile\user-profile.php on line _149_
   and Line 156
 * Solution : PHP time() function doesn’t allow param. To fix the issue, we can 
   replace **time(“H:s”) **with **date(“H:s”, time())**
 * Just started using this plugin. If any issues noticed, I will share the fixes
   too.
    -  This topic was modified 2 years, 8 months ago by [Bodipalli Prabhakar Rao](https://wordpress.org/support/users/bprabhu1226/).

Viewing 1 replies (of 1 total)

 *  Plugin Support [pickpluginswporgrep](https://wordpress.org/support/users/pickpluginswporgrep/)
 * (@pickpluginswporgrep)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/solution-for-time-function-issue/#post-17158415)
 * Hi [@bprabhu1226](https://wordpress.org/support/users/bprabhu1226/),
   Thank you
   so much for posting this issue. We appreciate your effort. Please install the
   latest version **2.0.20**, and give it a try.

Viewing 1 replies (of 1 total)

The topic ‘Solution for time() function issue’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/user-profile_7e7a79.svg)
 * [User profile](https://wordpress.org/plugins/user-profile/)
 * [Support Threads](https://wordpress.org/support/plugin/user-profile/)
 * [Active Topics](https://wordpress.org/support/plugin/user-profile/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/user-profile/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/user-profile/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [pickpluginswporgrep](https://wordpress.org/support/users/pickpluginswporgrep/)
 * Last activity: [2 years, 8 months ago](https://wordpress.org/support/topic/solution-for-time-function-issue/#post-17158415)