• Hi! I want to report that if you use print_r command with option TRUE to get the content of an array in the log like this:
    $output = print_r($data, TRUE);
    error_log(“Insert data:” . $output, 0);
    The log viewer only shows this:
    Insert data:Array
    While the log itself contains:
    [02-Sep-2017 14:50:42 UTC] Insert data:Array
    (
    [user_id] => 3
    [username] => tester
    [time_login] => 2017-09-02 14:50:42
    [ip_address] => 80.100.107.103
    [time_last_seen] => 2017-09-02 14:50:42
    [browser] => Chrome
    [operating_system] => Windows 7
    [country_name] => Netherlands
    [country_code] => NL
    [old_role] => editor
    [timezone] => Europe/Amsterdam
    )

    Can the plug-in be changed that it displays the whole string?

    [ No bumping please. ]

  • The topic ‘String of array not correctly displayed’ is closed to new replies.