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.

  • What PHP versions are you running locally and on the live site? Jun 16, 2016 at 9:36
  • I'm going to update from 5.3.3 to latest stable and check it again. I'm running 7.0.0 localy. Jun 16, 2016 at 9:41
  • 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. Jun 16, 2016 at 10:18

1 Answer 1


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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.