Previous Thread
Next Thread
Print Thread
Hop To
#266695 08/01/2025 11:20 PM
Joined: Jun 2006
Posts: 353
Enthusiast
Enthusiast
Joined: Jun 2006
Posts: 353
Hi All,

After changing the email settings I am getting this error message when clicking the control panel tab.

Can someone assist with a fix please.

Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /home/xxxx/public_html/forum/admin/dashboard.php:173 Stack trace: #0 {main} thrown in /home/xxxx/public_html/forum/admin/dashboard.php on line 173

Last edited by Outdoorking; 08/01/2025 11:22 PM.
Joined: Jun 2006
Posts: 16,532
Likes: 150
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,532
Likes: 150
The latest changes to the dashboard.php and doapproveusers.php pages can be found in this post; go ahead and see if this fixes your issue (all changes listed, including doapproveusers.php, are needed).


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Gizmo #266697 08/01/2025 11:51 PM
Joined: Jun 2006
Posts: 353
Enthusiast
Enthusiast
Joined: Jun 2006
Posts: 353
After making changes to the files in the post I am now getting this error message coming up.

This page isn’t working
www.outdoorking-forum.com.au is currently unable to handle this request.
HTTP ERROR 500

Would this be because I changed the email setting in the admin section before it all went haywire?

Last edited by Outdoorking; 08/01/2025 11:53 PM.
Joined: Jun 2006
Posts: 353
Enthusiast
Enthusiast
Joined: Jun 2006
Posts: 353
Sorry found the error that I made which was an extra { that I left when updating the file.

All seems good now.

Joined: Jun 2006
Posts: 16,532
Likes: 150
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,532
Likes: 150
Glad you got it working, I was just about to email you a copy of the files lol.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Gizmo #266701 08/03/2025 12:28 AM
Joined: Jun 2006
Posts: 353
Enthusiast
Enthusiast
Joined: Jun 2006
Posts: 353
Thank you for your assistance Gizmo it is really appreciated.


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
PHP 8 bug in membermanage.tmpl
by phoenix011235 - 09/08/2026 7:47 PM
Are any of these legitmate?
by Baldeagle - 09/06/2026 1:37 PM
After server reboot
by Morgan - 09/02/2026 8:27 AM
Email Settings
by Outdoorking - 05/13/2026 2:44 AM
Who's Online Now
1 members (Gizmo), 156 guests, and 110 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Ride safe!
Ride safe!
by Morgan, December 7
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260527)