<p>This was due to version 0.3.0 breaking PHP 5.3 support. A fix has been implemented in 0.3.1 that fixes this.</p>

CC BY-SA 3.0
2016-06-16T10:43:43.957Z
2016-06-16T10:43:43.957Z
André Elvan
<p>After I've turned devMode on live site to see what's going on a <strong>fatal error appeared:</strong> Using $this when not in object context in /var/www/vhosts/site.com/craft/plugins/preparsefield/PreparseFieldPlugin.php on line 112</p>

<p>The weird thing is, that with same settings on local machine it runs as expected.</p>

CC BY-SA 3.0
2016-06-16T09:36:39.313Z
What PHP versions are you running locally and on the live site?
André Elvan
CC BY-SA 3.0
2016-06-16T09:41:45.190Z
I'm going to update from 5.3.3 to latest stable and check it again. I'm running 7.0.0 localy.
Dominik Krulak
CC BY-SA 3.0
2016-06-16T10:18:22.917Z
The update did the job. But odd part is until Preparse-field update my previous server config (PHP 5.3.3) was able to create record to preparse field without any problems. But thanks you @Andre Elvan for pointing out to PHP version. I haven't thought of that because of no running problems from before.
Dominik Krulak
<plugins>
I get error on live site after Preparse-field update
# I get error on live site after Preparse-field update

(Asked by: username_0 on 2016-06-16)

After I've turned devMode on live site to see what's going on a **fatal error appeared:** Using $this when not in object context in /var/www/vhosts/site.com/craft/plugins/preparsefield/PreparseFieldPlugin.php on line 112

The weird thing is, that with same settings on local machine it runs as expected.

**Tags:** plugins

> **Comments:**
> **username_1**: What PHP versions are you running locally and on the live site?  
> **username_0**: I'm going to update from 5.3.3 to latest stable and check it again. I'm running 7.0.0 localy.  
> **username_0**: The update did the job. But odd part is until Preparse-field update my previous server config (PHP 5.3.3) was able to create record to preparse field without any problems. But thanks you @Andre Elvan for pointing out to PHP version. I haven't thought of that because of no running problems from before.  

---

## 1 answers

### Answer by username_1 on 2016-06-16. Score: 4 | Accepted answer

This was due to version 0.3.0 breaking PHP 5.3 support. A fix has been implemented in 0.3.1 that fixes this.


---

