Wedge

Public area => Bug reports => The Pub => Archived fixes => Topic started by: txcas on February 19th, 2014, 08:53 PM

Title: Parse error: syntax error, unexpected '?', expecting ')'
Post by: txcas on February 19th, 2014, 08:53 PM
I am getting this when sending PMs after today's revs:
Parse error: syntax error, unexpected '?', expecting ')' in /home/creedmoo/public_html/sandbox/gz/app/PersonalMessage.php on line 331

PMs are also broken here with:
Notice: Undefined variable: txt in /home/shaitan/www/noisen/wedge/gz/app/PersonalMessage.php on line 341

Fatal error: Unsupported operand types in /home/shaitan/www/noisen/wedge/gz/app/Subs-Cache.php on line 1838
Title: Re: Parse error: syntax error, unexpected '?', expecting ')'
Post by: txcas on February 19th, 2014, 09:02 PM
Added the missing ")" but now get:
Fatal error: Unsupported operand types in /home/creedmoo/public_html/sandbox/gz/app/Subs-Cache.php on line 1838
Title: Re: Parse error: syntax error, unexpected '?', expecting ')'
Post by: Nao on February 19th, 2014, 09:29 PM
I'm not sure your latter errors are related to the former or not.

Anyway, the first error was fixed some time ago. I don't know if it was before or after you posted.

The second error is due to another error that I also fixed a few minutes ago, but haven't committed yet. Give me a couple of minutes.
Title: Re: Parse error: syntax error, unexpected '?', expecting ')'
Post by: txcas on February 19th, 2014, 10:46 PM
I applied the latest fixes and still get this error when trying PMs:
Fatal error: Unsupported operand types in /home/creedmoo/public_html/sandbox/gz/app/Subs-Cache.php on line 1838
The same thing is happening on this forum.
Title: Re: Parse error: syntax error, unexpected '?', expecting ')'
Post by: Nao on February 19th, 2014, 11:03 PM
The only errors I'm seeing on this forum, related to you, are due to Aeva Media upload attempts earlier today.

Since it's related to the cache system, and I made a last-minute change of a cache_get_data (I probably shouldn't have, but those who know me know I love doing last-minute changes before a commit... :P), I probably did a blunder here. I'll have a look now.
Title: Re: Parse error: syntax error, unexpected '?', expecting ')'
Post by: Nao on February 19th, 2014, 11:04 PM
Hopefully fixed. That was quick. :P