UCRM-plugins icon indicating copy to clipboard operation
UCRM-plugins copied to clipboard

Error in Mikrotik Queue Sync Plugin

Open hansin1 opened this issue 4 years ago • 5 comments

Notice: Undefined variable: ucrmFormatedList in /data/ucrm/data/plugins/mkt-queue-sync/classes/Synchronizer.php on line 220

Fatal error: Uncaught TypeError: Return value of MikrotikQueueSync\Synchronizer::formatUcrmListIpAddress() must be of the type array, null returned in /data/ucrm/data/plugins/mkt-queue-sync/classes/Synchronizer.php:220 Stack trace: #0 /data/ucrm/data/plugins/mkt-queue-sync/classes/Synchronizer.php(179): MikrotikQueueSync\Synchronizer->formatUcrmListIpAddress(Array) #1 /data/ucrm/data/plugins/mkt-queue-sync/classes/Synchronizer.php(130): MikrotikQueueSync\Synchronizer->getUcrmServiceList(Array) #2 /data/ucrm/data/plugins/mkt-queue-sync/public.php(49): MikrotikQueueSync\Synchronizer->sync() #3 /data/ucrm/data/plugins/mkt-queue-sync/public.php(51): {closure}() #4 /usr/src/ucrm/web/_plugins/mkt-queue-sync/public.php(3): require_once('/data/ucrm/data...') #5 {main} thrown in /data/ucrm/data/plugins/mkt-queue-sync/classes/Synchronizer.php on line 220

hansin1 avatar Aug 29 '20 06:08 hansin1

I'm getting the same error.

I'm on RouterOS v6.46.7 (long-term)

j4ys0n avatar Sep 21 '20 03:09 j4ys0n

Anyone find a solution to this?

bergynator avatar Jan 05 '21 21:01 bergynator

I've finally found the solution. When I added customer to my UCRM, their services plan was set to "Quoted". When I set them to "Active" the error was gone and the queues was successfully added to my Mikrotik.

bergynator avatar Jan 06 '21 18:01 bergynator

Where did you see the Quoted / Active function ? I have the same problem

solufi avatar Jun 03 '21 17:06 solufi

I still have this problem, can anyone help me?

danutsss avatar Nov 09 '21 12:11 danutsss