WordPress.org

Ready to get started?Download WordPress

Forums

PLEASE HELP :: Notice: wp_enqueue_style was called incorrectly. (4 posts)

  1. dukeyore
    Member
    Posted 2 years ago #

    I am trying to log into the wp-admin and have been getting very weird issues.

    I use iPage as a host and suddenly yesterday the site went down.

    this is the error page:

    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 init hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.) in /hermes/bosweb/web111/b1110/ipg.yorestudioscom/elumfoundation-restore/wp-includes/functions.php on line 3587

    Notice: Undefined offset: 0 in /hermes/bosweb/web111/b1110/ipg.yorestudioscom/elumfoundation-restore/wp-content/themes/shotzz/hades_framework/option_panel/options.php on line 478

    Notice: register_sidebar_widget is deprecated since version 2.8! Use wp_register_sidebar_widget() instead. in /hermes/bosweb/web111/b1110/ipg.yorestudioscom/elumfoundation-restore/wp-includes/functions.php on line 3467

    Notice: register_widget_control is deprecated since version 2.8! Use wp_register_widget_control() instead. in /hermes/bosweb/web111/b1110/ipg.yorestudioscom/elumfoundation-restore/wp-includes/functions.php on line 3467

    Notice: register_sidebar_widget is deprecated since version 2.8! Use wp_register_sidebar_widget() instead. in /hermes/bosweb/web111/b1110/ipg.yorestudioscom/elumfoundation-restore/wp-includes/functions.php on line 3467

    Notice: register_widget_control is deprecated since version 2.8! Use wp_register_widget_control() instead. in /hermes/bosweb/web111/b1110/ipg.yorestudioscom/elumfoundation-restore/wp-includes/functions.php on line 3467

    Warning: Cannot modify header information - headers already sent by (output started at /hermes/bosweb/web111/b1110/ipg.yorestudioscom/elumfoundation-restore/wp-includes/functions.php:3587) in /hermes/bosweb/web111/b1110/ipg.yorestudioscom/elumfoundation-restore/wp-content/plugins/wordpress-mobile-pack/plugins/wpmp_switcher/wpmp_switcher.php on line 506

    Warning: Cannot modify header information - headers already sent by (output started at /hermes/bosweb/web111/b1110/ipg.yorestudioscom/elumfoundation-restore/wp-includes/functions.php:3587) in /hermes/bosweb/web111/b1110/ipg.yorestudioscom/elumfoundation-restore/wp-login.php on line 349

    Warning: Cannot modify header information - headers already sent by (output started at /hermes/bosweb/web111/b1110/ipg.yorestudioscom/elumfoundation-restore/wp-includes/functions.php:3587) in /hermes/bosweb/web111/b1110/ipg.yorestudioscom/elumfoundation-restore/wp-login.php on line 361

    Warning: Cannot modify header information - headers already sent by (output started at /hermes/bosweb/web111/b1110/ipg.yorestudioscom/elumfoundation-restore/wp-includes/functions.php:3587) in /hermes/bosweb/web111/b1110/ipg.yorestudioscom/elumfoundation-restore/wp-includes/pluggable.php on line 669

    Warning: Cannot modify header information - headers already sent by (output started at /hermes/bosweb/web111/b1110/ipg.yorestudioscom/elumfoundation-restore/wp-includes/functions.php:3587) in /hermes/bosweb/web111/b1110/ipg.yorestudioscom/elumfoundation-restore/wp-includes/pluggable.php on line 670

    Warning: Cannot modify header information - headers already sent by (output started at /hermes/bosweb/web111/b1110/ipg.yorestudioscom/elumfoundation-restore/wp-includes/functions.php:3587) in /hermes/bosweb/web111/b1110/ipg.yorestudioscom/elumfoundation-restore/wp-includes/pluggable.php on line 671

    Warning: Cannot modify header information - headers already sent by (output started at /hermes/bosweb/web111/b1110/ipg.yorestudioscom/elumfoundation-restore/wp-includes/functions.php:3587) in /hermes/bosweb/web111/b1110/ipg.yorestudioscom/elumfoundation-restore/wp-includes/pluggable.php on line 866

    If you need any information please ask and I will be happy to supply.

  2. Paul de Wouters
    Human Made
    Posted 2 years ago #

    I would contact your hosting provider technical support first

    I don't know what your level of knowledge is, but it seems like the WP_DEBUG flag is set to true in your wp-config.php file.
    this file is located in the root of your WordPress installation. Editing this file can break your site, so it is to be done with extreme caution. Make a backup first, then try changing the flag to false
    https://codex.wordpress.org/Editing_wp-config.php#Debug

    The reason for this error is because of the non respect of WordPress coding standards in the active theme.

  3. dukeyore
    Member
    Posted 2 years ago #

    that worked!

    thank you so much.

    weird error that was.

  4. faina09
    Member
    Posted 2 years ago #

    I have the same issue, the theme is twentyeleven on WP3.3.2
    and the error in /wp-includes/functions.php on line 3467
    The error is generate by facebook-like-box plugin: http://www.dolcebita.com/wordpress/facebook-like-box/
    (I searched the string ' register_sidebar_widget'). Ask the plugin author to fix.

Topic Closed

This topic has been closed to new replies.

About this Topic