Hi @IanM
I found a mistake, which I partially corrected, but it was replaced by another one.
When I installed the extension and turned it on there was no problem. When I tried to create a new topic, I got an error message.
flarum.ERROR: TypeError: IanM\FollowUsers\Jobs\SendNotificationWhenFollowerPosted::__construct(): Argument #2 ($lastPostNumber) must be of type int, null given, called in /home/egyediol/topic.almaforum.hu/vendor/ianm/follow-users/src/Listeners/QueueNotificationJobs.php on line 78 and defined in /home/egyediol/topic.almaforum.hu/vendor/ianm/follow-users/src/Jobs/SendNotificationWhenFollowerPosted.php:36
When I deleted the wrong line written in the log file from the php file, the error disappeared, I can write a post from the main page, but I cannot restrict it to groups.
I deleted this part.
resolve('flarum.queue.connection')->push(
new Jobs\SendNotificationWhenFollowerPosted($post, $post->discussion->last_post_number)
);
Even though only the administrator group is currently set up, the tracking option also appears for a normal user, and it works.
What do you think could be wrong?