Title: Background PHP Notice
Last modified: March 23, 2018

---

# Background PHP Notice

 *  [kiwiot](https://wordpress.org/support/users/kiwiot/)
 * (@kiwiot)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/background-php-notice/)
 * Plugin throws a PHP notice
 * <b>Notice</b>: Constant ACF_PRO already defined in <b>/var/www/html/public_html/
   wp-content/plugins/leads/shared/classes/class.acf-bootstrap.php</b> on line <
   b>42</b><br />
 * Running : WP 4.9.4, ACF Pro 5.6.9

Viewing 1 replies (of 1 total)

 *  Thread Starter [kiwiot](https://wordpress.org/support/users/kiwiot/)
 * (@kiwiot)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/background-php-notice/#post-10105882)
 * For anyone who wants a quick fix to this jump in and wrap the defines
 *     ```
                  if ( !function_exists('acf_add_local_field_group') ) {
                       if ( ! defined( 'ACF_FREE' ) ) {
                           define( 'ACF_FREE', true );
                       }
                   }  else {
                       if ( ! defined( 'ACF_PRO' ) ) {
                           define( 'ACF_PRO', true );
                       }
                       add_filter('lp_init' , array(__CLASS__,'acf_register_global') , 20 , 1 ); /* registeres a global of registered field values for support between ACF5 & ACF6 */
                   }
       ```
   

Viewing 1 replies (of 1 total)

The topic ‘Background PHP Notice’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/leads_6e6e6e.svg)
 * [WordPress Leads](https://wordpress.org/plugins/leads/)
 * [Support Threads](https://wordpress.org/support/plugin/leads/)
 * [Active Topics](https://wordpress.org/support/plugin/leads/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/leads/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/leads/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [kiwiot](https://wordpress.org/support/users/kiwiot/)
 * Last activity: [8 years, 1 month ago](https://wordpress.org/support/topic/background-php-notice/#post-10105882)
 * Status: not resolved