Plugin Query Monitor (Version 3.7.1) shows this PHP error in below locations for wpForo plugin version: 1.9.6
Error: media_buttons_context is deprecated since version 3.5.0! Use media_buttons instead.
How to resolve the issue (My PHP version is 7.4.12)
However, there is no error in Forum Tools-> Debug.
Locations:
- wp-includes/functions.php:5236
_deprecated_hook()
wp-includes/plugin.php:638apply_filters_deprecated()
wp-admin/includes/media.php:658media_buttons()
wp-includes/class-wp-hook.php:292do_action('media_buttons')
wp-includes/class-wp-editor.php:235_WP_Editors::editor()
wp-includes/general-template.php:3498wp_editor()
wp-content/plugins/wpforo/wpf-admin/tools-tabs/misc.php:60wpforo_tools()
wp-includes/class-wp-hook.php:292do_action('forums_page_wpforo-tools')
wp-admin/admin.php:259
Thanks.
Where is the error, i don't see any error.
In my earlier post, it was on the PHP Warnings, and it is the only issue with me discovered by the plugin: Query Monitor.
Problem:
When trying to add the widget: wpForo Recent Post on 'page body' using KingComposer page builder, it does not show the widget's setting options (page shows posts as per widget's default setting). Rather it shows an error: Uncaught SyntaxError: Unexpected token '<' in browser's 'Developer Tool' (Ctrl+Shift+I).
All of the 6 wpForo widgets (including others) are working fine in sidebars (from Appearance->Widget admin-menu), and they are compatible with KingComposer EXCEPT this widget: wpForo Recent Post.
Requirement: I'm looking forward to use this widget on the page body, or to know if there is any alternative easy option (a set number of recent posts from selected multiple forums with avatar).
Error: +Uncaught SyntaxError: Unexpected token '<'
at b ( https://my domain.com/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-mouse,moxiejs,plupload,jquery-ui-slider&ver=5.7.2)
at Pe ( https://My Domain.com/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-mouse,moxiejs,plupload,jquery-ui-slider&ver=5.7.2)
at s.fn.init.append ( https://My Domain.com/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-mouse,moxiejs,plupload,jquery-ui-slider&ver=5.7.2)
at Object.render ( https://My Domain.com/wp-content/plugins/kingcomposer/assets/js/kc.params.js?ver=2.9.6)
at S.Event.tabs [as data] ( https://My Domain.com/wp-content/plugins/kingcomposer/assets/js/kc.params.js?ver=2.9.6)
at HTMLLIElement.<anonymous> ( https://My Domain.com/wp-content/plugins/kingcomposer/assets/js/kc.tools.js?ver=2.9.6)
at HTMLLIElement.dispatch ( https://My Domain.com/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-mouse,moxiejs,plupload,jquery-ui-slider&ver=5.7.2)
at HTMLLIElement.v.handle ( https://My Domain.com/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-mouse,moxiejs,plupload,jquery-ui-slider&ver=5.7.2)
at Object.trigger ( https://My Domain.com/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-mouse,moxiejs,plupload,jquery-ui-slider&ver=5.7.2)
at HTMLLIElement.<anonymous> ( https://My Domain.com/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-mouse,moxiejs,plupload,jquery-ui-slider&ver=5.7.2)
Well a bit complicated all this.
Still not an ERROR but a Warning/Notice that doesn't seem to come from wpForo. I do not see wpForo anywhere.
Seems more like a conflict of somekind.
Thank you @robert & @dimalifragis.
I did clean the caches, change theme, deactivate/ activate and uninstall/ install plugins. No luck.
Summary: Let's wait and see how things go after the next update of KingCompose.
By the way, can I use 'Recent Post Widget' with my setting on page content in any way?