I cant replicate the error on my local host or on my live server using latest wp and bp, hence I would need some assistance in order to resolve the issue. It has something to do with using an array with wordpress’s get_option but I cant find anything helpfull..
Can you try replacing lines 55 – 66 in loader.php with:
// add custom social button colors to the header
add_action( 'wp_head', 'my_custom_css_hook' );
function my_custom_css_hook( ) {
$standard_color =
get_option('my_components_settings')[buddy_social_color_0];
$hover_color =
get_option('my_components_settings')[buddy_social_color_1];
echo '<style type="text/css">
.social-buttons a {
color: ' . $standard_color . ';
}
.social-buttons a:hover {
color: ' . $hover_color . ';
}
</style>';
}
if it gives an error about activity-sharing.php, then I know what the
problem is.
If the above still gives a error about loader.php, try replacing lines
55 – 66 in loader.php with:
// add custom social button colors to the header
add_action( 'wp_head', 'my_custom_css_hook' );
function my_custom_css_hook( ) {
$standard_color = get_option('my_components_settings');
$hover_color = get_option('my_components_settings');
echo '<style type="text/css">
.social-buttons a {
color: ' . $standard_color[buddy_social_color_0] . ';
}
.social-buttons a:hover {
color: ' . $hover_color[buddy_social_color_1] . ';
}
</style>';
}
Let me know and thanks again for all your assistance so far.