Create/manage album returns ErrorException #51
标签
未选择里程碑
未指派成员
1 名参与者
通知
到期时间
未设置到期时间。
依赖工单
没有设置依赖项。
参考:aheathershaw/blue-twilight#51
正在加载...
在新工单中引用
没有提供说明。
删除分支 %!s(<nil>)
删除分支是永久的。虽然已删除的分支在实际被删除前有可能会短时间存在,但这在大多数情况下无法撤销。是否继续?
LNT00:
Trying to get property of non-object (View: /home/user/photo/resources/views/themes/base/partials/permission_checkbox.blade.php)
in 12d68dc4b1f6d47f521ea5b4576f3520c15bfc04.php (line 2)
at CompilerEngine->handleViewException(object(ErrorException), 1)
in PhpEngine.php (line 44)
at PhpEngine->evaluatePath
in CompilerEngine.php (line 59)
at CompilerEngine->get(...show_album.blade.php)
in View.php (line 137)
This happens after creating an album. Album is created, although the error is triggered.
Same issue when trying to Manage an album.
Does your MySQL table
permissions
have any records in it?LNT00:
No, it's empty. And it seems i cannot edit it from phpMyAdmin.
The db user i created during install has all privileges. (i created it from cpanel using MySQL Databases)
Ah think I've found the problem - seems like the database isn't "seeded" on a clean install, but it is during an upgrade.
Can you change the version number in the
configuration
table to 2.1.0-beta.2, then go back into Blue Twilight. The version number should change back to 2.1.0-beta.3 automatically and you should find yourpermissions
table is then populated.LNT00:
yes, it fixed the issue.
This has been fixed in the upcoming 2.1.0-beta.4.
Migrated from https://github.com/andysh-uk/blue-twilight/issues/51