drkknght
Member
Posted 10 months ago #
in an issue that seems to have popped up in the past week (without any other changes to my site or plugins) visitors now get the following error when trying to register:
Catchable fatal error: Object of class WP_Error could not be converted to string in /nfs/c03/h06/mnt/55017/domains/toonbarn.com/html/wordpress/wp-includes/formatting.php on line 2829
this is found when using the menu-based registration that i manually added, as well as the default WordPress registration page, here: http://toonbarn.com/wordpress/wp-login.php?action=register
once the user clicks "submit" in either area, they get the above error, and the registration never processes. any ideas...?
drkknght
Member
Posted 10 months ago #
been searching around for answers on this one, but can't seem to find one that fits. the closest i've seen relates to custom taxonomies - however, i'm really only getting this error on the registration completion page, which shouldn't relate to taxonomies, right...?
drkknght
Member
Posted 9 months ago #
drkknght
Member
Posted 9 months ago #
for the record, i've tried undoing all plugins one-by-one, resetting the plugins folder via FTP, multiple browsers (IE, FF, Chrome) and switching themes to the default 2011. even just going directly to the WP default registration page for my blog:
http://toonbarn.com/wordpress/wp-login.php?action=register
all result in the same error, and inability to register :(
this is found when using the menu-based registration that i manually added
Were you able to clear out this code too when debugging? Otherwise you might consider a fresh copy of the theme or possibly a re-install of core although I would expect a fresh copy of the theme and all plugins deactivated would be the best starting point.
drkknght
Member
Posted 9 months ago #
hi edward, thanks for the response
that was my original suspicion, that the error was from the login code i hijacked.
however, the error persists even if i remove my code, and/or deactivate all plugins, switch to the clean default theme, or visit the theme-less registration URL directly:
http://toonbarn.com/wordpress/wp-login.php?action=register
I just went through the registration process without any hitches ... are you still seeing the issue yourself?
drkknght
Member
Posted 9 months ago #
hi edward
after a few more tests, sometimes i was getting the error, sometimes i was not. one of the specific ways i was able to duplicate the error was when trying to use the same email address more than once. i believe i have that option allowed in my WP settings, but maybe that is a clue to why the error occurs in the first place
To the best of my knowledge you are only allowed unique email addresses in an installation. That being the case I would suspect your issue is coming from trying to use duplicate emails.
drkknght
Member
Posted 9 months ago #
hi EC - i agree, there's definitely a correlation between the two. however, this shouldn't result in a broken page type error, right? i mean, a simple "duplicate emails are not allowed" message would be a lot less jarring to someone who accidentally did so
Better error catching may be in order, you might consider putting a ticket in on this matter; or adding an error catching routine into the custom code you are using.
Team Webgalli
Member
Posted 8 months ago #
The error happens when you are registering with a duplicate email. The system should report it in a proper way. Probably a bug and we need to create a ticket.
drkknght
Member
Posted 8 months ago #
fair enough :) thanks guys!
how does one start a ticket...?
http://core.trac.wordpress.org/
Lots of good links and information on that page ... make sure to read through most of them.