• Resolved Paddy Landau

    (@paddy-landau)


    Just a heads-up that very occasionally I get a PHP error as follows.

    PHP Warning: Invalid argument supplied for foreach() in /[path-redacted]/wp-content/plugins/sg-security/core/Activity_Log/Activity_Log_Themes.php on line 95

    As far as I can tell, it doesn’t appear to affect the website in any way, but it might help you to identify a potential problem.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Stoyan Georgiev

    (@stoyangeorgiev)

    Hey there @paddy-landau,

    Thank you for the heads-up! Would it be possible to provide any details if possible on when you are getting this error? Is it related to a theme update?

    Kind regards,
    Stoyan

    Thread Starter Paddy Landau

    (@paddy-landau)

    @stoyangeorgiev — That’s a good question. I don’t know the answer.

    All that happens is that I see this error in php_errorlog. The last one happened at 2:00 a.m. when I was asleep, so I have no idea what was going on at that time! Maybe an auto-update?

    Because it’s so rare, I can’t tell when it will happen again. I’ll disable all auto-updates, and then check for the error every time when I manually update.

    When I spot it again, I’ll post back here.

    Plugin Author Stoyan Georgiev

    (@stoyangeorgiev)

    Hey there @paddy-landau,

    We’ve located the exact issue for this and a fix will be provided in the next version.

    Again, thank you for your report!

    Kind regards,
    Stoyan

    Thread Starter Paddy Landau

    (@paddy-landau)

    @stoyangeorgiev — That’s excellent, thank you!

    Thread Starter Paddy Landau

    (@paddy-landau)

    Hi @stoyangeorgiev

    This is to let you know that this still happens occasionally. It doesn’t happen as often as it used to, but it still happens every couple of weeks or so.

    If I can do something to help you diagnose the problem, let me know.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Invalid argument supplied for foreach()’ is closed to new replies.