Menu

#433 Possible bug in sql_upgrade.php under PHP7

Development_Release
open
None
5
2016-07-11
2016-05-15
No

When running a migration to 4.3.1 in PHP7 I receive a list of the following errors.

Updating global configuration defaults...

Warning: substr() expects parameter 1 to be string, array given in /***/projects/openemr/sql_upgrade.php on line 75

Anyone else experiences this problem?

Discussion

  • Oleg Sverdlov

    Oleg Sverdlov - 2016-05-15
    • summary: Possible bug in sql_upgrade.php --> Possible bug in sql_upgrade.php under PHP7
     
  • Brady Miller

    Brady Miller - 2016-05-15

    Hi,

    I confirmed this in PHP7 also.

    A this point OpenEMR appears to have no more fatal errors in PHP7(ie. white screens of death); to test this, I basically tried to run every possible script(there is a possibility that some more will pop up in some places in the codebase I may not of checked; for example, I can't test the newcrop stuff).

    However, there are still some warnings to clean up. If we see them, should mark them as a bug and clean them up. Also should clean up any deprecated warnings that show up.

    The "special" case here is ZH Healthcare's Zend Care Coordination module. There are large amount of warnings and deprecated warnings in that code in PHP7 along with some other real errors that show up (in both php5 and php7) that don't seem to impact the working of the code. Plan to touch base with ZH Healthcare on this after they are done with their MU2 work (MU2 work is much higher priority at this time).

    -brady

     
  • Oleg Sverdlov

    Oleg Sverdlov - 2016-07-11
    • Owner: Oleg Sverdlov --> Oleg Matrix
     

Log in to post a comment.

MongoDB Logo MongoDB