Using SMF 2.1 ,I have some errors in logs :
Guest
Today at 22:38
Type of error: Critical
The database value you're trying to insert does not exist: topic
Function: execute
http://www./cron.php
File: /Sources/tasks/CreatePost-Notify.php
Line: 62
Guest
Today at 22:38
Type of error: Cron
8: unserialize(): Error at offset 108 of 652 bytes
http://www./cron.php
File: /cron.php
Line: 199
are you using the latest version of 2.1 off github?
Quote from: Illori on May 12, 2015, 03:54:55 PM
are you using the latest version of 2.1 off github?
yes I do
Its a known issue: https://github.com/SimpleMachines/SMF2.1/issues/2849 (https://github.com/SimpleMachines/SMF2.1/issues/2849)
how can I disable all notifications ?
can I create a database called topic to avoid that errors until a real fix will be available ?
Ok it seems I have not access to Edit function but I have solved that errors myself:
in file Subs-Post.php
replace line
if ($msgOptions['send_notifications'] && $msgOptions['approved'])
with
if ($msgOptions['send_notifications'] && $msgOptions['approved'] && !$user_info['is_guest'])
No more errors in logs .