Topic on Project:Support desk

Need these log problems be addressed?

2
Summary by Larrydberg

Log errors should be addressed but probably aren't causing slowdown; object cacheing is important even for low-traffic instances.

Larrydberg (talkcontribs)

MediaWiki 1.37.2, PHP 7.4.29 (litespeed), MySQL 5.6.51-cll-lve, http://horawiki.org/

Hi. I'm trying to improve the slow behavior of my wiki. I suspect the real problem is load at the hosting service (GoDaddy) but I'm grasping at every straw.

I'm currently getting lots of logged warnings, and the question is whether they should be addressed. They're of two kinds:

1) PHP Deprecated, for Title::isWatchable and User::isLoggedIn and ContentHandler::getForTitle and maybe others, called from MinervaNeue and MobileFrontEnd and maybe others.

2) PHP Notice for undefined properties stdClass::$page_namespace and stdClass::$page_title, in includes/Title.php.

Are any of these not ignorable?

BTW: I haven't set up any cacheing because the site is very low traffic: At most a few thousand hits per day (including everything) and a handful of edits per month. But I'll cheerfully go that route if it's a good idea despite the low traffic.

Thanks, as always, for your help.

Bawolff (talkcontribs)

these are probably not causing your performance issues.

However they shouldn't be happening and may indicate a buggy or out of date extension. Make sure all skins/extensions are the correct version for your version of mediawiki.

For caching - there are different types, some more helpful than others. Object caching ($wgMainCacheType) is very important, and will improve performance even on low traffic sites.