AGE: Fatal Error

Theme support is offered to verified customers by forum only. Support requests and solutions made by email, Skype, Envato or any other method will be redirected back to the forum.

This topic is: resolved
  • Resolved
    Posted in: BlackFyre  

  • Member
    May 16, 2018 at 11:41 am #111925

    I got this error, what i need to change there
    AGE: Fatal error: Call to a member function format() on boolean in /home/*******/wp-content/themes/blackfyre/buddypress/members/single/profile.php on line 79

    In line 79 is this code:
    $age = $age->format(‘Y-m-d’);
    $age = floor((time() – strtotime($age)) / 31556926);
    echo $age;

    Sorry, this forum is for verified users only. Please Login or Register to continue

Comments are closed.