Simple Machines Community Forum

SMF Support => SMF 2.1.x Support => Topic started by: SusanTN on January 08, 2024, 03:50:54 PM

Title: GroupAct-Notify Errors
Post by: SusanTN on January 08, 2024, 03:50:54 PM
I am running 2.1.4

When my cron is running I am getting errors from the cron relating to GroupAct_Notify entries in the background_tasks datase.

with the Error Message as:

The database value you're trying to insert does not exist: id_member
Function: logActions

The data in the background_tasks table looks fine, but on the backtrace information, I am seeing URL of Page causing the error as

URL of page causing the error
https://www.mydomain.org/index.phphttps://www.mydomain.org/cron.php

This is the rest of the backtrace. I am replacing the user directory on the following paths as myuser, otherwise the path is correct.

    #0: smf_db_error_backtrace()
    Called from /sites/myuser/public_html/Sources/Subs-Db-mysql.php on line 201
    #1: smf_db_replacement__callback()
    Called from unknown on line -1
    #2: preg_replace_callback()
    Called from /sites/myuser/public_html/Sources/Subs-Db-mysql.php on line 346
    #3: smf_db_quote()
    Called from /sites/myuser/public_html/Sources/Subs-Db-mysql.php on line 783
    #4: smf_db_insert()
    Called from /sites/myuser/public_html/Sources/Logging.php on line 559
    #5: logActions()
    Called from /sites/myuser/public_html/Sources/Logging.php on line 410
    #6: logAction()
    Called from /sites/myuser/public_html/Sources/Subs-Membergroups.php on line 612
    #7: addMembersToGroup()
    Called from /sites/myuser/public_html/Sources/tasks/GroupAct-Notify.php on line 65
    #8: execute()
    Called from /sites/myuser/public_html/cron.php on line 249
    #9: perform_task()
    Called from /sites/myuser/public_html/cron.php on line 131

I have ran repair_settings.php and the rest of the forum is having no issues other than the cron.
Title: Re: GroupAct-Notify Errors
Post by: Slaps on January 12, 2024, 10:36:39 AM
Same problem here, since this morning.

There are some differences, but I've got the same files involved.

Anyone, please?
Title: Re: GroupAct-Notify Errors
Post by: Diego Andrés on January 12, 2024, 10:39:19 AM
It will be fixed in the next patch release.
Issue: https://github.com/SimpleMachines/SMF/issues/7546
PR: https://github.com/SimpleMachines/SMF/pull/7778
Title: Re: GroupAct-Notify Errors
Post by: Slaps on January 12, 2024, 11:20:06 AM
Thanks a lot, Diego.
Why this problem is suddenly appear? I've got any problem since this morning.

How's that?
Title: Re: GroupAct-Notify Errors
Post by: SusanTN on January 12, 2024, 07:41:47 PM
Thank you!