MFGG Forums
  • Home
  • Members
  • Help
  • Search
MFGG Main Site MFGG Forums MFGG Suggestions v
1 2 3 4 5 6 Next »
Hide/suppress PHP warnings
MFGG Forums MFGG Suggestions v
1 2 3 4 5 6 Next »
Hide/suppress PHP warnings
MFGG Forums MFGG Suggestions v
1 2 3 4 5 6 Next »
Hide/suppress PHP warnings
Mark All Posts Read Today's Posts

Hide/suppress PHP warnings
Brazil Louis Paul
Koopa
Members
#1
03-25-2026, 07:58 PM
When I go to My Alerts a PHP warning related to a MyBB plugin is displayed above the menu. This isn't good because it impacts the user experience, and it could reveal sensitive information.

It would be best to hide or suppress the PHP warnings, and redirect any warnings and errors to a log file for further review.
[-] The following 1 user Likes Louis Paul's post:1 user Likes Louis Paul's post
  ↳ littlelum
United States VinnyVideo
Can't have an avatar without a Shy-Guy
Site Developer
Main Site Moderator Site Developer/Webmasters Wiki SysOp Big Help Submitter Super Reviewer (2) Wiki Contributor Sprite Comp Runner-Up Minigame Comp Winner Minigame Comp Runner-Up Minigame Comp Top 5 (3) Music Comp Winner Music Comp Runner-Up Music Comp Top 5 (2) Drawing Comp Top 5 Game of the Month Winner NCFC Contributor (4) Secret Santa (5) MFGG 17th Anniversary MFGG 18th Anniversary MFGG 19th Anniversary Ye Olde MFGGe Retro Game Jam Participant MFGG Awards 2010 Winner MFGG Awards 2011 Winner MFGG Awards 2012 Winner MFGG Awards 2013 Winner MFGG Awards 2014 Winner MFGG Awards 2015 Winner MFGG Awards 2017 Winner (3) MFGG Awards 2019 Winner MFGG Awards 2024 Winner
#2
03-27-2026, 03:39 PM
It's even better to fix PHP issues than to hide or suppress their warning messages.

These PHP warnings don't reveal anything sensitive, fortunately. Some MyBB plugin isn't fully compatible with PHP 8.x and throws these warnings under certain circumstances. I'm not sure whether these plugins need updating, or if we just need to deactivate/reactivate them.
Course clear! You got a card.

[Image: CourseClear.gif]

[-] The following 1 user Likes VinnyVideo's post:1 user Likes VinnyVideo's post
  ↳ Louis Paul
Brazil Louis Paul
Koopa
Members
#3
03-27-2026, 10:28 PM
(03-27-2026, 03:39 PM)VinnyVideo Wrote: It's even better to fix PHP issues than to hide or suppress their warning messages.

These PHP warnings don't reveal anything sensitive, fortunately. Some MyBB plugin isn't fully compatible with PHP 8.x and throws these warnings under certain circumstances. I'm not sure whether these plugins need updating, or if we just need to deactivate/reactivate them.

Yeah, it would be better to fix these issues, but it depends either on the MyBB plugin author updating it, or fixing it yourself and tracking the changes made on the code.

The reason I said to hide the PHP warnings (and redirecting any issues to a log file) is because I had experience with WordPress and PHP in general, and showing these warnings directly on the page isn't a good user experience for the average user.
Signature reserved for future use

  ↳
United States VinnyVideo
Can't have an avatar without a Shy-Guy
Site Developer
Main Site Moderator Site Developer/Webmasters Wiki SysOp Big Help Submitter Super Reviewer (2) Wiki Contributor Sprite Comp Runner-Up Minigame Comp Winner Minigame Comp Runner-Up Minigame Comp Top 5 (3) Music Comp Winner Music Comp Runner-Up Music Comp Top 5 (2) Drawing Comp Top 5 Game of the Month Winner NCFC Contributor (4) Secret Santa (5) MFGG 17th Anniversary MFGG 18th Anniversary MFGG 19th Anniversary Ye Olde MFGGe Retro Game Jam Participant MFGG Awards 2010 Winner MFGG Awards 2011 Winner MFGG Awards 2012 Winner MFGG Awards 2013 Winner MFGG Awards 2014 Winner MFGG Awards 2015 Winner MFGG Awards 2017 Winner (3) MFGG Awards 2019 Winner MFGG Awards 2024 Winner
#4
03-29-2026, 08:39 AM
The warning that appears in alerts.php should be fixed now.

If you'd like to be helpful, you could 1-Up one of my posts in this topic so I can verify that I don't get a warning when I open a topic containing an unread alert.

I installed an updated version of the OUGC Alerts plugin, which seemed to fix these errors. The multi-badge counters aren't displaying now, so I'll need to see why those disappeared.
Course clear! You got a card.

[Image: CourseClear.gif]

[-] The following 1 user Likes VinnyVideo's post:1 user Likes VinnyVideo's post
  ↳ littlelum
United States VinnyVideo
Can't have an avatar without a Shy-Guy
Site Developer
Main Site Moderator Site Developer/Webmasters Wiki SysOp Big Help Submitter Super Reviewer (2) Wiki Contributor Sprite Comp Runner-Up Minigame Comp Winner Minigame Comp Runner-Up Minigame Comp Top 5 (3) Music Comp Winner Music Comp Runner-Up Music Comp Top 5 (2) Drawing Comp Top 5 Game of the Month Winner NCFC Contributor (4) Secret Santa (5) MFGG 17th Anniversary MFGG 18th Anniversary MFGG 19th Anniversary Ye Olde MFGGe Retro Game Jam Participant MFGG Awards 2010 Winner MFGG Awards 2011 Winner MFGG Awards 2012 Winner MFGG Awards 2013 Winner MFGG Awards 2014 Winner MFGG Awards 2015 Winner MFGG Awards 2017 Winner (3) MFGG Awards 2019 Winner MFGG Awards 2024 Winner
#5
03-29-2026, 02:13 PM
@littlelum Thanks for 1-Upping my post. Looks like the PHP warning is no longer displaying when you click on a topic with an unread alert.
Course clear! You got a card.

[Image: CourseClear.gif]


  ↳
United States VinnyVideo
Can't have an avatar without a Shy-Guy
Site Developer
Main Site Moderator Site Developer/Webmasters Wiki SysOp Big Help Submitter Super Reviewer (2) Wiki Contributor Sprite Comp Runner-Up Minigame Comp Winner Minigame Comp Runner-Up Minigame Comp Top 5 (3) Music Comp Winner Music Comp Runner-Up Music Comp Top 5 (2) Drawing Comp Top 5 Game of the Month Winner NCFC Contributor (4) Secret Santa (5) MFGG 17th Anniversary MFGG 18th Anniversary MFGG 19th Anniversary Ye Olde MFGGe Retro Game Jam Participant MFGG Awards 2010 Winner MFGG Awards 2011 Winner MFGG Awards 2012 Winner MFGG Awards 2013 Winner MFGG Awards 2014 Winner MFGG Awards 2015 Winner MFGG Awards 2017 Winner (3) MFGG Awards 2019 Winner MFGG Awards 2024 Winner
#6
04-03-2026, 06:36 PM
Upon further review, we're still getting PHP warnings when we open topics containing unread notifications. Opening alerts.php is working fine though.

I'll probably need to refresh the sandbox environment and see if deactivating/reactivating certain plugins helps. If it doesn't, I'll need to contact the plugin developer.
Course clear! You got a card.

[Image: CourseClear.gif]

[-] The following 1 user Likes VinnyVideo's post:1 user Likes VinnyVideo's post
  ↳ Louis Paul
Brazil Louis Paul
Koopa
Members
#7
04-03-2026, 08:02 PM
I can confirm this, I opened this thread with the reply unread notification and three PHP warnings were displayed on the page about undefined variables.

When the page is refreshed, the warnings aren't displayed anymore until a new unread notification is created.
Signature reserved for future use

  ↳
« Next Oldest | Next Newest »

Users browsing this thread: 2 Guest(s)



  • View a Printable Version
Forum Jump:

Mario Fan Games Galaxy - Powered by MyBB | MFGG Staff | Contact Us

Linear Mode
Threaded Mode