-
Notifications
You must be signed in to change notification settings - Fork 365
Open
Labels
Description
Describe the bug
When clicking on the Job Views link in the Job Manager admin dashboard, a PHP warning is triggered:
PHP Warning: Attempt to read property "ID" on null in /wp-job-manager/wp-job-manager-template.php on line 903
To Reproduce
Steps to reproduce the behavior:
- Enable wp_debug
- Go to WP Dashboard → Job Manager → Job Listings.
- Click on Views/Statistics for any job listing.
- Check debug log
Isolating the problem (mark completed items with an [x]):
- I have deactivated other plugins and confirmed this bug occurs when only WP Job Manager plugin is active.
- This bug happens with a default WordPress theme active.
- I can reproduce this bug consistently using the steps above.
WordPress Environment
- WordPress Version: 6.8.2
- WP Job Manager Version: 2.4.0
- PHP Version: 8.3.17