Support » Plugin: Log User Access » Wrong use of $wpdb->prepare

  • Causes the error “Missing argument 2 for wpdb::prepare() on line 159”.

    Upon looking at the code at around that line it becomes obvious that the use of #wpdb->prepare is totally wrong there.

    Was 4 years ago the documentation for $wpdb teaching to use it this weird way?

    This plugin seems to be abandoned.

    Don’t install unless it’s fixed or upgraded for the current state of WordPress.

    https://wordpress.org/plugins/log-user-access/

  • The topic ‘Wrong use of $wpdb->prepare’ is closed to new replies.