- This topic has 7 replies, 3 voices, and was last updated 4 years, 3 months ago by Tom.
February 3, 2016 at 6:49 am #170150Mike A. Spell
did you already check whether GeneratePress and the GP add-ons are compatiblw ith PHP version 7?
M.February 3, 2016 at 6:55 am #170152TomLead DeveloperLead DeveloperAugust 26, 2016 at 7:52 am #221472Sean
Hi, recently bought the premium version and I’m looking in to changing my hosting to include PHP7, however having run a few tests on general compatibility with WordPress themes and plugins I’ve received the following message from “WPEngine’s PHP Compatibility Checker”:
FOUND 1 ERROR AFFECTING 1 LINE
540 | ERROR | preg_replace() – /e modifier is forbidden in PHP 7.0
I note that you’ve already been looking in to this (or similar problem with WP Alchemy) https://github.com/farinspace/wpalchemy/issues/102
Is this something you can patch/fix soon please?
Apart from that little issue everything great!
Thanks in advance 🙂August 26, 2016 at 8:18 am #221478TomLead DeveloperLead Developer
Are you using the latest version of GP Premium? I fixed this way back in Sept of 2015.
Also, the next version of GP Premium doesn’t use WP Alchemy anymore, so we can avoid issues like this in the future.
This site is using PHP7 with no issues 🙂August 26, 2016 at 8:55 am #221491Sean
I believe I have the latest versions installed:
GeneratePress Version: 1.3.39
GP Premium 1.2.89
Strange how this detects an old fault on a new, clean install….
https://en-gb.wordpress.org/plugins/php-compatibility-checker/ this is what I’m using/testing with if you’d like to try it and see the result for yourself.
All the best!August 26, 2016 at 8:57 am #221492TomLead DeveloperLead Developer
Yep that’s the latest.
Best way to check to avoid any false positives is your error_log file.
Either way, it should be a non-issue in GP Premium 1.2.90 🙂August 26, 2016 at 9:04 am #221494Sean
Awesome, keep up the good work! 🙂August 26, 2016 at 9:22 am #221497
- You must be logged in to reply to this topic.