Why force PHP 7

Good day,

tons of your script bugs in php 7 , notably EAPM and Advanced (AOW/AOR/AOD/AOS/AOP etc.)

Is there a reason why you block upgrade wizard when not using php 7 ?

I tried upg to php 7, and it made half of your scripts crash.

Thanks

Vic

There must be something else going on.

I recently upgraded to PHP7 with my hosting provider (Arvixe) and I have not had any SuiteCRM problems.

Thanks Paul, that does not help my problem, but yes it is PHP 7 related. The commits on github refers really to modify scripts and variables if you work in 7.0 or7.1

Restoring to 5.4 resovle the problem.

PHP 7.0 works fine. It’s related to PHP 7.0 and something else in your installation.

The reasons to force it are:

  • security (not minor at all)
  • speed (significant improvement)
  • some new features

There is an issue on Github where all this is discussed. If programs don’t nudge admins to upgrade, they generally don’t upgrade (statistical fact, look it up). Security in old PHP’s basically sucks.

I have the exact same host and have this error message:
Strict Standards: Declaration of SugarEmailAddress::save() should be compatible with SugarBean::save($check_notify = false) in /home2/…/include/SugarEmailAddress/SugarEmailAddress.php on line 1162

So how did you get it to work on Arvixe?

@dajaz27 what is your SuiteCRM version?

PHP 7 and SuiteCRM 7.8

You didn’t say which SuiteCRM 7.8 it is (7.8.0? 7.8.9?) but anyway:

Go to

and change this line in file include/SugarEmailAddress/SugarEmailAddress.php

public function save() {

to this

public function save($check_notify = false) {

This is already fixed in the newer versions.

Thank you. Quick update it is 7.7.9(have been unable to get in for months). I got in will begin updating to the latest version.