• n381

    (@n381)


    Hello, thank you for your work and plugin that works as introduced officially.

    Further, I have question regarding a small issue with the php warnings

    PHP Warning: count(): Parameter must be an array or an object that implements Countable in public_html/–/user-activity-log/user_settings_menu.php on line 536

    please could you advice on changing the exact section of code as the server error log is increasing with this plugin activities.

    Additionally I would like to have users activity name/page name in the email notification – some snippet or shortcode as is provided for the purpose of sending user name

    [user_details]

    Thank you with regards

    • This topic was modified 6 years ago by n381.
Viewing 1 replies (of 1 total)
  • Plugin Contributor Sanjay Dabhoya

    (@sanjaydabhoya)

    Sorry for the inconvenience caused to you.

    1) PHP Warning: count(): Parameter must be an array or an object that implements Countable in public_html/–/user-activity-log/user_settings_menu.php on line 536
    =>
    1.1)
    if(is_array($enable_unm) && !empty($enable_unm)) {
    add above code user-activity-log/user_settings_menu.php file and line 536
    $enable_unm = get_option(‘enable_user_list’);
    after this code

    1.2) add below code in line number 593
    }

    If you are not getting about how to change in above code, then please contact us via WordPress slack channel so we can communicate with you and help you to fix your issue.

    2) Additionally I would like to have users activity name/page name in the email notification – some snippet or shortcode as is provided for the purpose of sending user name [user_details]
    => In email notification, Activity is already there in shortcode [user_details].
    Username, Firstname, Lastname, Email, Date Time, IP address, and activity are there in user_details shortcode.

    Let me know if you have any further query.

    Thank you and regards,

Viewing 1 replies (of 1 total)

The topic ‘Regarding problem and advanced settings’ is closed to new replies.