Title: PHP Warning: Undefined variable $current_description
Last modified: January 13, 2024

---

# PHP Warning: Undefined variable $current_description

 *  Resolved [Ov3rfly](https://wordpress.org/support/users/ov3rfly/)
 * (@ov3rfly)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/php-warning-undefined-variable-current_description/)
 * Getting these warnings in `debug.log`
 *     ```wp-block-code
       [13-Jan-2024 09:11:54 UTC] PHP Warning:  Undefined variable $current_description in ../plugins/job-postings/include/class-job-single-view.php on line 992
       [13-Jan-2024 09:11:54 UTC] PHP Warning:  Undefined variable $current_description in ../plugins/job-postings/include/class-job-single-view.php on line 993
       ```
   
 * A fix could be defining the variable e.g. in line 960:
 *     ```wp-block-code
       $current_description = '';
       ```
   
 * Not sure if content of that variable is used at all by current code?
 * Jobs for WordPress 2.7.3, WordPress 6.4.2

Viewing 1 replies (of 1 total)

 *  Plugin Author [BlueGlass Interactive AG](https://wordpress.org/support/users/blueglassch/)
 * (@blueglassch)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/php-warning-undefined-variable-current_description/#post-17430941)
 * Thank you for your message. We have specifically addressed this issue with our
   latest version.
   Thank you.

Viewing 1 replies (of 1 total)

The topic ‘PHP Warning: Undefined variable $current_description’ is closed to new
replies.

 * ![](https://ps.w.org/job-postings/assets/icon-256x256.jpg?rev=1702382)
 * [Job Postings](https://wordpress.org/plugins/job-postings/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/job-postings/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/job-postings/)
 * [Active Topics](https://wordpress.org/support/plugin/job-postings/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/job-postings/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/job-postings/reviews/)

## Tags

 * [PHP Warning](https://wordpress.org/support/topic-tag/php-warning/)
 * [undefined variable](https://wordpress.org/support/topic-tag/undefined-variable/)

 * 1 reply
 * 2 participants
 * Last reply from: [BlueGlass Interactive AG](https://wordpress.org/support/users/blueglassch/)
 * Last activity: [2 years, 3 months ago](https://wordpress.org/support/topic/php-warning-undefined-variable-current_description/#post-17430941)
 * Status: resolved