WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Registration Email Activation Link Triggers Error (21 posts)

  1. elephantspike
    Member
    Posted 10 months ago #

    Warning: Creating default object from empty value in /home/hoogoo/public_html/wp-includes/ms-settings.php on line 111

    Brand-new 0ut-of-the-box subdomain multisite enabled wordpress 3.6.1 with no plugins or additional themes using Twenty-Thirteen. Registration works. It creates the user and the user's login and blog but shows the above error at the top of the page. I have my Network Admin settings set to "Both sites and user accounts can be registered."

    I am on my own VPS with WHM/cPanel root access and the multisite is installed in the public_html folder of it's own cPanel account within my VPS.

    My VPS details:
    Apache version 2.2.25
    PHP version 5.4.20
    MySQL version 5.5.32-cll

    (mod rewrite is enabled and permalinks are working)

    If I deselect the "Gimme a site" radio button when registering, the issue goes away. It sends me the activation link and it shows no error and allows me to login and then if I go to my /wp-signup.php it allows me to create a site.

    Most people will probably leave the "Gimee a Site" selected though, so that's not really a workaround. It might be a temporary one though if I could just get rid of those radio buttons and turn the registration/new blog creation into a 2 part process which is pretty much the way I'd prefer it to be anyway.

    Tried using SB login widget plugin to see if that helped and it kind of did but that bypasses the email activation step altogether. Anyone or AnyBot can just type in any email and username and it registers them and logs them in right away. I wouldn't want that on a live site.

    Link to site:

    http://hoogoobook.com/

    I've searched and found other's with this issue but all seem to me using WPMU plugins and haven't found any solutions yet.

    Any suggestions would be appreciated.

    Thanks,

    Bob

  2. Turn off ALL your plugins and try it again. Yes. All.

    A default, clean, WP should not have this problem, obviously, so let's make sure it's not a plugin conflict.

  3. elephantspike
    Member
    Posted 10 months ago #

    There were no plugins or additional themes at all when this error occured. now I have the Distro theme and and SB Login Widget but the issue first occurred on a clean, no plugin or added theme install of WP 3.6.1 and occurs with or without Distro or SB Login installed.

    I downloaded the 3.6.1 WP zip, Created a cPanel user account in WHM, FTPed the zip to the top domain public_html directory using Filezilla (wp-config.php etc. right inside publi_html), unzipped via file manager, created database in MYSQL manager, browsed to the WP installation, ran the install, logged in to dashboard, downloaded my wp-config file, used VIM to edit in the MULTISITE define "yes" line, reuploaded via Filezilla, went right to the WP dashboard and into settings/network setup, selected "subdomains" clicked "save" edited in the new definitions for wp-config.php and new rules into .htaccess (again using VIM/Filezilla, went into the Network Settings in the dashboard and selected "Both sites and user accounts can be registered" logged-out, browsed to wp-signup, registered with an alternate username and email, left "Gimme a site" selected, chose a subdomain name and site title, got the "Congratulations! Your new site ... is almost ready" page, got the email there with the activation link, clicked through and got the "Your account is now active!" page but with the above error at the top of the page.

  4. elephantspike
    Member
    Posted 10 months ago #

    ...and just to be sure I just repeated the above steps with a new database and new download of the WP 3.6.1 zip. Nothing added. can someone go through the register page here please:

    http://hoogoobook.com/wp-signup.php

    and see if you get the same results? That is that it creates your site and login but the error is at the top of the page when you click through the activation link in the email?

  5. Do you have WP DEBUG on? I can't reproduce this at all :/

    (waiting on a confirmation email from your site now)

  6. elephantspike
    Member
    Posted 10 months ago #

    No. Debug is off. From my wp-config:

    define('WP_DEBUG', false);

    Error appears on page when you click through the activation link in email.

  7. Haidi
    Member
    Posted 10 months ago #

    I have exactly the same problem with same warning. Also a clean WordPress 3.6.1 install without any plugins or custom themes. Multisite and subdomain are enabled.

    Also tested with clean 3.5.2 install without any plugins or custom themes and got the same error.

  8. Haidi
    Member
    Posted 10 months ago #

    And more update:

    I also have similar setup on the server where problem occurs:
    Apache version 2.2.25
    PHP version 5.4.20
    MySQL version 5.5.32

    On another server with older Apache, PHP and MySQL versions multisite WordPress with subdomains is working without any problem.

  9. elephantspike
    Member
    Posted 10 months ago #

    Weird. I wonder why there aren't like dozens of threads about this then?

    I'm wondering if it has to do with the email settings in my WHM? WHen I create a new email in cPanel and use it to register a test account, I get the emails immediately at both the test account email and the site admin email (which is also setup on the same server via cPanel). I never got an email at the admin email for the site account Ipstenu tried to set up though.

  10. Interesting... I never got an email from you (checked my spam mail too).

    I use Apache 2.2.25, PHP 5.4.19, and MySQL.... Something something.

    Also I use WHM, and I've never seen that error in the decade I've had it.

  11. damien990
    Member
    Posted 7 months ago #

    HI elephantspike

    I am getting this issue too, no activation keys link after registration!

    I just test your site register as"dream" and activate very successfully.
    I recived your email 1)for the links of activate, and 2) password

    I see your wp_signup page is different than mine, how do you work it out.

    pls adv and thanks.

    my site: http://www.damienchan.ca

  12. damien990 - What plugins are you using?

  13. damien990
    Member
    Posted 7 months ago #

    @ipstenu

    I am using User Activation Keys 3.5.1 on wordpress network multisite.
    wordpress 3.8

    My problem seem is right at the beginning:
    1) successfully registration but no activation email sent out?

    I asked the author that this is not the plugin problem, it wont stop email sent out.
    I had tried to deactivate and test it without the plugin, but the answer still the same, cannot receiving any activation email.
    I test the wp-mail() function work OK.

    would you help me?
    thanks

  14. Did this work at all for you on Single site WordPress?

    Did it work BEFORE you upgraded to 3.8 or has it always been broken?

  15. damien990
    Member
    Posted 7 months ago #

    @ipstenu

    Yes! it works sometime on single site before change to multisite network a month ago, after that, no more activation keys send out, as same as also bbpress replies thread email notification also none.

    Because of the activation not stable, so I install this "user Activtion keys" plugin help to solve this problem.

    I am wondering it may be conflict with the multisite network problem, because NO EMAIL SENT OUT FOR new user and bbpress forum reply and topic.

    I upgrade this wordpress 3.8 well after multisite installed, it is about two week ago upgraded !

  16. Okay, so you need to check your server and see if the emails are being sent out at all. Check the log for them.

    Also turn off every last plugin and see if it still happens.

  17. damien990
    Member
    Posted 7 months ago #

    I checked the wp_mail() by testing
    1) send test email by using Check Mail, it work OK
    2) add new user manually, and email will send to admin, but Not the user.
    3) test using PHP email, which also work OK
    Wordpress email system working OK.

    My server is that meaning my web hosting server? how do I check this?
    I am using Godaddy!

    Do you mean turn off last ADDED plugin, and testing activate one by one!

  18. damien990
    Member
    Posted 7 months ago #

    @ipstenu

    I had deactivate all my plugin and test the registration, It wont work at all.

    Unfortunatley, all of my site pages gone with 404error except Home Page,

    http://www.damienchan.ca

    what's wrong? My admin dashboard look OK, how do I get those pages back to my site.
    (I check the pages status which is Published on dashboard panel)

  19. damien990
    Member
    Posted 7 months ago #

    My web site pages issue solved, thanks

    Back to the email issue,
    I test it with activated with the plugins as below:
    1) buddypress
    2) bbpress

    Registration complete setup, but cannot receive activation email.

  20. My server is that meaning my web hosting server? how do I check this?
    I am using Godaddy!

    Ask GoDaddy then. You should have access to your mail logs.

  21. damien990
    Member
    Posted 7 months ago #

    Big Smile wordpress Network wp-mail(), email issue fixed finally!

    Make New Registration WP sign-up form by installing and activate [join my multisite] plugin ,which have a widget for New User Registration.
    disable Buddypress wp-registration page.
    test wp_email() feature is work OK, than deactivate [wp-mail SMTP] plugin if any!
    User activation keys email sent out
    [User set] password by "Loss password" on the Buddypress Activation Page login.
    wp-mail() send out 2nd email to new registration user for password reset.

    No email server setting or css modification has been made. I think it is the Main issue came from Change the registration request field!

Reply

You must log in to post.

About this Topic