Good Morning,

I am trying to install Installing osTicket v1.11.0-rc1 on RHEL 7.5 and PHP Version 7.1.24

After submitting the installer configuration data I get an error 500, and I found the following PHP error in apache error_log:

Uncaught Error: Using $this when not in object context in /var/www/html/osticket/include/class.filter.php:477\nStack trace:\n#0 /var/www/html/osticket/include/class.filter.php(387): Filter::save(0, Array, Array)\n#1 /var/www/html/osticket/include/class.i18n.php(79): Filter::create(Array, Array)\n#2 /var/www/html/osticket/setup/inc/class.installer.php(172): Internationalization->loadDefaultData()\n#3 /var/www/html/osticket/setup/install.php(52): Installer->install(Array)\n#4 {main}\n thrown in /var/www/html/osticket/include/class.filter.php on line 477, referer: http://<mydomain>/setup/install.php

Could you please give me some hint to troubleshoot this issue?

Regards.

5 days later

Good Morning,

I tried to install the latest stable version 1.10.4 instead of the v1.11.0-rc1 and beside several warnings I am getting the same fatal error. I wonder if @ntozier has already seen this error before and what could be the cause.

PHP Fatal error: Uncaught Error: Using $this when not in object context in /var/www/html/osticket/include/class.filter.php:477\nStack trace:\n#0 /var/www/html/osticket/include/class.filter.php(387): Filter::save(0, Array, Array)\n#1 /var/www/html/osticket/include/class.i18n.php(79): Filter::create(Array, Array)\n#2 /var/www/html/osticket/setup/inc/class.installer.php(172): Internationalization->loadDefaultData()\n#3 /var/www/html/osticket/setup/install.php(52): Installer->install(Array)\n#4 {main}\n thrown in /var/www/html/osticket/include/class.filter.php on line 477, referer: http://<mydomain>/setup/install.php

I discovered the problem in this thread:

https://forum.osticket.com/d/93020-fatal-error-when-installing-osticket-v1-11

The answer by @ntozier was:

"osTicket does not support PHP 7.1 yet. Please downgrade to PHP 5.6.
PHP7 support is due out in v 1.11 once it is released."

The problem is that this PHP5 is going out of support on december 31st, and no more security fixes will be available.

So my question becomes: what is the release schedule for Osticket v1.11 ? If it will be released after december 31st, all Osticket users will be forced to use in their production servers unsupported versions of PHP not covered by security fixes, and this could be a problem.

Thanks in advance for all the information about the release of a Osticket version compatible with php 7.1

You should be able to run php 7.0 just fine. I was for a while. I reverted to 5.6 due to a time stamp issue that I couldn't get around.

My understanding is that v1.11rc2 should be our shortly, and then depending on how testing goes will be made stable shortly after that.

Write a Reply...