Forum Homepage › Forums › Community › General › Buddypress!?
This topic contains 1 reply, has 2 voices, and was last updated by
bowe 1 year, 4 months ago.
-
AuthorPosts
-
January 18, 2012 at 3:50 pm #795
I did install the Beta on a MP/Buddypress instance somehow conflicts with bp-gtm-system plug-in, got the following error !
Error in PHP Script
/index.php
PHP Version: 5.3.8-ZS5.5.0 Zend Engine Version: 2.3.0
PIE Version: 1.0
Application: Apache/2.2.15 (Unix) PHP/5.3.8-ZS5.5.0 mod_ssl/2.2.15 OpenSSL/0.9.8o Server Name: http://www.e-products.eu.com
HTTP User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:9.0.1) Gecko/20100101 Firefox/9.0.1
array_key_exists() expects parameter 2 to be array, null given
Error Type: E_WARNING
Source File: /usr/local/zend/apache2/htdocs/wp-content/plugins/bp-gtm-system/lib/actions.php Line: 19Line 14: function init(){
Line 15: global $bp;
Line 16: $bp_gtm = get_option(‘bp_gtm’);
Line 17: // var_dump($bp_gtm);die;
Line 18: if( bp_gtm_check_access(‘involved_roles’) &&
Line 19: ( $bp_gtm['groups'] == ‘all’ || array_key_exists($bp->groups->current_group->id, $bp_gtm['groups']) ) ){
Line 20:
Line 21: add_action(‘bp_group_members_list_item_action’, array($this, ‘role_button’));
Line 22: add_action(‘bp_directory_involved_actions’, array($this, ‘role_extra_button’));
Line 23: }
Line 24: add_action(‘wp_footer’, array($this, ‘role_popup’));Call Stack:
#0 (): Pie_Easy_Error_Handler::handle_error()
#1 /usr/local/zend/apache2/htdocs/wp-content/plugins/bp-gtm-system/lib/actions.php(19): array_key_exists()
#2 (): BP_GTM_Actions->init()
#3 /usr/local/zend/apache2/htdocs/wp-includes/plugin.php(405): call_user_func_array()
#4 /usr/local/zend/apache2/htdocs/wp-content/plugins/buddypress/bp-core/bp-core-hooks.php(104): do_action()
#5 (): bp_actions()
#6 /usr/local/zend/apache2/htdocs/wp-includes/plugin.php(486): call_user_func_array()
#7 /usr/local/zend/apache2/htdocs/wp-includes/class-wp.php(510): do_action_ref_array()
#8 /usr/local/zend/apache2/htdocs/wp-includes/functions.php(1570): WP->main()
#9 /usr/local/zend/apache2/htdocs/wp-blog-header.php(14): wp()
#10 /usr/local/zend/apache2/htdocs/index.php(17): require()Global Variables Dump: Show/Hide
How to get rid of this error:
To disable error reporting, REMOVE the following from wp-config.php or your functions.php::define(‘PIE_EASY_ERROR_REPORTING’, true);
To completely disable PIE error handling (not recommended), add the following to wp-config.php or your functions.php::
define(‘PIE_EASY_ERROR_HANDLING’, false);
Error Report Generated: Wednesday, January 18 2012, 3:41:01.94077400 PM UTC
January 20, 2012 at 12:01 pm #796Could you try turning off Error Reporting by adding this line to your WP-Config file:
define(‘PIE_EASY_ERROR_HANDLING’, false);
This is just an warning being thrown which causes our advanced error reporting to trigger. When you turn error reporting off, your site will be fine again
-
AuthorPosts
You must be logged in to reply to this topic.