osTicket / osTicket-plugins

Core plugins for osTicket (v1.8+)
GNU General Public License v2.0
149 stars 162 forks source link

oauth2 plugin broken #239

Closed ChrisTG742 closed 2 years ago

ChrisTG742 commented 2 years ago

Since the last commit the oauth2 plugin no longer loads here in v1.17:

[Tue Oct 04 13:15:49.467930 2022] [php7:error] [pid 1021076] [client 172.16.0.147:57063] PHP Fatal error: Abstract function osTicket\Mail\MailBoxProtocolTrait::oauth2Auth() cannot be declared private in /var/www/osTicket/upload/include/class.mail.php on line 238

Any quick fix besides re-installing the former version?

ChrisTG742 commented 2 years ago

Seems rather be a bug in v1.17 release. In RC4 it still worked. I'll open a bug-report in the main repo instead.

JediKev commented 2 years ago

@ChrisTG742

Did you download and install the latest build of the plugin? If you are using latest build, can you provide exact steps to replicate this issue?

Cheers.

ChrisTG742 commented 2 years ago

@JediKev Thanks, it figured out that it is rather a "how to I upgrade from 1.15 and PHP7.4 to 1.17 and PHP8.0" problem. But I think I almost puzzled that out :)