-
Author
-
May 11, 2017 at 14:39 #161028
jffbrwn
ParticipantHere’s the full output of the error which is preventing Jetpack Premium from being activated.
[10-May-2017 12:14:03 UTC] PHP Fatal error: Uncaught Error: Call to undefined function sq_option() in /opt/s
ites/1006965/pfproduction/wp-content/themes/prfrm/buddypress/buddypress-functions.php:1950
Stack trace:
#0 /opt/sites/1006965/wordpress/core/4.7.4/wp-includes/template.php(684): require_once()
#1 /opt/sites/1006965/pfproduction/wp-content/plugins/buddypress/bp-core/bp-core-template-loader.php(150): lo
ad_template(‘/opt/sites/1006…’, true)
#2 /opt/sites/1006965/pfproduction/wp-content/plugins/buddypress/bp-core/bp-core-template-loader.php(593): bp
_locate_template(‘buddypress-func…’, true)
#3 /opt/sites/1006965/wordpress/core/4.7.4/wp-includes/class-wp-hook.php(298): bp_load_theme_functions(”)
#4 /opt/sites/1006965/wordpress/core/4.7.4/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(”, Arr
ay)
#5 /opt/sites/1006965/wordpress/core/4.7.4/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
#6 /opt/sites/1006965/pfproduction/wp-content/plugins/buddypress/bp-core/bp-core-dependency.php(557): do_acti
on(‘bp_after_setup_…’)
#7 /opt/sites/1006965/wordpress/core/4.7.4/wp-includes/class-wp-hook.php(298): bp_after_setup_theme(”)
#8 /opt/sites/1006965/wordpress/core/4.7.4/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, A
rray)
#9 /opt/sites/1006965/wordpress/core/4.7.4/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
#10 /opt/sites/1006965/wordpress/core/4.7.4/wp-settings.php(433): do_action(‘after_setup_the…’)
#11 phar:///usr/local/bin/wp-cli/php/WP_CLI/Runner.php(1008): require(‘/opt/sites/1006…’)
#12 phar:///usr/local/bin/wp-cli/php/WP_CLI/Runner.php(945): WP_CLI\Runner->load_wordpress()
#13 phar:///usr/local/bin/wp-cli/php/wp-cli.php(21): WP_CLI\Runner->start()
#14 phar:///usr/local/bin/wp-cli/php/boot-phar.php(5): include(‘phar:///usr/loc…’)
#15 /usr/local/bin/wp-cli(4): include(‘phar:///usr/loc…’)
#16 {main}
thrown in /opt/sites/1006965/pfproduction/wp-content/themes/prfrm/buddypress/buddypress-functions.php on li
ne 1950And here’s line 1950 of /wp-content/themes/prfrm/buddypress/buddypress-function.php:if( !function_exists(‘prfrm_online_status’) ) {
function prfrm_online_status($user_id) {
echo prfrm_get_online_status($user_id);
}
}
if (sq_option(‘bp_online_status’, 1) == 1) {
add_action(‘bp_member_online_status’, ‘prfrm_online_status’);
} -
AuthorPosts
Viewing 5 posts - 1 through 5 (of 5 total)
The forum ‘Bugs & Issues’ is closed to new topics and replies.