DIR Return Create A Forum - Home
---------------------------------------------------------
Create A Forum - Support Forums
HTML https://support.createaforum.com
---------------------------------------------------------
*****************************************************
DIR Return to: Bugs
*****************************************************
#Post#: 26747--------------------------------------------------
Bug: “syntax error, unexpected variable "$last_online"
” on Membergroups edit page
By: hungphuong04 Date: November 15, 2025, 5:35 pm
---------------------------------------------------------
Hi CreateAForum Team,
I’m encountering a PHP syntax error on my forum when trying to
access:
(
HTML https://thevbi.createaforum.com/index.php?action=admin;area=membergroups)
**Admin → Membergroups → Edit Membergroup**
The error displayed is:
syntax error, unexpected variable "$last_online"
markdown
Copy code
Additional details:
- Forum URL:
`
HTML https://thevbi.createaforum.com/index.php?action=admin;area=membergroups`<br
/>
- I have not installed any custom mods or themes recently.
- I did not inject any custom PHP code into header/footer or
other templates.
- I have tried:
1. Clearing the file cache (via Admin → Maintenance)
2. Resetting to the default theme
3. Switching the board language (Vietnamese ↔ English)
- The issue persists after all these attempts.
**What I suspect:** It seems like `$last_online` is being
referenced in a template or backend PHP file (possibly in
`Subs-Membergroups.php` or a similar core file), but in a way
that's syntactically incorrect.
**Request:** Could you please investigate this issue on the
server side and fix the template or PHP code that is causing
this error?
Thank you for your support.
Best regards,
[Hung Pham / Forum Admin, email: truongkinhthanhchovn@gmail.com]
(thevbi.createaforum.com)
#Post#: 26749--------------------------------------------------
Re: Bug: “syntax error, unexpected variable "$last_online&q
uot;” on Membergroups edit page
By: CreateAForum Date: November 15, 2025, 7:23 pm
---------------------------------------------------------
Fixed!
*****************************************************