Zulu 3 Error Fetching Contacts

Error in Zulu Client after connection says Error fetching contacts.
This occurred after upgrade from 14.0.3. This shows up on clients connecting from the local lan and remote.

Zulu Client 3.1.0+7
Zulu Server 14.0.4.6
Freepbx 14.0.3.6
Asterisk 13.21.1

fwconsole dbug

The error will show up when you connect to zulu. Post that here.

[Tue Nov 06 14:54:46.017891 2018] [:error] [pid 26262] [client 127.0.0.1:58282] PHP Deprecated: Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set ‘always_populate_raw_post_data’ to ‘-1’ in php.ini and use the php://input stream instead. in Unknown on line 0
OUT > [Tue Nov 06 14:54:47.224467 2018] [:error] [pid 12435] [client 127.0.0.1:58298] PHP Fatal error: Call to undefined method Presencestate::getAllDevicesStates() in /var/www/html/admin/modules/zulu/API/Modules/Interactions.php on line 1682
OUT > [Tue Nov 06 14:54:47.431765 2018] [:error] [pid 10355] [client 127.0.0.1:58320] PHP Fatal error: Call to undefined method Presencestate::getAllDevicesStates() in /var/www/html/admin/modules/zulu/API/Modules/Interactions.php on line 1682
OUT > [Tue Nov 06 14:54:47.515021 2018] [:error] [pid 10992] [client 127.0.0.1:58326] PHP Fatal error: Call to undefined method Presencestate::getAllDevicesStates() in /var/www/html/admin/modules/zulu/API/Modules/Interactions.php on line 1682
OUT > [Tue Nov 06 14:54:47.818990 2018] [:error] [pid 1145] [client 127.0.0.1:58332] PHP Fatal error: Call to undefined method Presencestate::getAllDevicesStates() in /var/www/html/admin/modules/zulu/API/Modules/Interactions.php on line 1682
OUT > [Tue Nov 06 14:54:50.294625 2018] [:error] [pid 26262] [client 127.0.0.1:58350] PHP Deprecated: Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set ‘always_populate_raw_post_data’ to ‘-1’ in php.ini and use the php://input stream instead. in Unknown on line 0
OUT > [Tue Nov 06 14:54:50.488077 2018] [:error] [pid 12435] [client 127.0.0.1:58374] PHP Deprecated: Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set ‘always_populate_raw_post_data’ to ‘-1’ in php.ini and use the php://input stream instead. in Unknown on line 0
OUT > [Tue Nov 06 14:54:50.557337 2018] [:error] [pid 19458] [client 127.0.0.1:58382] PHP Deprecated: Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set ‘always_populate_raw_post_data’ to ‘-1’ in php.ini and use the php://input stream instead. in Unknown on line 0
OUT >
==> /var/log/asterisk/freepbx.log <==
[2018-Nov-06 14:54:51] [INFO] (functions.inc/aastra.class.php:1580) - [22893][1511-donotdisturb] Setting button softkeys:2 to NOT_INUSE
OUT > [2018-Nov-06 14:54:51] [INFO] (functions.inc/aastra.class.php:1580) - [22893][1511-callforward] Setting button softkeys:3 to IN_USE
OUT > [2018-Nov-06 14:54:52] [INFO] (functions.inc/aastra.class.php:1580) - [22893][1375-donotdisturb] Setting button softkeys:2 to NOT_INUSE
OUT > [2018-Nov-06 14:54:52] [INFO] (functions.inc/aastra.class.php:1580) - [22893][1375-callforward] Setting button softkeys:3 to NOT_INUSE
OUT > [2018-Nov-06 14:54:52] [INFO] (functions.inc/aastra.class.php:1580) - [22893][1395-donotdisturb] Setting button softkeys:2 to NOT_INUSE
OUT > [2018-Nov-06 14:54:52] [INFO] (functions.inc/aastra.class.php:1580) - [22893][1395-callforward] Setting button softkeys:3 to NOT_INUSE
OUT >
==> /var/log/httpd/error_log <==
[Tue Nov 06 14:54:52.937960 2018] [:error] [pid 10355] [client 127.0.0.1:58392] PHP Deprecated: Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set ‘always_populate_raw_post_data’ to ‘-1’ in php.ini and use the php://input stream instead. in Unknown on line 0
OUT > [Tue Nov 06 14:54:53.161399 2018] [:error] [pid 19466] [client 127.0.0.1:58416] PHP Deprecated: Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set ‘always_populate_raw_post_data’ to ‘-1’ in php.ini and use the php://input stream instead. in Unknown on line 0
OUT > [Tue Nov 06 14:54:53.237601 2018] [:error] [pid 26262] [client 127.0.0.1:58424] PHP Deprecated: Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set ‘always_populate_raw_post_data’ to ‘-1’ in php.ini and use the php://input stream instead. in Unknown on line 0

You need to upgrade the Presencestate module.

OK, Prereq for that is Upgrading Freepbx Version to 14.0.3.16 or higher. I am currently at 14.0.3.6
I will update this evening after business hours as to not disrupt phone calls

Just as an aside on this, I updated the Zulu module last night. It had a dependency for User Manager to also be updated. If Presence state caused this issue maybe that should be included as a dependency as well.

Presence state is currently at 14.0.1.5
update avail to 14.0.1.7

It already is.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.