• I’m seeing a message on my site:
    Notice: Array to string conversion in /var/www/html/wp-content/plugins/wp-security-audit-log/classes/Sensors/Widgets.php on line 296

    This line of code has:
    // Compare – checks for any changes inside widgets.
    –> $diff = array_diff_assoc( $widget_data, $widget_db_data[ $widget_id ] );
    $count = count( $diff );

    Is the Widgets sensor part of WP Activity Log?? I’m running PHP 7.4.16 I do have an older version of WordPress, 5.6.2.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support robertabela

    (@robert681)

    Hello @robertadamsnextraq

    Thank you for using our plugin. I am sorry to read about your issue.

    How often are you seeing this message and do you know how to reproduce the issue? I.e. are there specific changes / steps to follow to reproduce it?

    Looking forward to hearing from you.

    Thread Starter robertadamsnextraq

    (@robertadamsnextraq)

    Hi Robert
    Sorry for the delayed response. I’ve been told that when we edit the widgets, we get notice. You have to make some changes and hit the save button at the bottom of the widget. Then only we can see the error. Since it is a notice, this is not affecting the execution but I’d like to fix it none-the-less. I just updated WP Activity Log to 4.3.2 and I’m running wordpress to 5.7.2 now but the warning persists.

    Robert

    Plugin Support robertabela

    (@robert681)

    Thank you for your update @robertadamsnextraq

    We will look into the issue and I’ll let you know if we need more information. In the meantime, if you have other questions, please do not hesitate to ask.

    Have a great day.

    Plugin Support Danny Jones

    (@distinctivepixels)

    Hi @robertadamsnextraq

    Are you seeing this when you change any widget?

    Iv been testing the widgets and am yet unable to replicate any error using WP 5.6.2 and a variety of widgets so would it be possible to email me directly at [email protected] so we can look into this further?

    Look forward to hearing from you.

    Kind regards, Daniel @ WP White Security

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Array to string conversion error’ is closed to new replies.