Support » Plugin: MailPoet - emails and newsletters in WordPress » Call to undefined function wp_get_current_user() in capabilities.php

  • Resolved eddr

    (@eddr)


    0. Using latest MP 2.7 version, works fine
    1. clicks on try “Mailpoet 3 Now!”
    2. The function does exists in pluggable.php and works fine otherwise
    3. PHP: 7.0.2. OS: Debian 8
    4. Also tried to install it via the plugins page

    Full error message:
    Fatal error: Uncaught Error: Call to undefined function wp_get_current_user() in /var/www/[deleted]/htdocs/wp-includes/capabilities.php:539 Stack trace: #0 /var/www/[deleted]/htdocs/wp-content/plugins/wysija-newsletters/core/base.php(1254): current_user_can(‘switch_themes’) #1 /var/www/[deleted]/htdocs/wp-content/plugins/wysija-newsletters/core/base.php(665): WYSIJA::current_user_can(‘switch_themes’) #2 /var/www/[deleted]/htdocs/wp-content/plugins/wysija-newsletters/helpers/back.php(29): WYSIJA::get(‘mp3’, ‘controller’) #3 /var/www/[deleted]/htdocs/wp-content/plugins/wysija-newsletters/core/base.php(675): WYSIJA_help_back->__construct(‘wysija’) #4 /var/www/[deleted]/htdocs/wp-content/plugins/wysija-newsletters/core/base.php(1632): WYSIJA::get(‘back’, ‘helper’) #5 /var/www/[deleted]/htdocs/wp-content/plugins/wysija-newsletters/index.php(31): require_once(‘/var/www/[deleted]…’) #6 /var/www/[deleted]/htdocs/wp-settings.php(303): include_once(‘/var/www/[deleted]…’) #7 /var/www/[deleted]/wp-config.php(51): require_once(‘/var/www/[deleted]…’) #8 /var/www/gl in /var/www/[deleted]/htdocs/wp-includes/capabilities.php on line 539

    • This topic was modified 2 years, 10 months ago by eddr.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Call to undefined function wp_get_current_user() in capabilities.php’ is closed to new replies.