• Hey – just wanted you to know that after upgrading to MCF 3.1, we had all sorts of sites producing server 500 errors and randomly going down. We ended up pinpointing it to your plugin. If we disable your plugin or downgrade to the prior version 2.5 the server errors disappear. The problems occur in every site we have that uses your plugin with PHP 7 except one (for some reason that site works fine, but also has the smallest amount of code in your plugin). Downgrading to PHP 5.6 and keeping your version 3.1 also works fine. So the issue seems to be 3.1 + PHP 7.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author arthur-gareginyan

    (@arthur-gareginyan)

    As soon as possible I will test this plugin with PHP 7.

    Thanks for the information!

    Thread Starter Company 50

    (@co50)

    No problem. If it is of any help, our server admin was able to produce a workaround that allows us to run the latest version of your plugin with PHP 7, but they said could have an affect on performance:

    “We have removed one line from the php.ini file for php7 which was related to our server cache module – The line is:

    opcache.file_cache = /home/cocomifk/tmp”

    ——

    Maybe that helps pinpoint the problem but eager to learn what you discover. ??

    Plugin Author arthur-gareginyan

    (@arthur-gareginyan)

    Oh, probably this explains everything. If disabling the cache solves the problem, then the problem associated with it. Cache is our salvation and evil at the same time ??

    I checked the difference between the two versions that you mentioned (2.5.1 and 3.1). The difference is that in version 3.1 changed the structure of directories and files, and some modifications of the CSS and JS code. CSS and JS loads only on plugin settings page. PHP code is not changed, but only a PHP can affect the front end of the website.

    I think that the reason is in the changed structure of directories and files of this plugin in conjunction with caching system on your server. So you need to refresh the cache on your server and all must be good ??

    Though I’ll definitely check the compatibility of this plugin with PHP 7.

    Plugin Author arthur-gareginyan

    (@arthur-gareginyan)

    I tested the plugin with PHP version 7. Everything works fine and there are no errors ??

    Thread Starter Company 50

    (@co50)

    Cool. Well….not sure what to say but the issues we had were definitely pinpointed to My Custom Functions 3.1 with PHP 7 enabled. And every site with the issue had different custom functions so it isn’t like once piece of code was causing it. Oh well, maybe it will come up again with someone else in the future.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Latest Version 3.1 Conflicts with PHP 7’ is closed to new replies.