• The forums' spoiler embargo for all content from Pokémon Legends: Z-A's Mega Dimension DLC has been lifted! Feel free to talk about the new content from the expansion across the forums without the need of spoiler tabs!

    Please note that this lifted embargo only applies for the forums, and may still be in effect on other Bulbagarden sites.

Bulbagarden Gallery pages broken

Stratelier

Well-Known Member
Joined
Oct 9, 2012
Messages
4,695
Reaction score
1,019
A community photo gallery - Bulbagarden Fanart Gallery

Okay, so it's not fatally or 100% broken, but it does look like somebody set up us the bomb.

Warning: Assigning the return value of new by reference is deprecated in /home/themozz/public_html/gallery/forums/vb3.php on line 574

Warning: Function ereg_replace() is deprecated in /home/themozz/public_html/gallery/pp-inc.php on line 2495

Warning: Function eregi_replace() is deprecated in /home/themozz/public_html/gallery/pp-inc.php on line 2498

The second and third PHP warnings are repeated (literally) hundreds of times across the entire page, in five groups of approximately 40-50 messages apiece.
 
Well, according to the PHP manual, PHP 5.3 deprecates the ereg_* functions (POSIX regular expressions) in favor of preg_* functions (PCRE regular expressions); the old functions still work but now throw an E_DEPRECATED notice.

It could be silenced by adjusting the PHP error reporting to ignore E_DEPRECATED, but that's just a workaround and doesn't fix the underlying issue that the functions may be removed in a future version of PHP.
 
Please note: The thread is from 12 years ago.
Please take the age of this thread into consideration in writing your reply. Depending on what exactly you wanted to say, you may want to consider if it would be better to post a new thread instead.
Back
Top Bottom