More issues with new X & Cornerstone roll-out - Michael Lindley Hair

Hi Team,

More problems on another site when I’ve updated to the most current version of X and Cornerstone. Once I updated on this web-site… https://www.michaellindleyhair.com/, the styling is all off and I’m getting this error…

Notice : Function 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. This notice was triggered by the jquery handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /hermes/bosnacweb04/bosnacweb04/bosnacweb04ap/b86/d5.michlind3/michaellindleyhair.com/wp-includes/functions.php on line 5835

Warning : Cannot modify header information - headers already sent by (output started at /hermes/bosnacweb04/bosnacweb04/bosnacweb04ap/b86/d5.michlind3/michaellindleyhair.com/wp-includes/functions.php:5835) in /hermes/bosnacweb04/bosnacweb04/bosnacweb04ap/b86/d5.michlind3/michaellindleyhair.com/wp-admin/includes/misc.php on line 1416

Warning : Cannot modify header information - headers already sent by (output started at /hermes/bosnacweb04/bosnacweb04/bosnacweb04ap/b86/d5.michlind3/michaellindleyhair.com/wp-includes/functions.php:5835) in /hermes/bosnacweb04/bosnacweb04/bosnacweb04ap/b86/d5.michlind3/michaellindleyhair.com/wp-includes/functions.php on line 6865

Warning : Cannot modify header information - headers already sent by (output started at /hermes/bosnacweb04/bosnacweb04/bosnacweb04ap/b86/d5.michlind3/michaellindleyhair.com/wp-includes/functions.php:5835) in /hermes/bosnacweb04/bosnacweb04/bosnacweb04ap/b86/d5.michlind3/michaellindleyhair.com/wp-admin/admin-header.php on line 9

Can you fix this?
More information to come.

Hey @bluetroop2,

I understand that those messages came out after an update, but none of those warnings are coming from X and Cornerstone. Please read the error messages.

It is a security practice that error messages should also be disabled in a live site. To do that, add the following code in your wp-config.php below the wp_debug line. Your web host might be able to help you with adding that code in yoru wp-config.php. For more details, check out this article: https://wordpress.org/support/article/debugging-in-wordpress/

// Enable Debug logging to the /wp-content/debug.log file
define( 'WP_DEBUG_LOG', true );

// Disable display of errors and warnings
define( 'WP_DEBUG_DISPLAY', false );
@ini_set( 'display_errors', 0 );

image

Thanks.

Thank you for your help

Hi @bluetroop2,

Glad that we are able to help you.

Thanks

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.