Closed (fixed)
Project:
LoginToboggan
Version:
7.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Sep 2011 at 13:05 UTC
Updated:
17 Jun 2018 at 23:19 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
dlthomas commentedIt mentioned on a v6 extension to logintoboggan that it has had incompatibilities with other modules in the past due to what it does.
I will aim to test it against my other modules individually to attempt to find out if that could be causing it. I'll report back with that soon.
Are there any known incompatibilities that could be causing this?
Comment #2
hunmonk commenteda stack trace would help.
Comment #3
hockey2112 commentedI am having the same exact issue when users try to register on my D7 website. The message is:
Fatal error: Unsupported operand types in common.inc on line 2287
Any ideas on what might be wrong and how I an fix it? I am not using clean URLs at the moment as I am developing a new website to replace an existing one, and am developing it on the IP address of the new server (in case that matters).
Thanks!
Comment #4
rooby commentedTo debug this, just before the line in common.inc that causes the problem, add this:
Then refresh the page where you get the error.
Copy the output to a txt file and post it here.
Comment #5
hockey2112 commentedOK, here it is:
Comment #6
hockey2112 commentedSorry, here is the txt attachment.
Comment #7
hockey2112 commentedThe "node/add/photo-gallery-image" path is the redirect I have set up in LoginToboggan. I believe my error was the fact that I had the entire url in that redirect field, instead of just the "node/add/photo-gallery-image" path. Once I changed it to "node/add/photo-gallery-image", my problem was solved. Thanks!
Comment #8
rooby commentedThanks for the info.
The problem is when you enter any URL that has a query string.
The parse_url function returns a string but the url function requires an array for the query.
The solution is to use drupal_parse_url() which accounts for this and also accounts for the q parameter actually being the path.
This patch should fix it.
Comment #9
j0rd commentedTested patch #8, works as expected and prevents a fatal error.
This should be committed asap.
Comment #10
j0rd commentedChange status.
Comment #10.0
j0rd commentedCorrection
Comment #11
dooug commentedImproved title & summary for clarity.
Comment #12
dooug commentedComment #13
dooug commentedComment #16
yktdan commentedPatch #8 does not seem to have been applied to current version 7.x-1.5 (examined the code) and have the bug when I redirect to a path like www.example.com/?participant
It is fixed in the dev version. Please generate a 7.x-1.6. I don't like to run dev versions on production.
Comment #17
rooby commented@yktdan:
It's not in 1.5 because it was committed after 1.5 was released.
If you want to talk about the 1.6 release you want this issue: #2481487: LoginToboggan 7.x-1.6 Release Roadmap