I’m running WordPress v3.4.2 and WooCommerce v22.214.171.124 (both latest versions).
Something was making my sessions expire whenever I tried to check-out after adding a product to the cart, so I turned wp-debug on.
I’m getting the following two errors:
Notice: wp_register_script 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 /home/vexbrand/public_html/wp-includes/functions.php on line 2758
Warning: session_start() [function.session-start]: Cannot send session cache limiter – headers already sent (output started at /home/vexbrand/public_html/wp-includes/functions.php:2758) in /home/vexbrand/public_html/wp-content/plugins/woocommerce/woocommerce.php on line 138
Strangely, they’re in core files (both of WordPress and of the Plugin).
Does anyone have any idea what might be causing these errors?
- The topic ‘Error in wp-includes/functions.php’ is closed to new replies.