sprintf() function returns a formatted string. Formatted string contain the %s like format specifier. sprint() function prints variable value against these formatted string. You are using these specifiers in your formatted sting or variable against this specifier is missing that’s it is showing this kind of error.
Please check you are using formatted string in correct format.
@presstigers – that is true, except that this error is in a place where he shouldn’t be making any changes.
@gond78 – it is highly unusual that this would occur in a regular setup unless you had made changes to the plugin’s core code (specifically in this area of the dialogs.php file). The area this is happening in generates the logout link if the user is logged in. It is putting together to strings that are filterable with wpmem_login_links_args – the logout link HTML and the text to display. Even if you emptied these values out with the filter, it wouldn’t result in an error.
I would suggest that you do a re-install of the plugin to make sure you have all of the files and that none of them are corrupted in any way. Ideally, download the zip from ww.wp.xz.cn, then unzip the package and transfer via FTP. If that’s not an option, then remove the plugin and do a reinstall.
Thread Starter
gond78
(@gond78)
I have done no modification as this is way above my ability, just a simple install, however I am trying to setup an on-line scheduling system along with it and depending on the user status different options/menu would appear…might be coming from that.
Anyway I will try to re-install it and will let you know what happened.
Thanks for the quick reply.
Edit: nothing has changed after re-installing the plugin.
Thread Starter
gond78
(@gond78)
The error appears when I try to login from the menu (tried to add on my menu bar a link to a login page), however there is no error when I use the widget.
Ideally I would like to have it from the menu bar.