Below are the two error messages I get from my site post the WP 3.9 upgrade and the latest version of Enfold
1
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.) in /home/lkauffman/innovationdistrictsource.com/wp-includes/functions.php on line 3245
2
Warning: session_start() [function.session-start]: Cannot send session cache limiter – headers already sent (output started at /home/lkauffman/innovationdistrictsource.com/wp-includes/functions.php:3245) in /home/lkauffman/innovationdistrictsource.com/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_entries.php on line 33
The only unusual thing I might be doing is that I made the modifications suggested by the video refereed to on your forum for having the avia frame work run in posts. Can this or any of the messages above be repsonsible for the site surging to 800M or so in memory usage?
Hi!
None of these are PHP “errors” but notices and warnings. Try adding this line to the theme functions.php or wp-config.php:
error_reporting(0);
Regards,
Josue