Support » Plugin: Custom Login Page Customizer | LoginPress » Undefined PHP function

  • Resolved dmccan

    (@dmccan)


    I’m using LoginPress 1.3.0 and get this PHP error for any page on the admin side:

    PHP Fatal error: Uncaught Error: Call to undefined function wp_get_current_user() in /…/wp-includes/capabilities.php:640\nStack trace:\…/wp-content/plugins/loginpress/include/compatibility.php(98): current_user_can(‘manage_options’)\…wp-includes/class-wp-hook.php(288): LoginPress_Compatibility->site_url_remove_filter(‘https://…’)\wp-includes/plugin.php(208): WP_Hook->apply_filters(‘https://…’, Array)\wp-includes/link-template.php(3190): apply_filters(‘site_url’, ‘https://…’, ‘wp-admin/’, ‘admin’, NULL)\wp-includes/link-template.php(3220): get_site_url(NULL, ‘wp-admin/’, ‘admin’)\

    Please let me know if you need more information.

    Regards,

    David McCan

Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.