Since comments are mandatory for now have you selected a forum in the blogs settings to use for comment threads?
Yes but it's a private node.
Since comments are mandatory for now have you selected a forum in the blogs settings to use for comment threads?
@Enes3078 Whenever you have the time / remember the steps you took would you also be able to provide the steps/options used when creating that blog post?Will take a further look into that error this morning after my daily work meetings and hopefully get a fix released today as that's the same one reported last night as well. Not sure why it's happening as this is one of the bugs I had to fix to get it ready for release and I tested it on 4 different upgrades/installs and stopped running into it.
Edit:
@Hareon what steps did you take when creating the blog post / what options did you select when creating it to better help re-produce.
I also want to see about packaging this addon with Sentry but need to see if that's allowed first. Sentry sends the errors anyone comes across automatically and also has a step by step play through of how it happened so I wouldn't have to ask for reproduction steps as often/at all in the future.
@Enes3078 Whenever you have the time / remember the steps you took would you also be able to provide the steps/options used when creating that blog post?
TypeError: XF\Repository\PostRepository::findPostsForThreadView(): Argument #1 ($thread) must be of type XF\Entity\Thread, null given, called in /home/forum/public_html/forum/src/addons/TaylorJ/Blogs/Pub/Controller/BlogPost.php on line 37 in src/XF/Repository/PostRepository.php at line 12
XF\Repository\PostRepository->findPostsForThreadView() in src/addons/TaylorJ/Blogs/Pub/Controller/BlogPost.php at line 37
TaylorJ\Blogs\Pub\Controller\BlogPost->actionIndex() in src/XF/Mvc/Dispatcher.php at line 362
XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 264
XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 121
XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 63
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2826
XF\App->run() in src/XF.php at line 806
XF::runApp() in index.php at line 23
Is this taking place after the blog post has been approved?Here is my blog options:
View attachment 312933
Then I create a new blog from here:
View attachment 312934
Here is the blog page:
View attachment 312935
Crate blog page:
View attachment 312936
Then I got this error:
Code:TypeError: XF\Repository\PostRepository::findPostsForThreadView(): Argument #1 ($thread) must be of type XF\Entity\Thread, null given, called in /home/forum/public_html/forum/src/addons/TaylorJ/Blogs/Pub/Controller/BlogPost.php on line 37 in src/XF/Repository/PostRepository.php at line 12 XF\Repository\PostRepository->findPostsForThreadView() in src/addons/TaylorJ/Blogs/Pub/Controller/BlogPost.php at line 37 TaylorJ\Blogs\Pub\Controller\BlogPost->actionIndex() in src/XF/Mvc/Dispatcher.php at line 362 XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 264 XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 121 XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 63 XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2826 XF\App->run() in src/XF.php at line 806 XF::runApp() in index.php at line 23
Is this taking place after the blog post has been approved?
If you look at your database, does that blog posts under xf_taylorj_blogs_blog_post have a discussion_thread_id set that is not 0?It's never approved because I'm an admin. I think there is an issue with approval queue.
If you look at your database, does that blog posts under xf_taylorj_blogs_blog_post have a discussion_thread_id set that is not 0?
There should definitely be one unless you uninstalled the add on.There isn't any SQL table with xf_taylorj_blogs_blog_post name.
There should definitely be one unless you uninstalled the add on.
It should just be a table with that name in the same database that you have XF using. I don't have a phpmyadmin installed right now to provide a clearer screenshot, sorry.Can you tell me how to find that table via phpMyAdmin? Maybe I was wrong.
Is this your xenforo db where you can see xf_user, xf_activity_summary_definition, xf_activity_summary_section, xf_addon (the last three being the first three you should see at the top of the list).
If it is I would try uninstalling the addon and re-downloading 1.1.0 and attempting again.
I create a new blogEdit:
@Hareon what steps did you take when creating the blog post / what options did you select when creating it to better help re-produce.
I also want to see about packaging this addon with Sentry but need to see if that's allowed first. Sentry sends the errors anyone comes across automatically and also has a step by step play through of how it happened so I wouldn't have to ask for reproduction steps as often/at all in the future.
We use essential cookies to make this site work, and optional cookies to enhance your experience.