Hello,
“Class Traits” (the error you’re mentioning) was introduced since PHP 5.4 http://php.net/manual/language.oop5.traits.php
It looks like you’re using a version of PHP that is older than 5.4 (which is very old). I strongly advise you to upgrade your PHP configuration to use at least PHP 5.6, which is the standard right now.
Regards.
Thread Starter
pixtae
(@pixtae)
Yes you’re right we are using an old version of PHP. Unfortunately we’re mid migration and the old site breaks on newer versions so we’re stuck between a rock and a hard place until we can demote the current live site and roll out the development site. Is it possible to download an other version of your plugin so we can re-enable it? Once the site is live and php updated we’ll upgrade it…
Thanks for your help, it’s an awesome plugin! Totally saved me from manually rewriting the urls for 50,000 pages.
Hey,
Yeah I understand your problem. You can totally download an older version in the “Advanced View” Tab on the right of the plugin page. At the bottom you will be able to pick a specific version to download.
I would advise you the last stable 0.9.0.2 version (download link: https://downloads.wordpress.org/plugin/wp-404-auto-redirect-to-similar-post.0.9.0.2.zip). It should work nicely on your environment.
Regards.
Thread Starter
pixtae
(@pixtae)
Thanks that’s really helpful.
All the best!