Hello,
I keep getting an error when I try to access the buddyblog pro settings page. this is the error from my log file
Critical Uncaught TypeError: Cannot access offset of type string on string in /var/www/wptbox/wp-content/plugins/buddyblog-pay-per-post/src/core/class-promotion-helper.php:307 Additional context { "error": { "type": 1, "file": "/var/www/wptbox/wp-content/plugins/buddyblog-pay-per-post/src/core/class-promotion-helper.php", "line": 307 }, "remote-logging": true, "backtrace": [ "", "#0 /var/www/wptbox/wp-content/plugins/buddyblog-pay-per-post/src/core/class-post-form-ui-helper.php(121): BuddyBlog_Pay_Per_Post\Core\Promotion_Helper->product_detail()", "#1 /var/www/wptbox/wp-includes/class-wp-hook.php(326): BuddyBlog_Pay_Per_Post\Core\Post_Form_UI_Helper->add_product_field()", "#2 /var/www/wptbox/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()", "#3 /var/www/wptbox/wp-includes/plugin.php(517): WP_Hook->do_action()", "#4 /var/www/wptbox/wp-content/plugins/buddyblog-pro/src/core/bblpro-form-function.php(672): do_action()", "#5 /var/www/wptbox/wp-content/plugins/buddyblog-pro/templates/buddyblog/default/default/create.php(20): bblpro_render_form()", "#6 /var/www/wptbox/wp-includes/template.php(812): require('...')", "#7 /var/www/wptbox/wp-content/plugins/buddyblog-pro/src/core/bblpro-template-functions.php(74): load_template()", "#8 /var/www/wptbox/wp-content/plugins/buddyblog-pro/src/shortcodes/class-bbl-create-form-shortcode.php(164): bblpro_get_template_part()", "#9 /var/www/wptbox/wp-content/plugins/buddyblog-pro/src/shortcodes/class-bbl-create-form-shortcode.php(84): BuddyBlog_Pro\Shortcodes\BBL_Create_Form_Shortcode->form_shortcode()", "#10 /var/www/wptbox/wp-includes/shortcodes.php(434): BuddyBlog_Pro\Shortcodes\BBL_Create_Form_Shortcode->post_type_shortcode()", "#11 [internal function]: do_shortcode_tag()", "#12 /var/www/wptbox/wp-includes/shortcodes.php(273): preg_replace_callback()", "#13 /var/www/wptbox/wp-includes/class-wp-hook.php(324): do_shortcode()", "#14 /var/www/wptbox/wp-includes/plugin.php(205): WP_Hook->apply_filters()", "#15 /var/www/wptbox/wp-includes/post-template.php(256): apply_filters()", "#16 /var/www/wptbox/wp-content/themes/klein/content-page.php(22): the_content()", "#17 /var/www/wptbox/wp-includes/template.php(812): require('...')", "#18 /var/www/wptbox/wp-includes/template.php(745): load_template()", "#19 /var/www/wptbox/wp-includes/general-template.php(206): locate_template()", "#20 /var/www/wptbox/wp-content/themes/klein/layout-page-full-content.php(17): get_template_part()", "#21 /var/www/wptbox/wp-includes/template.php(812): require('...')", "#22 /var/www/wptbox/wp-includes/template.php(745): load_template()", "#23 /var/www/wptbox/wp-includes/general-template.php(206): locate_template()", "#24 /var/www/wptbox/wp-content/themes/klein-child/page.php(24): get_template_part()", "#25 /var/www/wptbox/wp-includes/template-loader.php(106): include('...')", "#26 /var/www/wptbox/wp-blog-header.php(19): require_once('...')", "#27 /var/www/wptbox/index.php(17): require('...')", "#28 {main}", "thrown" ] }and
Critical Uncaught Error: Call to undefined method Press_Themes\PT_Settings\Page::set_sidebar_config() in /var/www/wptbox/wp-content/plugins/buddyblog-pro/src/admin/class-settings-admin.php:909 Additional context { "error": { "type": 1, "file": "/var/www/wptbox/wp-content/plugins/buddyblog-pro/src/admin/class-settings-admin.php", "line": 909 }, "remote-logging": true, "backtrace": [ "", "#0 /var/www/wptbox/wp-content/plugins/buddyblog-pro/src/admin/class-settings-admin.php(84): BuddyBlog_Pro\Admin\Settings_Admin->setup_sidebar()", "#1 /var/www/wptbox/wp-includes/class-wp-hook.php(324): BuddyBlog_Pro\Admin\Settings_Admin->init()", "#2 /var/www/wptbox/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()", "#3 /var/www/wptbox/wp-includes/plugin.php(517): WP_Hook->do_action()", "#4 /var/www/wptbox/wp-admin/admin.php(176): do_action()", "#5 /var/www/wptbox/wp-admin/edit.php(10): require_once('...')", "#6 {main}", "thrown" ] }Hi Tosin,
I am sorry for the experience. It might happen due to loading of old pt-settings framework by one of our plugins.Any chance that you have “BuddyPress Private Message Rate Limiter” or “BuddyPress Block User”, Please disable them temporarily, that should fix it. I will push an update with the new release for these 2 plugins today.
If that is not the case, Please let me know the list of active plugins.
Regards
BrajeshHi Tosin,
We have pushed an update for the Private Rate limiter and the Block Users plugin. Please update if you are using them and the issue would be resolved.If not, Please share the list of active plugins and I will test for the conflict.
Thank you
BrajeshThose two plugin are not the issue, this are the plugins I have enabled
(BuddyDev) BP Deactivate Account
(BuddyDev) Stealth Mode for Site admin
BuddyBlog Pay Per Post
BuddyBlog Pro
BP Confirm Actions
BP Non Editable Profile Fields
BuddyBlog Pay Per Post
BuddyBlog Pro
BuddyDev Dashboard
BuddyPress Activity Autoloader
BuddyPress Auto Activate Autologin Redirect To Profile On Signup
BuddyPress Auto Friendship Pro
BuddyPress Default Email Notification Settings Control
BuddyPress Featured Members
BuddyPress Member Types Pro
BuddyPress Moderation Tools
BuddyPress Profile Completion
BuddyPress Profile Visibility Manager
BuddyPress Username Changer
BuddyPress Xprofile Custom Field Types
Conditional Profile Fields for BuddyPress
User Login Notifier for WordPress
WordPress Ban Registration Domain
WordPress Restrict Email Domains
WordPress Username Availability CheckerThis is my error log below
Critical Uncaught Error: Call to undefined method Press_Themes\PT_Settings\Page::set_sidebar_config() in /var/www/wptbox/wp-content/plugins/buddyblog-pro/src/admin/class-settings-admin.php:909
Additional context
{
“error”: {
“type”: 1,
“file”: “/var/www/wptbox/wp-content/plugins/buddyblog-pro/src/admin/class-settings-admin.php”,
“line”: 909
},
“remote-logging”: true,
“backtrace”: [
“”,
“#0 /var/www/wptbox/wp-content/plugins/buddyblog-pro/src/admin/class-settings-admin.php(84): BuddyBlog_Pro\Admin\Settings_Admin->setup_sidebar()”,
“#1 /var/www/wptbox/wp-includes/class-wp-hook.php(324): BuddyBlog_Pro\Admin\Settings_Admin->init()”,
“#2 /var/www/wptbox/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()”,
“#3 /var/www/wptbox/wp-includes/plugin.php(517): WP_Hook->do_action()”,
“#4 /var/www/wptbox/wp-admin/admin.php(176): do_action()”,
“#5 /var/www/wptbox/wp-admin/options.php(19): require_once(‘…’)”,
“#6 {main}”,
“thrown”
]
}Hi Tosin,
Thank you for the reply and sharing the details. Please allow me to go through the list and get back to you in the day.The issue is conflicting PT Settings library. BuddyBlog Pro expects latest but some of our older plugins does not follow the loading order for PT settings framework, leading to them being loaded first.
We will have a solution today.
Regards
BrajeshHi Tosin,
Hope you are doing well.can you confirm you are not using an older version of any of the above plugin? Please share the version info with the plugin.
Regards
BrajeshThank you Tosin.
I have updated the Auto Friendship plugin and the issue should be resolved. Please upgrade to 1.2.6 and let me know if it is resolved or not?Regards
Brajesh
You must be logged in to reply to this topic.