• Resolved charlieagain

    (@charlieagain)


    Hi

    I get this error when I download and activate your plugin on the latest wp installation with ultra themify theme.

    Notice: wp_localize_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 /home/charlief/dataharvest/wordpress/wp-includes/functions.php on line 4773

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter charlieagain

    (@charlieagain)

    I have worked out what it is. It happens if WP is in debug mode. Whether this means it is a bug or not I am not sure, but if you turn off debugging, the plugin is usable .

    Plugin Author tbenyon

    (@tbenyon)

    Hey @charlieagain,

    I really appreciate you taking the time to flag this issue.

    I’ve removed the line that causes this from the plugin code and this change will be in the next release.

    Really appreciate the feedback!

    I’ll mark this as resolved as it is in the code base but if you have any further issues please don’t hesitate to get back in contact.

    If you get a change I’d be really grateful for a review ??
    https://www.ads-software.com/plugins/external-login/#reviews
    Thanks Charlie,

    Tom

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘error on activate wp_localize_script was called incorrectly’ is closed to new replies.