Closed perryk closed 1 year ago
I'm hopeful there will be answer found between a couple of PRs from official OsTicket github repo where they are blacklisting older plugins which only expect to have a single instance.
and, PR # 238 from the official Osticket-plugins github repo has some fixes they needed for an official plugin.
These changes look to get the plugin working with php8 and likely are good for v1.16 of OsTicket.
However v1.17 looks to have significant changes to how plugins work and there is currently an issue.
This plugin can read it's settings during the bootstrap function, however it is unable to read those settings in other functions. Something to do with it now being possible to have multiple instances of plugins and which instance/instantiation is being referenced maybe.
We have changed the setting for "Max Size" to 4096 instead of the default of 1024. With the current RC3 of v1.17 this setting isn't detected, so it only shows images which are up the default of 1024 despite the setting.
As a work around, it is possible to change the default of that setting from the config.php, so it isn't too bad.