RT_PDX
Forum Replies Created
-
Forum: Plugins
In reply to: [bbp style pack] BBP Style Pack 5.1.0 site login crash WordPress 6.1Same here. When trying to manage subscriptions from user panel see Debug below. Also, please see my other post when enqueuing bsp javascript files that use jQuery but do not have the jQuery dependency when loaded
When seeking help with this issue, you may be asked for some of the following information: WordPress version 6.1 Active theme: Twenty Twenty-One Child Current plugin: bbp style pack (version 5.1.0) PHP version 8.1.11 Error Details ============= An error of type E_ERROR was caused in line 584 of the file //public_html/wp-content/plugins/bbp-style-pack/includes/subscriptions_management.php. Error message: Uncaught Error: Call to undefined function bsptoolkit_removehtml_and_cutwords() in public_html/wp-content/plugins/bbp-style-pack/includes/subscriptions_management.php:584 Stack trace: #0 /public_html/wp-includes/class-wp-hook.php(308): bsp_forum_subscriptions_page() #1 /public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #2 /public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #3 /public_html/wp-admin/admin.php(259): do_action() #4 /public_html/wp-admin/edit.php(10): require_once('/home/...') #5 {main} thrownThanks very much !!
These errors happen on the backend. I do not show errors on the front end.
- This reply was modified 3 years, 7 months ago by RT_PDX.
Forum: Plugins
In reply to: [bbp style pack] Issue with loading order of bsp js filesI found the issue: Both bsp_enqueue_submit.js and bsp_delete.js are enqueued in generatecss.php but without a dependency to jquery. They both need an additional argument to fix it. If search.js uses jQuery it needs it as well.
Fourth argument needed: array( ‘jquery’ )
Would you mind fixing this in the next release? Thanks !
Btw:
bsp_reply.js loads correctly (after jquery core) as it is enqueued with a jQuery depedency.Add the following two lines to your functions.php file
remove_action(‘edit_user_profile’,’wordfence::showDisabledApplicationPasswordsMessage’,-1);
remove_action(‘show_user_profile’,’wordfence::showDisabledApplicationPasswordsMessage’,-1);