#80 SubMirror: Class 'ColumnDef' not found

Closed
opened 4 years ago by postblue · 1 comments

Using latest nightly, got this running scripts/upgrade.php:

Ensuring all conversations have a URI...DONE.
Upgrading core schema...
Constraint checking Notice table...
* notice_reply_to_fkey (reply_to => notice.id)
* notice_repeat_of_fkey (repeat_of => notice.id)
* notice_profile_id_fkey (profile_id => profile.id)
DONE.
Upgrading plugin schema...PHP Fatal error:  Uncaught Error: Class 'ColumnDef' not found in /var/www/social/plugins/SubMirror/classes/SubMirror.php:60                                         
Stack trace:
#0 /var/www/social/plugins/SubMirror/SubMirrorPlugin.php(101): SubMirror::schemaDef()
#1 /var/www/social/lib/util/event.php(89): SubMirrorPlugin->onCheckSchema()
#2 /var/www/social/scripts/upgrade.php(119): Event::handle('CheckSchema')
#3 /var/www/social/scripts/upgrade.php(59): updateSchemaPlugins()
#4 /var/www/social/scripts/upgrade.php(659): main()
#5 {main}
  thrown in /var/www/social/plugins/SubMirror/classes/SubMirror.php on line 60
Using latest nightly, got this running scripts/upgrade.php: ``` Ensuring all conversations have a URI...DONE. Upgrading core schema... Constraint checking Notice table... * notice_reply_to_fkey (reply_to => notice.id) * notice_repeat_of_fkey (repeat_of => notice.id) * notice_profile_id_fkey (profile_id => profile.id) DONE. Upgrading plugin schema...PHP Fatal error: Uncaught Error: Class 'ColumnDef' not found in /var/www/social/plugins/SubMirror/classes/SubMirror.php:60 Stack trace: #0 /var/www/social/plugins/SubMirror/SubMirrorPlugin.php(101): SubMirror::schemaDef() #1 /var/www/social/lib/util/event.php(89): SubMirrorPlugin->onCheckSchema() #2 /var/www/social/scripts/upgrade.php(119): Event::handle('CheckSchema') #3 /var/www/social/scripts/upgrade.php(59): updateSchemaPlugins() #4 /var/www/social/scripts/upgrade.php(659): main() #5 {main} thrown in /var/www/social/plugins/SubMirror/classes/SubMirror.php on line 60 ```
Diogo Cordeiro commented 4 years ago
Owner

Thanks for reporting this important bug, just fixed it with 63caa5044d . Sorry about our late action, we've been really busy these days :/

Thanks for reporting this important bug, just fixed it with https://notabug.org/diogo/gnu-social/commit/63caa5044d82a38b3c684993c3f81c220bb0da6d . Sorry about our late action, we've been really busy these days :/
Sign in to join this conversation.
No Milestone
No assignee
2 Participants
Loading...
Cancel
Save
There is no content yet.