Title: Errors
Last modified: January 11, 2019

---

# Errors

 *  [vipplayer](https://wordpress.org/support/users/vipplayer/)
 * (@vipplayer)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/errors-195/)
 * 1) Made it possible to edit information. Brought a shortcode on the page”<?php
   
   $current_user = wp_get_current_user(); echo do_shortcode (‘[pdb_list filter=”
   cargo!,user_login=’ . $current_user – >user_login . ‘”fields =” cargo, wt, volume,
   citydownload, cityunloading, edit_link ” template=edit-link]”); ?> ” . The problem
   is, that now EVERY USER can edit all records in addition to their 2) have two
   groups, the first group can be edited, and the second is empty, there is no information
   that can be changed
    -  This topic was modified 7 years, 4 months ago by [vipplayer](https://wordpress.org/support/users/vipplayer/).

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [xnau webdesign](https://wordpress.org/support/users/xnau/)
 * (@xnau)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/errors-195/#post-11079418)
 * The “edit-link” template does put an active edit link on all records. If you 
   don’t want that, you’ll need to alter the template so that only records belonging
   to the currently signed in user have the edit link applied.
 *  Thread Starter [vipplayer](https://wordpress.org/support/users/vipplayer/)
 * (@vipplayer)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/errors-195/#post-11081220)
 * But before the problems with the update this was not. I stopped adding entries
   and the database had an error, I deleted the plugin, downloaded again and configured
   as it was, but Then everything worked OK, and now all users have access to editing
   and can not edit the second group. I read your documentation and found no difference
   from what I’ve done now
 *  Thread Starter [vipplayer](https://wordpress.org/support/users/vipplayer/)
 * (@vipplayer)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/errors-195/#post-11081722)
 * You see, it’s all about this code. `<?php
    $current_user = wp_get_current_user();
   echo do_shortcode(‘[pdb_list filter=”form_payment!, user_login=’ . $current_user-
   >user_login . ‘” fields = “cargo,wt,volume,citydownload,cityunloading,edit_link”
   template=edit-link]’); ?> ` I can put any value in `[pdb_list filter="form_payment!,`!–
   treats empty fields, but outputs all records for editing from all users. If you
   remove such a field at all, then everything is fine, except that empty fields
   are displayed, which is ugly. What do I do please help
    -  This reply was modified 7 years, 4 months ago by [vipplayer](https://wordpress.org/support/users/vipplayer/).
 *  Plugin Author [xnau webdesign](https://wordpress.org/support/users/xnau/)
 * (@xnau)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/errors-195/#post-11082162)
 * I’ve done some testing with using filters such as this and it’s working as expected,
   so I don’t think there is any bug that is preventing this kind of filter in the
   list shortcode from working. Of course, it’s important to make sure there is 
   no syntax error in the shortcode. Another thing to check is to turn the plugin
   debugging on, then look at the debug log after loading the list…this will tell
   you the database query that was used and that can sometimes help show what is
   wrong.
 *  Thread Starter [vipplayer](https://wordpress.org/support/users/vipplayer/)
 * (@vipplayer)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/errors-195/#post-11082504)
 * There’s nothing in the magazine. It’s just a shame that before I started to redo
   such a request worked perfectly, and now breaks and errors are not even visible.
   Okay, I’ll try a couple more things.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Errors’ is closed to new replies.

 * ![](https://ps.w.org/participants-database/assets/icon-256x256.jpg?rev=1389807)
 * [Participants Database](https://wordpress.org/plugins/participants-database/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/participants-database/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/participants-database/)
 * [Active Topics](https://wordpress.org/support/plugin/participants-database/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/participants-database/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/participants-database/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [vipplayer](https://wordpress.org/support/users/vipplayer/)
 * Last activity: [7 years, 4 months ago](https://wordpress.org/support/topic/errors-195/#post-11082504)
 * Status: not resolved