• Resolved kelderkold

    (@kelderkold)


    My server was updated with new php and now my site got this warnings:

    Warning: Use of undefined constant ‘CONCATENATE_SCRIPTS’ - assumed '‘CONCATENATE_SCRIPTS’' (this will throw an Error in a future version of PHP) in /customers/f/b/7/MYNAME.com/httpd.www/shop/wp-config.php on line 79 Warning: Cannot modify header information - headers already sent by (output started at /customers/f/b/7/MYNAME.com/httpd.www/shop/wp-config.php:79) in /customers/f/b/7/MYNAME.com/httpd.www/shop/wp-admin/includes/misc.php on line 1126

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter kelderkold

    (@kelderkold)

    and this when i try tu update a product in my shop

    Warning: Use of undefined constant ‘CONCATENATE_SCRIPTS’ - assumed '‘CONCATENATE_SCRIPTS’' (this will throw an Error in a future version of PHP) in /customers/f/b/7/myname.com/httpd.www/shop/wp-config.php on line 79 Warning: Cannot modify header information - headers already sent by (output started at /customers/f/b/7/myname.com/httpd.www/shop/wp-config.php:79) in /customers/f/b/7/myname.com/httpd.www/shop/wp-admin/includes/misc.php on line 1126 Warning: Cannot modify header information - headers already sent by (output started at /customers/f/b/7/myname.com/httpd.www/shop/wp-config.php:79) in /customers/f/b/7/myname.com/httpd.www/shop/wp-admin/post.php on line 198 Warning: Cannot modify header information - headers already sent by (output started at /customers/f/b/7/myname.com/httpd.www/shop/wp-config.php:79) in /customers/f/b/7/myname.com/httpd.www/shop/wp-includes/pluggable.php on line 1219

    It looks like in your wp-config.php file you have something like this:

    define( ‘CONCATENATE_SCRIPTS’, false );
    

    The problem is the quote marks. You’re using ‘fancy quotes’, which look like this: ‘’ (compared to ''). This can happen if you copy and paste code like this from a blog or forum post that wasn’t properly written.

    You need to replace it with this:

    define( 'CONCATENATE_SCRIPTS', false );
    

    Don’t change the true or false part, just the quotes around CONCATENATE_SCRIPTS.

    • This reply was modified 6 years, 4 months ago by Jacob Peattie.

    output started at /customers/f/b/7/MYNAME.com/httpd.www/shop/wp-config.php:79) in /customers/f/b/7/MYNAME.com/httpd.www/shop/wp-admin/includes/misc.php on line 1126

    Thread Starter kelderkold

    (@kelderkold)

    thx Jacob Peattie, that help, problem fixed

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘warning after php update’ is closed to new replies.