# JSON::ParserError on Jobs::VersionCheck

**URL:** <https://meta.discourse.org/t/json-parsererror-on-jobs-versioncheck/64650>\
**Category:** Bug\
**Created:** [17 Giugno 2017, 12:44am UTC](https://meta.discourse.org/t/json-parsererror-on-jobs-versioncheck/64650 "2017-06-17T00:44:00Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![Cyclops](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cyclops/32/119674_2.png) [@Cyclops](https://meta.discourse.org/u/Cyclops)\
**Post date:** [18 Giugno 2017, 6:42am UTC](https://meta.discourse.org/t/json-parsererror-on-jobs-versioncheck/64650/7 "2017-06-18T06:42:17Z")

</div>

I applied the fix that you committed manually, since it was a simple change and now the warning goes away in Discourse’s admin panel, but if I look in sidekiq it says that VersionCheck still failed. Is there a way to confirm if it is actually working or not?

![](https://global.discourse-cdn.com/meta/optimized/3X/e/b/eb165b3300f0c49ba76c1cf7c125242f829c2031_2_690x53.png)

And in the error log I see (under Info):

```
Job exception: undefined method `>' for nil:NilClass

```

under Backtrace:

```
/var/www/discourse/app/jobs/scheduled/version_check.rb:23:in `execute'

```

/var/www/discourse/app/jobs/base.rb:154:in `block (2 levels) in perform’

under Env:

```
hostname	hal-app
process_id	104
application_version	c5f42f0e97b27bacd24d07c3180f9b485880e2fc
current_db	default
current_hostname	forum.blazingumbra.com
job	Jobs::VersionCheck
problem_db	default
opts	

```

Clearly something is wrong.

---

_[View the full topic](https://meta.discourse.org/t/json-parsererror-on-jobs-versioncheck/64650)._
