Replies

Nov 17, 2017 8 years ago
Laurey
is a flower child
User Avatar

I was commenting a user using the new comment page (this page), and when I submitted the comment I got the "Success! Comment posted!" message.

But at the top of the page, I got some weird coding error junk or something.

Weird error Warning: Illegal string offset 'userid' in /var/app/current/profile.php on line 40 Warning: Illegal string offset 'frozen' in /var/app/current/profile.php on line 45 Warning: Illegal string offset 'userid' in /var/app/current/profile.php on line 114 Warning: Illegal string offset 'userid' in /var/app/current/profile.php on line 120 Warning: Illegal string offset 'userid' in /var/app/current/profile.php on line 132 Warning: Illegal string offset 'userid' in /var/app/current/profile.php on line 132 Warning: Illegal string offset 'userid' in /var/app/current/profile.php on line 133 Warning: Illegal string offset 'userid' in /var/app/current/profile.php on line 134 Warning: Illegal string offset 'userid' in /var/app/current/profile.php on line 137 Warning: Illegal string offset 'userid' in /var/app/current/profile.php on line 143 Warning: Illegal string offset 'username' in /var/app/current/profile.php on line 151 Warning: Illegal string offset 'username' in /var/app/current/profile.php on line 152

I'm wondering if maybe it's because I used a username in the URL instead of a user ID number (user=laurey vs user=522091)? It still seemed to work, aside from the weird text. I'm not sure if the comment actually went through or not though.

(And no, I wasn't trying to comment myself. I just used my name and ID number as an example. :))

Nov 17, 2017 8 years ago Official
Bug
User Avatar
Segfault

Fix pushed :)

🐝 ☕ bug (he/him) | your friendly neighborhood code wrangler. stay in the loop! join and check out the latest admin post highlights

Nov 17, 2017 8 years ago
Laurey
is a flower child
User Avatar

Okay thanks! I got both of the test comments you sent. So I guess it should work now if you use a username or an ID number in the URL?

Nov 17, 2017 8 years ago
Zay
made a huge mistake
User Avatar
Riza

I don't mean to be a bother, but I think whatever was fixed completely messed up the coding on my profile and I've had the same layout since I started Subeta and this is the first this has happened. Everything is mis-aligned. It looks like it all got pushed up and to the left somehow. I don't want to mess with it just yet in-case this wasn't intentional, but I just thought I'd let you know.

[edit] And if this had nothing to do with it, then silly me haha. I'll get it all worked out at some point.


Proud Gamer | My best friend is

Nov 17, 2017 8 years ago Official
Bug
User Avatar
Segfault

Yes, it should. Awesome, I'll lock this up then.

That's a result of an unrelated update and shouldn't be too hard to fix. However I have to point you to this forum if you need help fixing it, as staff can't offer official help with custom code.

🐝 ☕ bug (he/him) | your friendly neighborhood code wrangler. stay in the loop! join and check out the latest admin post highlights

Please log in to reply to this topic.