• Resolved nik7n

    (@nik7n)


    In the file common/MHSettings.php you are using PHP syntax like <?= which requires configuration of php.ini, namely it needs short_open_tag = On, which is On by default but in php.ini it states that it is recommended to disable it. On our server setup we have it disabled so we had to update your plugin manually and replace <?= with <?php echo. See comment from php.ini:

    ; This directive determines whether or not PHP will recognize code between
    ; <? and ?> tags as PHP source which should be processed as such. It is
    ; generally recommended that <?php and ?> should be used and that this feature
    ; should be disabled, as enabling it may result in issues when generating XML
    ; documents, however this remains supported for backward compatibility reasons.
    ; Note that this directive does not control the <?= shorthand tag, which can be
    ; used regardless of this directive.
    ; Default Value: On
    ; Development Value: Off
    ; Production Value: Off
    ; https://php.net/short-open-tag
    short_open_tag = Off
    • This topic was modified 4 years, 8 months ago by nik7n.
    • This topic was modified 4 years, 8 months ago by nik7n.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Please don’t use deprecated PHP short_open_tag’ is closed to new replies.