[In Progress] PHP Errors after OSTheme swap

    • May 4, 2021 at 6:43 am #7627
      A
      Ralecc
      Participant

      Hi,

       

      i’ve got an error after i swaped the theme for this one. 

      i tried to run it but in the logs it shows the following: 

      PHP Parse error: syntax error, unexpected ‘|’, expecting variable (T_VARIABLE) in /var/www/html/support/include/class.auth.php on line 1089

      After a Short mod it seems to work but the next error is shown:

      PHP Fatal error: Can’t inherit abstract function TwoFactorAuthenticationBackend::send() (previously declared abstract in Staff2FABackend) in /var/www/html/support/include/class.2fa.php on line 173

      PHP Version 7.0.33-47+0~20210228.54+debian9~1.gbp7f60a9

      best

    • May 7, 2021 at 2:52 pm #7641
      stevland
      Keymaster

      If you’re still having trouble let me know what version you are running.

      What do you mean by “a short mod”?

      The second error is related to 2 Factor Authentication.

      • March 20, 2022 at 12:51 pm #9732
        P
        hitchman
        Participant

        I’m getting exactly the same thing. Was working fine but then stopped a few days ago. I’m unable to access anything in OS Ticket so can’t even say what version it was running because the above errors prevent me from accessing it in any way.

        So I upgraded OSTicket to the latest version, which worked fine, then uploaded the latest version of OSA and bang! Same issues.

        So I’ve had to back it out.

        Something in OSA is causing these problems – I’m on CentOS7, cPanel latest version and PHP 8.0.

You must be logged in to reply to this topic.

Topic Tags