ValiantShishu datitisev # composer why-not dragonmantank/cron-expression ^1.2.1 flarum/flarum - requires dragonmantank/cron-expression (^2.3) Is going to runcomposer require dragonmantank/cron-expression ^2.3?
datitisev ValiantShishu Uh looks like you (flarum/flarum is forum root) have required the newer version at some point. I don't know why you have, but if you did maybe requiring the older version will break something? I don't know.
ink datitisev Migrating extension: fof-best-answer In Connection.php line 664: SQLSTATE[23000]: Integrity constraint violation: 1022 Can't write; duplicate key in table '#sql -43cb_e58e' (SQL: alter table `discussions` add constraint `discussions_best_answer_post_id_for eign` foreign key (`best_answer_post_id`) references `posts` (`id`) on delete set null) In PDOStatement.php line 129: SQLSTATE[23000]: Integrity constraint violation: 1022 Can't write; duplicate key in table '#sql -43cb_e58e' In PDOStatement.php line 127: SQLSTATE[23000]: Integrity constraint violation: 1022 Can't write; duplicate key in table '#sql -43cb_e58e' ``` what's the problem? can you help me?
nixpc I love the extension! Only thing I'd suggest changing is that administrators can set their own best answer regardless of the configuration settings.
nixpc Mark73 Admins can select any post as the best answer unless it's yours and you turned it off in the configuration.
clarkwinkelmann idkwhatusername FreeFlarum has a process to request extension, check out their website. Neither Flarum or FriendsOfFlarum has any control over this.
datitisev scvoet You can use permissions to allow/prevent setting best answers in tags (admins will still be allowed to because they have all perms).
EvilExecutor Hello when I installed the extensions today (the latest version of the extension with beta 14.1) and once I set a post as the best answer this error appears. But the best answer is set to that post. ( This happens whenever I set a post as best answer)
karaok EvilExecutor hm, I didn’t see this during testing yesterday. Can can you share the log file from {flarum}/storage/logs also the output from php flarum info