R Robert9 Well-known member Nov 16, 2023 #1 I have added a new myclass to save a thread $creator = \XF::service('XF:Thread\Creator', $forum); and ... $thread = $creator->save(); Solved, my new thread is in thread; but was not global in my class. Last edited: Nov 16, 2023
I have added a new myclass to save a thread $creator = \XF::service('XF:Thread\Creator', $forum); and ... $thread = $creator->save(); Solved, my new thread is in thread; but was not global in my class.