[Tickets #14865] Ansel migration

noreply at bugs.horde.org noreply at bugs.horde.org
Sun Oct 14 05:52:03 UTC 2018


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: https://bugs.horde.org/ticket/14865
------------------------------------------------------------------------------
  Ticket             | 14865
  Created By         | lameventanas at gmail.com
  Summary            | Ansel migration
  Queue              | Ansel
  Version            | 3.0.8
  Type               | Bug
  State              | Unconfirmed
  Priority           | 2. Medium
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


lameventanas at gmail.com (2018-10-14 05:52) wrote:

I'm not sure which version of Horde and Ansel I have, I installed them  
via pear recently.

While upgrading horde and ansel with the horde-db-migrate script, I  
get this error:

[horde] ArgumentCountError: Too few arguments to function  
Ansel_Style::getHash(), 0 passed in  
/var/www/horde/ansel/migration/10_ansel_upgrade_computestylehashes.php  
on line 50 and exactly 1 expected in  
/var/www/horde/ansel/lib/Style.php:69
Stack trace:
#0  
/var/www/horde/ansel/migration/10_ansel_upgrade_computestylehashes.php(50):  
Ansel_Style->getHash()
#1  
/var/www/horde/ansel/migration/10_ansel_upgrade_computestylehashes.php(23):  
AnselUpgradeComputestylehashes->_ensureHashes(Array)
#2 /var/www/pear/php/Horde/Db/Migration/Base.php(121):  
AnselUpgradeComputestylehashes->up()
#3 /var/www/pear/php/Horde/Db/Migration/Migrator.php(182):  
Horde_Db_Migration_Base->migrate('up')
#4 /var/www/pear/php/Horde/Db/Migration/Migrator.php(102):  
Horde_Db_Migration_Migrator->_doMigrate()
#5 /var/www/horde/admin/config/index.php(133):  
Horde_Db_Migration_Migrator->up()
#6 {main} [pid 16174 on line 74 of "/var/www/pear/php/Horde/ErrorHandler.php"]






More information about the bugs mailing list