framework icon indicating copy to clipboard operation
framework copied to clipboard

Deleting a discussion forever

Open kulga opened this issue 10 years ago • 1 comments

Error when deleting a discussion forever. The discussion is does not appear in the list when refreshing the page.

Steps to reproduce

  • Create discussion
  • Delete discussion
  • Delete Forever discussion

Debug error

POST http://devflarum.xyzz.work/api/discussions/2

null

/var/log/nginx/error.log

2016/03/02 15:38:17 [error] 917#917: *606 FastCGI sent in stderr: "PHP message: PHP Notice:  Trying to get property of non-object in /xxx/xxx/xxx/xxx/forum/extensions/flarum-tags/src/Listener/UpdateTagMetadata.php on line 111
PHP message: PHP Warning:  Invalid argument supplied for foreach() in /xxx/xxx/xxx/xxx/forum/extensions/flarum-tags/src/Listener/UpdateTagMetadata.php on line 114
PHP message: PHP Fatal error:  Call to a member function posts() on null in /xxx/xxx/xxx/xxx/forum/vendor/flarum/core/src/Core/Listener/DiscussionMetadataUpdater.php on line 57" while reading response header from upstream, client: 104.207.136.19, server: devflarum.xyzz.work, request: "POST /api/discussions/2 HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.testsoftware.sock:", host: "devflarum.xyzz.work", referrer: "http://devflarum.xyzz.work/"

kulga avatar Mar 02 '16 23:03 kulga

Related to #823 @kulga ? I think this was fixed in that issue.

luceos avatar Mar 03 '16 01:03 luceos