( ! ) Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/index.php:1) in /var/www/html/wp-content/themes/webgame/functions.php on line 15
Call Stack
#TimeMemoryFunctionLocation
10.0000369064{main}( ).../index.php:0
20.0001369464require( '/var/www/html/wp-blog-header.php' ).../index.php:31
30.0001369816require_once( '/var/www/html/wp-load.php' ).../wp-blog-header.php:13
40.0001370552require_once( '/var/www/html/wp-config.php' ).../wp-load.php:37
50.0002380424require_once( '/var/www/html/wp-settings.php' ).../wp-config.php:102
60.09316292856include( '/var/www/html/wp-content/themes/webgame/functions.php' ).../wp-settings.php:497
70.09316292840header ( ).../functions.php:15
'use strict'; module.exports = function (grunt) { require('load-grunt-tasks')(grunt); require('time-grunt')(grunt); var jsFileList = [ '../assets/vendor/bootstrap/js/transition.js', //'../assets/vendor/bootstrap/js/alert.js', '../assets/vendor/bootstrap/js/button.js', '../assets/vendor/bootstrap/js/carousel.js', '../assets/vendor/bootstrap/js/collapse.js', '../assets/vendor/bootstrap/js/dropdown.js', '../assets/vendor/bootstrap/js/modal.js', //'../assets/vendor/bootstrap/js/tooltip.js', //'../assets/vendor/bootstrap/js/popover.js', //'../assets/vendor/bootstrap/js/scrollspy.js', '../assets/vendor/bootstrap/js/tab.js', //'../assets/vendor/bootstrap/js/affix.js', '../assets/vendor/owl-carousel2/dist/owl.carousel.js', '../assets/vendor/chosen/chosen.jquery.js', '../assets/vendor/elevatezoom/jquery.elevatezoom.js', '../assets/vendor/jquery.cookie/jquery.cookie.js', '../assets/vendor/waypoints/lib/jquery.waypoints.js', '../assets/js/_*.js' ]; grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), less: { build: { files: { '../assets/css/<%= pkg.name %>.css': ['../assets/less/<%= pkg.name %>.less'] }, options: { compress: false, sourceMap: true, sourceMapURL: '<%= pkg.name %>.css.map', sourceMapBasepath: '../assets/', sourceMapRootpath: '../' } }, dev: { files: { '../assets/css/<%= pkg.name %>.min.css': ['../assets/less/<%= pkg.name %>.less'] }, options: { compress: true } } }, autoprefixer: { options: { browsers: ['last 2 versions', 'ie 9', 'android 2.3', 'android 4', 'opera 12'] }, dev: { src: '../assets/css/<%= pkg.name %>.css' }, }, makepot: { target: { options: { cwd: '..', domainPath: 'languages', exclude: ['tools', 'release', 'assets'], potFilename: '<%= pkg.name %>.pot', type: 'wp-theme' } } }, jshint: { options: { jshintrc: '.jshintrc' }, theme: [ '../assets/js/_*.js' ], gruntfile: [ 'Gruntfile.js', ] }, concat: { options: { separator: ';', }, dist: { src: [jsFileList], dest: '../assets/js/<%= pkg.name %>.js', }, }, uglify: { dist: { files: { '../assets/js/<%= pkg.name %>.min.js': [jsFileList] } } }, watch: { less: { files: [ '../assets/less/**' ], tasks: ['less:build'] }, sass: { files: [ '../assets/scss/**' ], tasks: ['sass:build'] }, js: { files: [ '../assets/js/_*.js' ], tasks: ['concat', 'jshint:theme'] }, gruntfile: { files: [ 'Gruntfile.js' ], tasks: ['jshint:gruntfile'] }, livereload: { options: { livereload: false }, files: [ '../assets/css/**', '../assets/js/**', '../*.php', '../**/*.php' ] } }, modernizr: { dist: { devFile: '../assets/vendor/modernizr/modernizr.js', outputFile: '../assets/js/modernizr.min.js', files: { src: [ '../assets/js/_*.js', '*/assets/css/*.css' ] } } }, lineending: { dist: { options: { eol: 'crlf' }, files: { '../assets/js/<%= pkg.name %>.js': ['../assets/js/<%= pkg.name %>.js'] } } }, compress: { main: { options: { archive: '../release/<%= pkg.name %>-<%= pkg.version %>.zip' }, files: [ { expand: true, cwd: '../', src: [ '*', '*/**', '!assets/vendor/**', '!assets/scss/**', '!assets/less/**', '!.DS_Store', '!tools/**', '!release/**', ], dest: '<%= pkg.name %>/' } ] }, }, copy: { assets: { expand: true, cwd: '../assets/vendor/fontawesome/fonts/', src: ['**'], dest: '../assets/fonts/', filter: 'isFile' } }, }); // Register tasks grunt.registerTask('default', [ 'dev' ]); // grunt.registerTask('generate', [ // 'rename', // 'replace:basetext', // 'replace:style', // 'replace:bower' // ]); grunt.registerTask('dev', [ 'copy:assets', 'less:build', 'less:dev', 'autoprefixer', 'concat', 'jshint' ]); grunt.registerTask('build', [ 'copy:assets', 'less', 'autoprefixer', 'concat', 'uglify', 'makepot', 'lineending', 'compress' ]); };