paultimms
(Paul Timms)
February 19, 2018, 5:44pm
1
I’m running FreePBX 13 on Centos 7. All yum updates have been done, and all FreePBX modules are up-to-date as of today.
I am using the FreePBX upgrade module, to upgrade to 14. It immediately stops at step 3 with the message:
Submitting data to servers…ERRORS
There’s also a red box which appears, saying:
Whoops\Exception\ErrorException
Call to undefined method module_functions::_generate_unique_id()
File:/var/www.html/admin/modules/versionupgrade/Versionupgrade.class.php:84
I’ve checked line 84 of this file and it says this:
$install_hash = $mf->_generate_unique_id();
I know very little about PHP so any tips on how to resolve this would be much appreciated!
tm1000
(Andrew Nagy)
February 19, 2018, 8:04pm
2
fwconsole ma upgrade versionupgrade
This will fix the issue
paultimms
(Paul Timms)
February 19, 2018, 8:53pm
3
Thanks Andrew. I now have to wait for the new version of the framework module to be released before I can test if that worked.
paultimms
(Paul Timms)
February 19, 2018, 9:27pm
4
I installed the latest framework module using the --edge option, which let me enable the versionupgrade module. Now I get a different “Whoops\Exception\ErrorException” error, on line 85 of the same file as above:
Illegal string offset ‘uniqueid’
tm1000
(Andrew Nagy)
February 20, 2018, 1:52am
5
paultimms:
Now I get a different “Whoops\Exception\ErrorException” error, on line 85 of the same file as above:
Illegal string offset ‘uniqueid’
Not helpful. I need to see the full error
paultimms
(Paul Timms)
February 20, 2018, 3:46pm
6
The error in the red box says this:
Whoops\Exception\ErrorException
Illegal string offset 'uniqueid’
File:/var/www/html/admin/modules/versionupgrade/versionupgrade.class.php:85
“fwconsole debug” gives me this warning relating to versionupgrade, if it helps at all:
[WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/versionupgrade/functions.inc.php on line 35
paultimms
(Paul Timms)
March 13, 2018, 1:35pm
7
Just wondered if I can provide any more information about this problem?
tm1000
(Andrew Nagy)
March 13, 2018, 5:18pm
8
Use the ticket tracker and report an issue
imcdona
(Isaac McDonald)
March 18, 2018, 10:51pm
9
I’m having the same issue. Was a ticket opened on this issue? If not, please let me know and I’ll open a bug report.
imcdona
(Isaac McDonald)
March 21, 2018, 9:21pm
11
tm1000:
A ticket was opened yes
Can you please paste a link to the ticket?
tm1000
(Andrew Nagy)
March 22, 2018, 3:42pm
12
1 Like
system
(system)
Closed
March 22, 2019, 3:42pm
13
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.