I have just upgraded my wiki from .28 to .34 version. The old version was using foreground as the default skin. With new version, it's giving this issue:
Fatal error: Uncaught Error: Call to undefined function wfSuppressWarnings() in /home/vikasnd/public_html/w/skins/foreground/Foreground.skin.php:60 Stack trace: #0 /home/vikasnd/public_html/w/includes/skins/SkinTemplate.php(217): foregroundTemplate->execute() #1 /home/vikasnd/public_html/w/includes/OutputPage.php(2574): SkinTemplate->outputPage() #2 /home/vikasnd/public_html/w/includes/exception/MWExceptionRenderer.php(134): OutputPage->output() #3 /home/vikasnd/public_html/w/includes/exception/MWExceptionRenderer.php(53): MWExceptionRenderer::reportHTML(Object(Error)) #4 /home/vikasnd/public_html/w/includes/exception/MWExceptionHandler.php(121): MWExceptionRenderer::output(Object(Error), 2) #5 /home/vikasnd/public_html/w/includes/exception/MWExceptionHandler.php(195): MWExceptionHandler::report(Object(Error)) #6 /home/vikasnd/public_html/w/includes/exception/MWExceptionHandler.php(167): MWExceptionHandler::handleException(Object(Error)) #7 [internal function]: MWExceptionHandler::handleUncaughtException(Object(Error)) #8 in /home/vikasnd/public_html/w/skins/foreground/Foreground.skin.php on line 60
When skin is not made default in localsettings.php, mediawiki loads without any skin and gives this message at top:
Whoops! The default skin for your wiki, defined in $wgDefaultSkin
as vector
, is not available.
Your installation seems to include the following skins. See Manual: Skin configuration for information how to enable them and choose the default.
monobook
/ MonoBook (disabled)timeless
/ Timeless (disabled)vector
/ Vector (disabled)foreground
/ foreground (enabled)
Please help in fixing. I looked if newer version of extension is available to upgrade. But couldn't find it. Thanks