Title: generated unexpected PHP debug output
Last modified: December 25, 2019

---

# generated unexpected PHP debug output

 *  Resolved [chandan435](https://wordpress.org/support/users/chandan435/)
 * (@chandan435)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/generated-unexpected-php-debug-output/)
 * HI
 * when i make to child theme i got a error text
 * Notice: Constant WP_CONTENT_URL already defined in /public_html/wp-config.php
   on line 99
 * Notice: Constant COOKIE_DOMAIN already defined in /public_html/wp-config.php 
   on line 100
 * i dnot know what is error , i use ocean-wp theme
 * this is raw analysis data
 *     ```
        {
         "parnt": {
           "deps": [
             [
               [
                 "dep_unregistered",
                 "assets/fonts/fontawesome/css/all.min.css",
                 "parnt"
               ],
               [
                 "dep_unregistered",
                 "assets/css/third/simple-line-icons.min.css",
                 "parnt"
               ],
               [
                 "dep_unregistered",
                 "assets/css/third/magnific-popup.min.css",
                 "parnt"
               ],
               [
                 "dep_unregistered",
                 "assets/css/style.min.css",
                 "parnt"
               ],
               [
                 "dep_unregistered",
                 "assets/css/woo/woo-mini-cart.min.css",
                 "parnt"
               ],
               [
                 "dep_unregistered",
                 "assets/css/woo/woocommerce.min.css",
                 "parnt"
               ]
             ],
             []
           ],
           "signals": {
             "failure": 0,
             "thm_noqueue": 1,
             "err_php": 1,
             "dep_unregistered": 1,
             "thm_notheme": 1
           },
           "queue": [],
           "irreg": [],
           "swaps": [],
           "url": "https://www.aevenr.com/?ModPagespeed=off&ao_noptimize=1&preview_ctc=1&template=oceanwp&stylesheet=oceanwp&now=1577300029"
         },
         "child": {
           "deps": [
             [],
             []
           ],
           "signals": {
             "failure": 0
           },
           "queue": [],
           "irreg": [],
           "swaps": []
         }
       }
       ```
   
 * some days erlier i got malware attack on my site i alreday make child theme using
   ocean-wp , but when i get attack i delete all wordpress core file except wp-contant
   and wp-config.php file . then i import all core file with fresh installation .
   i also delete my parent theme and child theme folder . then i install fresh ocean-
   wp theme . but i dont know what this error means .
    -  This topic was modified 6 years, 3 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).
      Reason: Moved to Fixing WordPress, this is not a Developing with WordPress
      topic
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fgenerated-unexpected-php-debug-output%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Marcio Zebedeu](https://wordpress.org/support/users/marcio-zebedeu/)
 * (@marcio-zebedeu)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/generated-unexpected-php-debug-output/#post-12269810)
 * you probably activated a plugin that manipulates these definitions. Go to the
   wp-config file.php and line 99 and 100 place constants within one condition. 
   For example.
 * if ( defined( ‘WP_CONTENT_URL’ ) ) {
    // you code } if ( defined( ‘COOKIE_DOMAIN’)){//
   you code
 * }
    I place these conditions within the cim of this comment ” / * that’s all, 
   stop editing! Happy blogging. */
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/generated-unexpected-php-debug-output/#post-12270796)
 * that type of constants can be created anywhere, you have to check if they are
   not defined you have to create them.
    In this case it is a bug of your theme,
   ask for support to your theme in order to improve the code forever or use a theme
   that doesn’t have this bug. If defined
 *     ```
       if ( defined( 'ANY_CONSTANT' ) ) {
       //Code
       }
       ```
   
 * If not defined
 *     ```
       if ( ! defined( 'ANY_CONSTANT' ) ) {
       define( 'ANY_CONSTANT', 'my_value' );
       }
       ```
   
 * if the error is a wrong coding of your theme you can solve it only by removing
   the constants involved inside your wp-config.php
    -  This reply was modified 6 years, 3 months ago by [autotutorial](https://wordpress.org/support/users/autotutorial/).
 *  Thread Starter [chandan435](https://wordpress.org/support/users/chandan435/)
 * (@chandan435)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/generated-unexpected-php-debug-output/#post-12271434)
 * thanks [@marcio-zebedeu](https://wordpress.org/support/users/marcio-zebedeu/)
   
   thanks [@autotutorial](https://wordpress.org/support/users/autotutorial/)
 * you guys solved my issue . love you brothers

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘generated unexpected PHP debug output’ is closed to new replies.

## Tags

 * [ocean wp](https://wordpress.org/support/topic-tag/ocean-wp/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [chandan435](https://wordpress.org/support/users/chandan435/)
 * Last activity: [6 years, 3 months ago](https://wordpress.org/support/topic/generated-unexpected-php-debug-output/#post-12271434)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
