Title: Judder's Replies | WordPress.org

---

# Judder

  [  ](https://wordpress.org/support/users/judder/)

 *   [Profile](https://wordpress.org/support/users/judder/)
 *   [Topics Started](https://wordpress.org/support/users/judder/topics/)
 *   [Replies Created](https://wordpress.org/support/users/judder/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/judder/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/judder/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/judder/engagements/)
 *   [Favorites](https://wordpress.org/support/users/judder/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Popups - WordPress Popup builder] Notice: Function is_search was called incorrectly.](https://wordpress.org/support/topic/notice-function-is_search-was-called-incorrectly/)
 *  Thread Starter [Judder](https://wordpress.org/support/users/judder/)
 * (@judder)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/notice-function-is_search-was-called-incorrectly/#post-18558225)
 * **WP Popups Lite**
   Version 2.2.0.3WordPressCurrent version: 6.8Deactivating the
   plugin removes the Notice
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[CubePoints Buddypress Integration] warning, creating default obeject from empty value.](https://wordpress.org/support/topic/warning-creating-default-obeject-from-empty-value/)
 *  [Judder](https://wordpress.org/support/users/judder/)
 * (@judder)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/warning-creating-default-obeject-from-empty-value/#post-4969435)
 * It’s due to the upgrade of PHP 5.4
 * To fix, edit
 * _wp-content/plugins/cubepoints-buddypress-integration/includes/bp-cubepoint-core.
   php_
 * and add the following line to
 *  `$bp->cubepoint = new StdClass;`
 * e.g.
 *     ```
       function bp_cubepoint_setup_globals() {
   
           global $bp, $wpdb;
           $bp->cubepoint = new StdClass;
           $bp->cubepoint->id = 'cubepoint';
       ```
   
 * This initialises the $bp->cubepoint object before trying to set variables on 
   it, and thus removes the error.
 * You might also want to change function add_bp_cubepoints_wp_menu() as follows
   so that another error message that occurs is removed.
 * From:
 * `global $wp_admin_bar; $bp;`
 * To:
 * `global $wp_admin_bar, $bp;`
 * Note – the replacement of the ; with a comma means that now both objects are 
   correctly declared as globals

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