La fonction wp_enqueue_script a été appelée de façon incorrecte.

  • Avatar de Inconnu

    Bonjour,

    Je reçois ces messages d’erreur qui semblent être en lien avec ma boutique WooCommerce :

    Notice: La fonction wp_enqueue_script a été appelée de façon incorrecte. Les scripts et les styles ne peuvent pas être enregistrés ou ajoutés avant le déclenchement des crochets wp_enqueue_scripts, admin_enqueue_scripts ou login_enqueue_scripts. Cette notification a été déclenchée par nfd_wpnavbar_setting. Veuillez lire Débugger dans WordPress (en) pour plus d’informations. (Ce message a été ajouté à la version 3.3.0.) in /home3/nuageher/public_html/wp-includes/functions.php on line 6078

    Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /home3/nuageher/public_html/wp-includes/formatting.php on line 2831

    Ça n’empêche pas mon site de fonctionner, mais par contre, je n’arrive pas à avoir accès à quoique ce soit une fois que je suis connectée sur ma page d’accueil de WordPress. Je reste prise avec les messages d’erreur sans avoir accès à rien d’autre qui me permettrait de faire des modifications. C’est ce qui m’angoisse le plus.

    Des idées de ce que je dois faire ?

    Merci !

    L’adresse du blog concerné est (visible uniquement pour les utilisateurs connectés).

  • Avatar de Inconnu

    Il y a aussi tous ces messages :

    Warning: Cannot modify header information – headers already sent by (output started at /home3/nuageher/public_html/wp-includes/functions.php:6078) in /home3/nuageher/public_html/wp-login.php on line 504

    Warning: Cannot modify header information – headers already sent by (output started at /home3/nuageher/public_html/wp-includes/functions.php:6078) in /home3/nuageher/public_html/wp-login.php on line 520

    Warning: Cannot modify header information – headers already sent by (output started at /home3/nuageher/public_html/wp-includes/functions.php:6078) in /home3/nuageher/public_html/wp-includes/functions.php on line 7096

    Warning: Cannot modify header information – headers already sent by (output started at /home3/nuageher/public_html/wp-includes/functions.php:6078) in /home3/nuageher/public_html/wp-includes/pluggable.php on line 1435

    Warning: Cannot modify header information – headers already sent by (output started at /home3/nuageher/public_html/wp-includes/functions.php:6078) in /home3/nuageher/public_html/wp-includes/pluggable.php on line 1438

    C’est super étrange, considérant que tout fonctionnait parfaitement il y a 1 mois…

  • Le sujet ‘La fonction wp_enqueue_script a été appelée de façon incorrecte.’ est fermé aux nouvelles réponses.