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? – André Elvan Jun 16 '16 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. – Dominik Krulak Jun 16 '16 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. – Dominik Krulak Jun 16 '16 at 10:18

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.