[Plugin: Last Login] Calling function stops page creation
-
I am using the Exec-PHP plugin, which allows me to execute PHP code in widgets. The following code works without the call to get_last_login_current_user(), but with the function call I get a blank page displayed. Page rendering stops and a fatal error message is generated:
Fatal error: Call to undefined function last_login_time() in [path shortened…]/wp-content/plugins/last-login/last-login.php on line 100
Here is the code I am using.
I have uninstalled and reinstalled the plugin and error still occurs.
I looked in the last-login.php file, and I see that no last_login_time() function exists in it.
<?php echo '<span class="last-logged-in-text">You last logged in: </span><span class="last-logged-in-date">'; echo get_last_login_current_user(); echo '</span>'; ?>
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘[Plugin: Last Login] Calling function stops page creation’ is closed to new replies.