• With no other plugins installed, this plugin returns an error:

    Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /Users/me/Sites/sandbox/wp-includes/functions.php on line 4139

    Warning: Cannot modify header information - headers already sent by (output started at /Users/me/Sites/sandbox/wp-includes/functions.php:4139) in /Users/me/Sites/sandbox/wp-includes/pluggable.php on line 1210

    • This topic was modified 7 years, 7 months ago by polyfade.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter polyfade

    (@polyfade)

    Placing [WP_AJAX_LOGIN] does not work inside a text widget.

    Placing [WP_AJAX_LOGIN] inside a page renders the login form, however, it redirects to the index page instead of the current page.

    Since I did not specify a redirect URL in the Wp Ajax Login options, it should not redirect back home, correct?

    Plugin Author Navdeep

    (@neerajsharma2855)

    Hello Polyfade
    If you want use in widget . you need to add this code in theme functions.php .
    // Enable shortcodes in text widgets
    add_filter(‘widget_text’,’do_shortcode’);

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error with any theme’ is closed to new replies.