Error message on the job tab on bp profile page when I log out.
-
Hi!
I am on a multisite environment, and when I click on the jobs tab on buddypress profile, if I am logged out I get an error message as you can see here:
Fatal error: Uncaught ArgumentCountError: Too few arguments to function WP_Job_Manager\Job_Dashboard_Shortcode::the_primary_action(), 1 passed in /Users/davidcelestin/Local Sites/davidcelestin/app/public/wp-includes/class-wp-hook.php on line 324 and exactly 2 expected in /Users/davidcelestin/Local Sites/davidcelestin/app/public/wp-content/plugins/wp-job-manager/includes/class-job-dashboard-shortcode.php:615 Stack trace: #0 /Users/davidcelestin/Local Sites/davidcelestin/app/public/wp-includes/class-wp-hook.php(324): WP_Job_Manager\Job_Dashboard_Shortcode::the_primary_action(Object(WP_Post)) #1 /Users/davidcelestin/Local Sites/davidcelestin/app/public/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array) #2 /Users/davidcelestin/Local Sites/davidcelestin/app/public/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #3 /Users/davidcelestin/Local Sites/davidcelestin/app/public/wp-content/plugins/bp-job-manager/public/templates/bpjm-job-listing.php(58): do_action(‘job_manager_job…’, Object(WP_Post)) #4 /Users/davidcelestin/Local Sites/davidcelestin/app/public/wp-content/plugins/bp-job-manager/public/class-bp-job-manager-public.php(559): include(‘/Users/davidcel…’) #5 /Users/davidcelestin/Local Sites/davidcelestin/app/public/wp-includes/class-wp-hook.php(324): Bp_Job_Manager_Public->bpjm_my_jobs_tab_function_to_show_content(”) #6 /Users/davidcelestin/Local Sites/davidcelestin/app/public/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array) #7 /Users/davidcelestin/Local Sites/davidcelestin/app/public/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #8 /Users/davidcelestin/Local Sites/davidcelestin/app/public/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/plugins.php(58): do_action(‘bp_template_con…’) #9 /Users/davidcelestin/Local Sites/davidcelestin/app/public/wp-includes/template.php(812): require(‘/Users/davidcel…’) #10 /Users/davidcelestin/Local Sites/davidcelestin/app/public/wp-content/plugins/buddypress/bp-core/bp-core-template-loader.php(225): load_template(‘/Users/davidcel…’, false, Array) #11 /Users/davidcelestin/Local Sites/davidcelestin/app/public/wp-content/plugins/buddypress/bp-core/bp-core-template-loader.php(67): bp_locate_template(Array, true, false, Array) #12 /Users/davidcelestin/Local Sites/davidcelestin/app/public/wp-content/themes/rehub-theme/buddypress/members/single/index.php(127): bp_get_template_part(‘members/single/…’) #13 /Users/davidcelestin/Local Sites/davidcelestin/app/public/wp-includes/template-loader.php(106): include(‘/Users/davidcel…’) #14 /Users/davidcelestin/Local Sites/davidcelestin/app/public/wp-blog-header.php(19): require_once(‘/Users/davidcel…’) #15 /Users/davidcelestin/Local Sites/davidcelestin/app/public/index.php(17): require(‘/Users/davidcel…’) #16 {main} thrown in /Users/davidcelestin/Local Sites/davidcelestin/app/public/wp-content/plugins/wp-job-manager/includes/class-job-dashboard-shortcode.php on line 615
There has been a critical error on this website.
By the way this is from a local environment I use for testing purposes.
You can see more explanation from this video recording: https://www.awesomescreenshot.com/video/32084369?key=18bef56dc94654ebb3445747428ae106.
Can you please help me fix that?
Thanks in advance,
Kindly.
- You must be logged in to reply to this topic.