PHP 8 is pretty strict now. The referenced resources above are likely outdated and do not fit the new PHP standards. You’ll have to modify your code to make PHP happy.
Cheers.
PHP 8 is pretty strict now. The referenced resources above are likely outdated and do not fit the new PHP standards. You’ll have to modify your code to make PHP happy.
Cheers.
Thanks a lot for the fast response KevinTheJedi
Is there any way in osTicket system to get time based routing other than using this plugin?
Is there any hints or resources to modify the code to match the new PHP version checks/requirements? (I know it is off-topic, but any help will be very much appreciated)
kmahgoub The plugin should just need a minor change which I'll sort today
AdamDempsey Thanks for the good job you have done. I appreciate your response and help.
@AdamDempsey me too facing same error that @kmahgoub facing.
If you have free time could you please advice.
Thank you in advance for your time.
I ran out of time / forgot on Friday
Updated version attached which from my very quick tests is now working in 1.17.x
Didn't think anyone was actually using it, was meant more of a proof of concept.
AdamDempsey
Dear Adam. i would like to thank you for great job that you are doing.
unfortunately the plugin applied successfully this time but once enabled i faced below error
PHP Fatal error: Uncaught Error: Call to undefined method AutoDeptPlugin::getInstances() in /var/www/html/osTicket/upload/include/plugins/autodept/autodept.php:18\nStack trace:\n#0 /var/www/html/osTicket/upload/include/plugins/autodept/autodept.php(33): AutoDeptPlugin->getPluginInstance()\n#1 /var/www/html/osTicket/upload/include/class.plugin.php(147): AutoDeptPlugin->bootstrap()\n#2 /var/www/html/osTicket/upload/include/class.osticket.php(643): PluginManager->bootstrap()\n#3 /var/www/html/osTicket/upload/main.inc.php(33): osTicket::start()\n#4 /var/www/html/osTicket/upload/scp/staff.inc.php(20): require_once('...')\n#5 /var/www/html/osTicket/upload/scp/admin.inc.php(16): require_once('...')\n#6 /var/www/html/osTicket/upload/scp/plugins.php(2): require('...')\n#7 {main}\n thrown in /var/www/html/osTicket/upload/include/plugins/autodept/autodept.php
so please if you can support it will be appreciated.
thanks again for your time and the great job
haithamramadan This this version, whilst updating it to support 1.17.x it broke support for older versions that didn't have Plugin Instances.
AdamDempsey
Thanks a lot Adam for the great job. now it works on my current Os ticket version and also kept previous one in case i upgraded my current version.
you are the one. thanks a lot again for your effort, time and support
haithamramadan v0.2.1 will work in 1.17.x as well as older versions
AdamDempsey Sorry for the very late reply. I confirm that v0.2.1 solved my problem and now I have the plugin working perfectly. Thanks so much Adam for your fast response and brilliant work.