Skip to content

Notices with debug enabled #122

@andergmartins

Description

@andergmartins

In wp-config.php from the WordPress site, change WP_DEBUG to "true":

define('WP_DEBUG', true);

By having EmbedPress activated, the below notices come up:

{quote}Notice: wp_register_style 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 /wp-includes/functions.php on line 4136

Notice: wp_enqueue_style 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 /wp-includes/functions.php on line 4136

Notice: add_object_page is deprecated since version 4.5.0! Use add_menu_page() instead. in /wp-includes/functions.php on line 3828{quote}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions