Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter Matt Northam

    (@scpgt)

    Should also add, have been using this for about a year with no problems.. this has only happened since trying to update some settings.

    Plugin Author WPWhiteSecurity

    (@wpwhitesecurity)

    Hello Matt,

    Thank you for using our plugin.

    What version of WordPress are you using and do you have any particular add-ons running on the browser that could block client-side scripts?

    To start off with, the plugin should not allow you to disable all the columns. In fact if you try you will get a notification to enable at least one column, hence you shouldn’t be able to set the “empty” audit log viewer in the first place.

    Looking forward to hearing from you.

    Thread Starter Matt Northam

    (@scpgt)

    Thanks for the reply!

    Using WP 4.3.1 – as a network.

    And nothing running in the browser (have tried all the usual suspects – chrome/ff/safari/even IE – with no luck).

    Technically, the last checkbox does remain checked, even if I try to untick it, so that could by why it’s not triggering any notification(?) But all the values are set to ‘1’ and look like they’re not rendering properly.. see: https://postimg.org/image/tfdqnsax9/

    <label for="columns">
     <input type="checkbox" name="Columns[<?=$key?>]" id="<?=$key?>" class="sel-columns" style="margin-top: 2px;" value="1">
    <span><!--?=ucwords(str_replace("_", " ", $key))?--></span>
    </label>

    There’s no console errors at all.

    We ran into this issue and the cause for us was our version of php (as well as php configuration) did not allow for <?= ?> syntax. Modifying the code to something like <?php echo $key; ?> resolves this issue (and is more likely to work across platforms).

    NOTE: We literally just ran into this a few hours ago and were fortunate enough to this post. I’ll see if there is a more appropriate channel to log the fix.

    Plugin Author WPWhiteSecurity

    (@wpwhitesecurity)

    Hello Matt,

    Can you test and confirm if yours is exactly the same case as standardbanter reported?

    Also standardbanter, can you please send us an email on [email protected] for a more appropriate channel to log the fix? Thank you.

    Plugin Author WPWhiteSecurity

    (@wpwhitesecurity)

    Hello gents,

    I can confirm that we have a fix for this in the next plugin update which will be released some time next week.

    Thread Starter Matt Northam

    (@scpgt)

    Sorry for the delayed response – had some time off work.

    Just wanted to say that yes, this did work, and the last update has fixed it all properly, so thanks very much for spotting the cause and updating the code! Much appreciated.

    Plugin Author WPWhiteSecurity

    (@wpwhitesecurity)

    Hello Matt,

    No worries. Glad it worked for you. Would appreciate if you can rate the plugin on the repository.

    Thanks and just let us know should you have any further queries.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Audit Log Columns Selection is empty’ is closed to new replies.