Deleting user error in mums

Post a reply


This question is a means of preventing automated form submissions by spambots.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

If you wish to attach one or more files enter the details below.

Maximum filesize per attachment: 1 MiB.

Expand view Topic review: Deleting user error in mums

Re: Deleting user error in mums

by pennymachines » Sun Apr 27, 2025 8:41 pm

This problem was fixed with DEFINITIVE 2.9.3 SOLUTION and code here.
Thank you!

Re: Deleting user error in mums

by axew3 » Thu Apr 17, 2025 9:48 pm

Re: Deleting user error in mums

by pennymachines » Wed Jun 12, 2024 12:23 pm

OK, thank you both for your responses. I will try to focus on this now.
Unfortunately, the plugins are many (some I shall be removing, as no longer required).
Screen grab of my WP network admin plugins here.

Re: Deleting user error in mums

by axew3 » Sun Jun 02, 2024 9:41 am

As last chance (and just to test the coming 2.8.5, which about this anyway come with the same exact unchanged code) i have try to reproduce the issue adding into wordpress MUMS an user which in phpBB the username has been changed like this
martinm- _yrick0_ and has been transferred via plugin's single user transfer (/wp-admin/tools.php?page=wp-w3all-users-to-wp) into wordpress, which into a default mums would be not ok because the username contains spaces and underscores: then WP, cannot create for these usernames a subsite, because the username contains chars not allowed and it is used for the blog name: but we assume that on these mums users are not allowed to create subsites then it is ok to use all allowed usernames chars, like it is for a default wp, so -0-9A-Za-z _.@
then i:
removed martinm- _yrick0_ from a blog, no error.
removed martinm- _yrick0_ from the main site, no error.
removed another username test directly from the main site, without removing before from a blog: no error.
ale wrote: Sat Jun 01, 2024 4:02 pm Could you list plugins you are using?
It would be a good idea to know the plugins list you're using so i could try to reproduce the issue.

Re: Deleting user error in mums

by ale » Sat Jun 01, 2024 4:02 pm

Could you list plugins you are using?

Re: Deleting user error in mums

by axew3 » Fri May 31, 2024 9:14 pm

Code: Select all

Uncaught Error: Call to a member function get_results() on string
mean that connection values are lost and the executed query fail.

Unfortunately i do not have an answer, the unique highly customized mums site i've see that was returning

Code: Select all

Uncaught Error: Call to a member function get_results() on string
on deleting an user
was about the fact that even the get_option() WordPress default function was returning an empty value (even on init) at deletion time on WP admin.
So i resolved the case directly adding values to the connection function at this time,
$w3all_config_db["dbname"] = "mywebsite_phpbb";
but would have work also as it is the code now, that retrieve the value via a direct default query when connection values are lost (get_option() return empty value) deleting an user on mums: but you say that even this do not work, that mean also that the default WP query fail some way for you. I do not have an answer to your question, i would like to reproduce so to reverse the problem but i cannot in any way i tested any mums it work fine. If you discover why into your still do not work even adding manual values, please let know! Thank you!

Top