Title: Error
Last modified: April 21, 2021

---

# Error

 *  [majstorboob](https://wordpress.org/support/users/majstorboob/)
 * (@majstorboob)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/error-1508/)
 * HI there,
    I am getting this message: Warning: Cannot use a scalar value as an
   array in /home/grunerisrs/public_html/dokumenta/plugins/amr-users/includes/ameta-
   list.php on line 434

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

 *  Thread Starter [majstorboob](https://wordpress.org/support/users/majstorboob/)
 * (@majstorboob)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/error-1508/#post-14269084)
 * **P.S.** Just tested on my other website and I am receiving the same error message…
   
   Have a wonderful rest of your day!
 * Kind regards,
    Filip
 *  Plugin Author [anmari](https://wordpress.org/support/users/anmari/)
 * (@anmari)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/error-1508/#post-14276092)
 * Hi Filip, it looks like that is something to do with ‘rows per page’. There was
   a settings change related to that. Please would you resave, click update on all
   your settings pages and see if the message does away?
 * I’m not seeing that message anywhere.
 *  Thread Starter [majstorboob](https://wordpress.org/support/users/majstorboob/)
 * (@majstorboob)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/error-1508/#post-14276503)
 * Hi,
 * Thank you a lot the issue was actually here [http://prntscr.com/114liqg](http://prntscr.com/114liqg)
   so the inputs need to be both 20. I am not really sure if changed anything. Maybe
   it is by default.
 * Also, can I implement this so the people when clicking on username (user_login)
   get on edit that user page? And how should this filter look like… If possible.
 *     ```
       add_filter( '???????', function( $name, $id ){
       	if ( $name && ???????() ) {
       		$name = '<a href="https://gruneris.rs/%D0%B8%D0%B7%D0%BC%D0%B5%D0%BD%D0%B8-%D0%BD%D0%B0%D0%BB%D0%BE%D0%B3?edit_user='. $id . '/">' . $name . '</a>';
       	}
       	return $name;
       }, 10, 2);  
       ```
   
 * Have a wonderful rest of your day!
 * Kind regards,
    Filip
    -  This reply was modified 5 years, 1 month ago by [Yui](https://wordpress.org/support/users/fierevere/).
    -  This reply was modified 5 years, 1 month ago by [Yui](https://wordpress.org/support/users/fierevere/).
      Reason: please use CODE button for proper formatting
 *  Plugin Author [anmari](https://wordpress.org/support/users/anmari/)
 * (@anmari)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/error-1508/#post-14276861)
 * Hi, the rows per page should not need to be the same. I frequently have different
   values when testing.
    Try saving ‘General settings’ first, and then going back
   to the overview settings and making the rows per page whatever you want.
 * Re edit user link:
    In the Configure page, on the ‘Format’ tab, choose linktype‘
   edit user’ for the user_name field.
 *  Thread Starter [majstorboob](https://wordpress.org/support/users/majstorboob/)
 * (@majstorboob)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/error-1508/#post-14276969)
 * Hi,
    _the rows per page should not need to be the same_ – But when the values
   are the same it is working otherwise I am getting an error…
 * _Re edit user link _ – I need to lead them to the custom link
    “izmeni-nalog?
   edit_user=8”.
 * I am really sorry for taking your time.
    Kind regards, Filip
    -  This reply was modified 5 years, 1 month ago by [majstorboob](https://wordpress.org/support/users/majstorboob/).
 *  Plugin Author [anmari](https://wordpress.org/support/users/anmari/)
 * (@anmari)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/error-1508/#post-14285666)
 * RE Link: the best way is to add your own linktype with it’s own name. That way
   it is always very clear in the settings where the link is coming from. See the
   two linktype filters (use both) on the filters page [https://wpusersplugin.com/2940/filters/](https://wpusersplugin.com/2940/filters/)
   and [https://wpusersplugin.com/3284/example-site-specific-add-on-using-filters/](https://wpusersplugin.com/3284/example-site-specific-add-on-using-filters/)
 * RE message: in researching further situations where that message may occur, it
   appears to be as suspected, somehow your setup as an old ‘row per page’ scalar
   in the db, the ‘update’ did not update that. So then php is upset that a scalar
   is then being treated as an array (rows per page per list).
 * I have trawled through the code, trying to check and detect anywhere it maybe
   unhappy and explicitly force the variable to be an array. Since I’m not getting
   that message, despite having all debug on etc, hard to be sure I’ll have removed
   it, but at least I have a better understanding of it now.
 * I’ll put an update up soon.
 *  Thread Starter [majstorboob](https://wordpress.org/support/users/majstorboob/)
 * (@majstorboob)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/error-1508/#post-14290316)
 * Hi!
 * Honestly I really appricate your help and patiance!
    I have found other way to
   lead to custom link by doing this and it is working: `return ( network_admin_url('
   измени-налог?edit_user='.$u->ID));` And inserting it in code snippet plugin with
   the whole function.
 * Keep up the great work and have a wonderful rest of your day!
 * Kind regards,
    Filip
 *  Thread Starter [majstorboob](https://wordpress.org/support/users/majstorboob/)
 * (@majstorboob)
 * [5 years ago](https://wordpress.org/support/topic/error-1508/#post-14337838)
 * Hi,
 * Please delete this part from our thread [http://prntscr.com/11pj1iy](http://prntscr.com/11pj1iy)
   because my website is private and it is appearing as a result on Google?
 * Just remove that part because the rest others can find very useful I guess.
 * Thank you in advance.
 *  Plugin Author [anmari](https://wordpress.org/support/users/anmari/)
 * (@anmari)
 * [5 years ago](https://wordpress.org/support/topic/error-1508/#post-14339610)
 * HI I don’t have ability to do that. From googling I found these
    [https://wordpress.org/support/topic/to-delete-a-post-at-wordpress-org-forums/](https://wordpress.org/support/topic/to-delete-a-post-at-wordpress-org-forums/)
   [https://wordpress.org/support/topic/removing-post-from-support-forum/](https://wordpress.org/support/topic/removing-post-from-support-forum/)
   [https://wordpress.org/support/topic/how-to-remove-delete-link-in-the-wordpress-forums/](https://wordpress.org/support/topic/how-to-remove-delete-link-in-the-wordpress-forums/)
   [https://wordpress.org/support/forum-user-guide/faq/#will-you-delete-my-post-or-my-link-within-my-post](https://wordpress.org/support/forum-user-guide/faq/#will-you-delete-my-post-or-my-link-within-my-post)
 * It seems that you’d have to contact a moderator [https://wordpress.org/support/guidelines/#contacting-the-moderators](https://wordpress.org/support/guidelines/#contacting-the-moderators)
   however it would appear that they probably would actually do anything about it.
    -  This reply was modified 5 years ago by [anmari](https://wordpress.org/support/users/anmari/).
 *  Thread Starter [majstorboob](https://wordpress.org/support/users/majstorboob/)
 * (@majstorboob)
 * [5 years ago](https://wordpress.org/support/topic/error-1508/#post-14340854)
 * Hi,
 * Thank you for your help.
    I tried reporting.
 * Kind regards,
 *  Thread Starter [majstorboob](https://wordpress.org/support/users/majstorboob/)
 * (@majstorboob)
 * [5 years ago](https://wordpress.org/support/topic/error-1508/#post-14340878)
 * Here is also problem:
    [http://prntscr.com/11qygzd](http://prntscr.com/11qygzd)

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

The topic ‘Error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/amr-users_f6f6f4.svg)
 * [amr users](https://wordpress.org/plugins/amr-users/)
 * [Support Threads](https://wordpress.org/support/plugin/amr-users/)
 * [Active Topics](https://wordpress.org/support/plugin/amr-users/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/amr-users/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/amr-users/reviews/)

 * 11 replies
 * 3 participants
 * Last reply from: [majstorboob](https://wordpress.org/support/users/majstorboob/)
 * Last activity: [5 years ago](https://wordpress.org/support/topic/error-1508/#post-14340878)
 * Status: not resolved