• Resolved wprox

    (@wprox)


    Hi Par,

    Thanks for the great plugin ??

    I got an error in my error_log file:

    [22-May-2018 14:31:44 UTC] Failed to insert log entry:

    I looked at Simple History, and the only thing that shows up for 5 days ago is:
    Finding your plugin’s updates / Updated plugin “Simple History” to 2.22.1 from 2.21.1

    Could that error be related to updating your plugin? It’s the first such error I’ve seen.

    Thanks a lot ??

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author P?r Thernstr?m

    (@eskapism)

    Not sure about this, I can’t find the string “Failed to insert log entry” anywhere in my plugin. Does the plugin still work and log things correctly?

    Thread Starter wprox

    (@wprox)

    Thanks for your quick response, Par!

    Yes, your plugin seems to still be working and logging things. I have no idea where to go with that error. Maybe only coincidence that the only thing I see in Simple History on that same day of the error loading is updating your plugin???

    Plugin Author P?r Thernstr?m

    (@eskapism)

    could you click on the time/date of that event and paste the info in the table with all information that will pop up? hopefully that can give some more details about this.

    Thread Starter wprox

    (@wprox)

    Is this what you meant?

    Context data
    This is potentially useful meta data that a logger has saved.

    Key Value
    id a number
    logger SimplePluginLogger
    level info
    date 2018-05-22 13:27:22
    message Updated plugin “{plugin_name}” to {plugin_version} from {plugin_prev_version}
    initiator wp_user
    context_message_key plugin_bulk_updated
    plugin_slug simple-history
    plugin_name Simple History
    plugin_title Simple History
    plugin_description Plugin that logs various things that occur in WordPress and then presents those events in a very nice GUI. <cite>By P?r Thernstr?m.</cite>
    plugin_author P?r Thernstr?m
    plugin_version 2.22.1
    plugin_url https://simple-history.com
    plugin_prev_version 2.21.1
    _message_key plugin_bulk_updated

    Plugin Author P?r Thernstr?m

    (@eskapism)

    Are you using iThemes Security by any chance?

    I saw this other support thread where this message is also mentioned:
    https://www.ads-software.com/support/topic/failed-to-insert-log-entry-with-no-message-in-error_log/

    Thread Starter wprox

    (@wprox)

    Thanks Par, yes, I’m using iThemes Security, and I did go through that thread prior to opening this ticket.

    The article at the bottom of that ticket even lists out specific plugins that have the issues with IP address lengths in the database, but didn’t match my plugins. Unfortunately, I couldn’t really figure out how to use that thread to fix my problem…

    Plugin Author P?r Thernstr?m

    (@eskapism)

    Ok, since no one else has reported anything similar to this I believe that the problem is within iThemes Security.

    Thread Starter wprox

    (@wprox)

    Thanks for your help Par ??

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Failed to insert log entry’ is closed to new replies.